/* The collectible shop is separate from the real shared shopping list. */
#moreCrystalShop{padding:0 15px 36px; color:var(--rl-text,var(--chat-heading,#372d52));}
#moreCrystalShop[hidden]{display:none!important}
.crystal-hero{position:relative;overflow:hidden;border:1px solid #e8dcff;border-radius:24px;background:linear-gradient(125deg,#f7f0ff 0%,#ebeeff 58%,#dceaff 100%);padding:24px 22px;margin:8px 0 18px;box-shadow:0 14px 34px rgba(89,67,146,.08)}
.crystal-hero:after{content:"";position:absolute;right:-45px;top:-65px;width:240px;height:240px;border-radius:50%;background:radial-gradient(circle,#c9aeff99,transparent 71%);pointer-events:none}
.crystal-eyebrow{display:block;color:#74589b;font:800 11px/1.4 system-ui;letter-spacing:.17em;text-transform:uppercase}
.crystal-hero h2{font:800 clamp(24px,5vw,36px)/1.18 system-ui;margin:8px 0;color:#3f306b}
.crystal-hero p{font:500 14px/1.5 system-ui;max-width:38rem;color:#65557b}
.crystal-wallet{display:inline-flex;gap:12px;align-items:center;border-radius:17px;background:#ffffffde;padding:12px 20px;margin:12px 0 6px;box-shadow:0 5px 25px #5a4b9a22;color:#49347b}
.crystal-wallet .crystal-gem{font-size:27px}
#crystalBalance{font:800 27px/1 system-ui;font-variant-numeric:tabular-nums}
.crystal-note{font:600 12px/1.5 system-ui;color:#625080}
#crystalStatus{font:600 13px/1.45 system-ui;color:#66568c;min-height:19px;margin:4px 0 15px}
#crystalStatus.is-error{color:#b6435b}
.crystal-tabs{display:flex;gap:7px;overflow-x:auto;padding:3px 0 15px;scrollbar-width:none}
.crystal-tabs button{flex:0 0 auto;border:1px solid #e1d8ee;background:var(--app-bg,#fff);color:var(--rl-text,#63587a);padding:9px 14px;border-radius:999px;font-size:13px;font-weight:700;min-height:42px;box-shadow:none}
.crystal-tabs button[aria-pressed="true"]{border-color:#9b7ecc;background:#7259ab;color:#fff}
.crystal-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px}
.crystal-product{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #e9e0f5;border-radius:20px;background:var(--app-surface,#fff);box-shadow:0 6px 20px rgba(59,37,105,.08)}
.crystal-art{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;height:120px;background:#f1eaff}
.crystal-art--cover img{width:100%;height:100%;object-fit:cover}
.crystal-art--avatar img{height:98px;width:98px;border-radius:50%;box-shadow:0 8px 20px #66518a3b}
.crystal-art--emoji{background:linear-gradient(145deg,#f2eaff,#eeeefb);gap:2px}
.crystal-art--emoji img{width:36px;height:36px;object-fit:contain}
.crystal-art--theme span{font-size:46px;filter:drop-shadow(0 6px 14px #241d4440)}
.crystal-art[data-crystal-theme="theme-lilac"]{background:radial-gradient(circle at 70% 30%,#fae1ff,transparent 55%),linear-gradient(130deg,#bba2e2,#e9d6f8)}
.crystal-art[data-crystal-theme="theme-mint"]{background:radial-gradient(circle at 70% 30%,#dcfff3,transparent 55%),linear-gradient(130deg,#88c9b5,#c3e4ef)}
.crystal-art[data-crystal-theme="theme-night"]{background:radial-gradient(circle at 70% 30%,#9a86cb,transparent 55%),linear-gradient(130deg,#242554,#61518e)}
.crystal-product-copy{padding:13px 14px 7px;flex:1}
.crystal-product h3{font:800 15px/1.25 system-ui;color:var(--rl-text,#473866);margin:0 0 6px}
.crystal-product p{font:500 12px/1.35 system-ui;color:var(--chat-muted,#78718e);margin:0}
.crystal-product-controls{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:8px 12px 13px}
.crystal-price{font:800 13px system-ui;white-space:nowrap;color:#7752ae}
.crystal-action{border:0;border-radius:11px;background:#745cb6;color:white;padding:9px 10px;font:800 12px system-ui;min-height:40px;box-shadow:none}
.crystal-action:disabled{background:#e8e1f2;color:#6e6282}
.crystal-action:not(:disabled):hover{background:#6044a2}
body[data-shop-theme="theme-lilac"] #pane-chat{background:linear-gradient(145deg,#f3eafb,#efe4f6 60%,#faf5ff)!important}
body[data-shop-theme="theme-mint"] #pane-chat{background:linear-gradient(145deg,#e5f5ef,#f0fbf6 60%,#d5ebe7)!important}
body[data-shop-theme="theme-night"] #pane-chat{background:linear-gradient(145deg,#39345f,#50456c 60%,#322e5e)!important}
@media(max-width:480px){#moreCrystalShop{padding-inline:10px}.crystal-hero{padding:17px}.crystal-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.crystal-art{height:110px}.crystal-art--emoji img{width:26px;height:26px}.crystal-product-copy{padding:10px 10px 4px}.crystal-product-controls{padding:8px;flex-wrap:wrap}.crystal-action{flex:1}}
@media(max-width:340px){.crystal-products{grid-template-columns:minmax(0,1fr)}}
