/* V4 shared imagery and cream/gold account surfaces. */
.prize-image-v4{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 4px 3px #9c732019)}
.cash-envelope .cash-envelope-value,.joy-row.cash .cash-envelope .cash-envelope-value{font-size:var(--amount-size,15cqw);left:25%;width:48%;max-width:48%;letter-spacing:-.3px;box-sizing:border-box;overflow:hidden;padding:2px 0 5px;top:38%;line-height:1.2;text-shadow:0 1px #fff7bf,0 2px #a26d13}
.record-picture .cash-envelope-type,.record-picture .cash-envelope-caption{display:none}
.joy-tab-icon.joy-tab-cash{background:url('assets/red-envelope-3d.svg') center/contain no-repeat!important;filter:drop-shadow(0 2px 1px #b37c2428)}
.heading-art{display:inline-flex!important;width:34px!important;height:34px!important;align-items:center}.heading-art .member-icon{width:34px;height:34px;margin:0}.heading-envelope{width:32px;height:35px;object-fit:contain;vertical-align:middle}.cash-heading>b{display:flex;align-items:center;gap:4px}.joy-caption .joy-demo{background:none;border:0;box-shadow:none;padding:0;border-radius:0;color:#aa916b;font-size:10px}
.home-prize-photo .prize-image-v4{padding:7px}.reference-winner .winner-name b{white-space:normal;line-height:1.5;min-height:30px;display:block;font-size:11px}.joy-picture .prize-image-v4{padding:3px}
.v4-page{padding:18px 16px 28px;color:#805d2b;background:radial-gradient(ellipse at top right,#fff0c4,transparent 42%),#faf8f2;min-height:80vh}.v4-hero{text-align:center;padding:9px 0 20px}.v4-hero small{display:block;font-size:9px;letter-spacing:2.5px;color:#b49a6b}.v4-hero h1{font-size:25px;margin:10px 0;letter-spacing:1px}.v4-hero p{font-size:11px;color:#a08a67;line-height:1.8;margin:8px 0}.v4-hero>.member-icon{display:block;width:70px;height:70px;margin:0 auto 12px}
.v4-tabs{display:flex;gap:7px;margin:0 0 20px}.v4-tabs button{flex:1;min-width:0;padding:11px 3px;font-size:11px;border:1px solid #e5d4ad;background:linear-gradient(#fffefa,#fff9ec);border-radius:12px;color:#9b8053;box-shadow:0 2px 0 #ece0c6}.v4-tabs button.selected{background:linear-gradient(#fff1bd,#efca73);border-color:#d7ad56;box-shadow:0 3px 0 #c69e4d,inset 0 1px #fff6d6;color:#79511a;font-weight:700}.v4-tabs button:focus-visible,.v4-remove:focus-visible{outline:2px solid #956b27;outline-offset:3px}
.v4-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 11px;margin-bottom:24px}.v4-catalog article{border:1px solid #e9dabc;border-radius:18px;background:linear-gradient(140deg,#fffefb,#fffaf0);box-shadow:0 4px 0 #eee2c9;padding:12px 9px 15px;text-align:center;min-width:0}.v4-prize-picture{height:138px;max-width:150px;margin:0 auto 8px;display:flex;align-items:center;justify-content:center}.v4-prize-picture .cash-envelope{max-width:126px}.v4-catalog h2{font-size:13px;line-height:1.6;margin:6px 0;min-height:40px;overflow-wrap:anywhere}.v4-catalog small{font-size:9px;letter-spacing:1px;color:#b99654}.v4-catalog p,.v4-catalog article>span{font-size:10px;color:#a5906c;margin:5px 0}.v4-rules{padding:18px;border:1px solid #e5d2a8;border-radius:18px;background:#fff9e9}.v4-rules h2{font-size:16px;margin:0 0 10px}.v4-rules p{font-size:11px;line-height:1.9;color:#9a8057}.v4-remove{border:1px solid #e6d1aa;border-radius:9px;padding:8px 12px;background:#fff5df;color:#b78344;font-size:11px}.v4-empty{text-align:center;padding:28px 12px;color:#a28a63}.v4-empty .member-icon{width:80px;height:80px;margin:auto}.v4-empty h2{font-size:17px}.v4-empty p{font-size:12px;line-height:1.8}
.dialog.v4-shell{padding:0;border:1px solid #d8b56c;border-radius:24px;background:linear-gradient(145deg,#fffdf7,#fff5dd);box-shadow:0 7px 0 #b68d45,0 20px 60px #533d3a33;max-height:90dvh;overflow:auto;text-align:left}.v4-dialog{padding:24px 19px;color:#7d5828}.v4-dialog header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:22px}.v4-dialog header small{font-size:8px;letter-spacing:2px;color:#b69c6b}.v4-dialog h2{font-size:19px;margin:8px 0}.v4-dialog header>button{font-size:24px;border-radius:50%;width:33px;height:33px;background:#f6e5bc;border:1px solid #e2ca92;flex-shrink:0;color:#9b7739}.v4-dialog label{display:block;font-size:12px;color:#987a48;margin-bottom:16px;text-align:left}.v4-dialog .field{margin:7px 0 0;border:1px solid #dfc690;border-radius:12px;background:#fffdf7;box-shadow:inset 0 2px 4px #9d762610;width:100%;font-size:16px;padding:13px;box-sizing:border-box}.v4-dialog .field:focus{outline:2px solid #dfbd6d;outline-offset:1px}.v4-note{font-size:12px;color:#ad946b;margin:-7px 0 23px}.v4-history{max-height:48dvh;overflow:auto;margin-bottom:18px;overscroll-behavior:contain}.v4-history article{background:#fffdf7;border:1px solid #ecdfc2;border-radius:13px;padding:14px;margin:0 0 10px}.v4-history article>div{display:flex;justify-content:space-between;gap:10px;font-size:12px;align-items:baseline}.v4-history strong{color:#b88729;font-size:15px;overflow-wrap:anywhere}.v4-history strong.debit{color:#9c7960}.v4-history article p{font-size:11px;color:#a28d6a;line-height:1.6;margin:7px 0;overflow-wrap:anywhere}.v4-history article>span{font-size:10px;color:#a07934;background:#fbefce;border-radius:5px;padding:4px 7px}.v4-dialog .gold-primary{width:100%}
@media(max-width:360px){.v4-prize-picture{height:116px}.v4-tabs{gap:5px}.v4-tabs button{font-size:10px}.v4-dialog{padding:20px 13px}.v4-hero h1{font-size:22px}}
