.stars { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--gold-soft); border: 1px solid var(--gold); font-weight: 800; }
.tabs { margin-bottom: 12px; }
.optbar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cur { font-weight: 700; color: var(--muted); font-size: 0.9rem; }
.cur select { font: inherit; color: var(--ink); background: var(--surface-2); border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 6px 10px; margin-left: 6px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 12px; }
.meter { display: flex; justify-content: center; gap: 6px; margin-bottom: 10px; }
.meter i { width: 14px; height: 14px; border-radius: 50%; background: var(--line); }
.meter i.done { background: var(--green); }
.meter i.now { background: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.q { text-align: center; font: 600 clamp(1.1rem, 3.6vw, 1.45rem) var(--font-head); margin: 6px 0 12px; }
.tip, .live { text-align: center; color: var(--muted); }
.live { font-weight: 800; color: var(--ink); min-height: 1.4em; }

/* money */
.money { display: inline-grid; place-items: center; font: 800 0.95rem var(--font); color: #3a2a00; user-select: none; box-shadow: 0 3px 0 rgba(0, 0, 0, 0.25), inset 0 2px 0 rgba(255, 255, 255, 0.5); }
.coin { width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe9a8, #e0b24a 60%, #b8862a); border: 3px solid #c99a35; }
.coin.v1, .coin.v5, .coin.v10 { width: 46px; height: 46px; background: radial-gradient(circle at 35% 30%, #ffd2b0, #c97a4a 60%, #9a5530); border-color: #a8623a; color: #3a1a0a; }
.coin.v20, .coin.v50 { width: 52px; height: 52px; background: radial-gradient(circle at 35% 30%, #ffffff, #c9ced6 60%, #9aa1ac); border-color: #a9b0bb; color: #1f2430; }
.coin.v200 { width: 64px; height: 64px; background: radial-gradient(circle at 35% 30%, #ffffff, #c9ced6 45%, #e0b24a 46%, #b8862a); }
.note { width: 112px; height: 58px; border-radius: 8px; font-size: 1.1rem; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); border: 3px solid rgba(255, 255, 255, 0.5); }
.note.v500 { background: linear-gradient(135deg, #3fb37a, #1f7a50); }
.note.v1000 { background: linear-gradient(135deg, #4a8be8, #2a5cb0); }
.note.v2000 { background: linear-gradient(135deg, #a77be8, #6a40b8); }
.note.v5000 { background: linear-gradient(135deg, #e88a4a, #b8562a); }
.tray, .wallet, .basket { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; padding: 14px; border-radius: 18px; min-height: 90px; }
.tray { background: color-mix(in srgb, var(--gold) 12%, var(--surface)); border: 2px dashed var(--gold); max-width: 720px; margin: 0 auto; }
.tray.big { border-style: solid; }
.wallet { margin-top: 12px; background: var(--surface); border: 1px solid var(--line); }
.empty { color: var(--muted); font-weight: 700; }
.pay, .back { padding: 0; border: 0; background: none; cursor: pointer; touch-action: manipulation; border-radius: 12px; }
.pay:active .money, .back:active .money { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); }
.sumline { text-align: center; font-weight: 700; margin: 8px 0 0; }
.sumline b { font: 600 1.4rem var(--font-head); }
.item { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 4px; }
.item .ie { font-size: 3.6rem; }
.tag { padding: 6px 14px; border-radius: 10px; background: #fff7d6; color: #3a2a00; font: 600 1.6rem var(--font-head); box-shadow: 0 3px 0 rgba(0, 0, 0, 0.2); transform: rotate(-4deg); }
.cust { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 480px; margin: 14px auto 0; }
.choice { font: 600 1.4rem var(--font-head); padding: 14px; border-radius: 16px; border: 2px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; }
.choice:hover { border-color: var(--gold); }
.choice.right { background: #2fbf71; border-color: #2fbf71; color: #fff; }
.choice.wrong { border-color: var(--red); opacity: 0.55; }
/* shopping trip */
.budget { display: flex; align-items: baseline; justify-content: center; gap: 10px; font-weight: 800; color: var(--muted); }
.budget b { font: 600 2rem var(--font-head); color: var(--green); }
.shop { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.shelf { display: grid; justify-items: center; gap: 2px; padding: 12px 8px; border-radius: 16px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; text-transform: capitalize; }
.shelf .ie { font-size: 2.4rem; }
.shelf b { font: 600 1.15rem var(--font-head); color: var(--gold); }
.shelf:hover { border-color: var(--gold); }
.bh { margin: 16px 0 6px; font-size: 1.1rem; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.bh span { font: 700 0.95rem var(--font); color: var(--muted); }
.bh b.over { color: var(--red); }
.basket { background: var(--surface-2); border: 1px solid var(--line); justify-content: flex-start; }
.inb { font: 700 1rem var(--font); padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; }
.done { text-align: center; padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); max-width: 480px; margin: 0 auto; }
.done .big { font-size: 4rem; margin: 0; }
.starsrow { font-size: 1.8rem; min-height: 1.2em; }
@media (max-width: 520px) { .coin { width: 50px; height: 50px; } .note { width: 96px; height: 52px; } }
