/* Profile only. A real coupon moves between the detail dock and a poker fan;
   the opaque shop action covers the lower half of the remaining cards. */
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"]:has([data-coupon-draw]){overflow:clip}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"]:has([data-coupon-draw]) .sheet-content{flex:none;overflow:visible}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"]:has([data-coupon-draw]) .sheet-footer{position:relative;z-index:50;margin-top:-14px;padding:0;background:transparent}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"]:has([data-coupon-draw] .cwallet-pocket[hidden]) .sheet-footer{margin-top:14px}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw]{padding:0;color:var(--coupon-ink)}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-available{display:inline-flex;margin:0 0 5px;padding:2px 7px;border-radius:6px;background:#fff0df;color:var(--coupon-accent);font-size:10px;font-weight:550;line-height:1.5}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-detail{position:relative;min-height:172px;max-height:min(260px,calc(100dvh - 278px));overflow:auto;scrollbar-width:thin}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw].is-drawing .cwallet-draw-detail{overflow:visible}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-detail [data-coupon-title-long] .cwallet-ticket-head{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:7px 12px;padding:18px}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-detail [data-coupon-title-long] .cwallet-face{grid-column:1;grid-row:1}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-detail [data-coupon-title-long] .cwallet-title{display:contents}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-detail [data-coupon-title-long] .cwallet-available{grid-column:2;grid-row:1;justify-self:end}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-detail [data-coupon-title-long] .cwallet-title h3{grid-column:1/-1;grid-row:2;font-size:14px;line-height:1.6}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-detail [data-coupon-title-long] .cwallet-title p{grid-column:1/-1;grid-row:3;margin:0}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-card{display:block;position:relative;box-sizing:border-box;width:100%;margin:0;padding:0;border:0;border-radius:22px;background:transparent;box-shadow:none;color:inherit;font:inherit;text-align:left;cursor:pointer;touch-action:manipulation;transform-origin:50% 50%;z-index:30}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-card:focus-visible{outline:2px solid #fff5e6;outline-offset:-3px}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-expiry{display:none}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-index{display:none}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-pocket{position:relative;isolation:auto;margin:16px 0 0;padding:0;border:0;border-radius:0;background:transparent}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-pocket::before{content:none}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-pocket-heading{margin:0 4px 2px;color:#fff6ec;min-height:24px}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-pocket-heading small{margin-left:auto;color:#f3e0cf;font-size:11px}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-fan{position:relative;height:112px;overflow:visible;--fan-step:clamp(14px,5vw,22px)}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-fan .cwallet-draw-card{position:absolute;left:50%;top:14px;width:64%;height:164px;border-radius:16px;transform-origin:50% 115%;transform:translateX(calc(-50% + var(--fan-position,0)*var(--fan-step))) rotate(var(--fan-angle,-7deg));z-index:var(--fan-layer,10)}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-fan .cwallet-draw-card[data-fan-single="true"]{width:78%}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-fan .cwallet-ticket{height:100%;border:1px solid #e5c6a7;border-radius:16px;overflow:hidden;filter:drop-shadow(0 4px 9px #3b271d26)}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-fan .cwallet-ticket-head{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:4px;min-height:0;height:128px;padding:10px 14px;background:#fff7ed;border-radius:0;mask-image:none}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-fan .cwallet-face{flex:none}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-fan .cwallet-face>span{margin:0 0 1px;font-size:9px}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-fan .cwallet-face>strong{font-size:25px;letter-spacing:-.6px;line-height:1.15;white-space:nowrap}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-fan .cwallet-title{display:flex;flex-direction:column;flex:none;gap:3px;min-width:0}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-fan .cwallet-title h3{margin:0;font-size:11px;line-height:1.5;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-fan .cwallet-title p{order:-1;margin:0;font-size:10px;line-height:1.5}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-fan .cwallet-available{display:none}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-fan .cwallet-ticket-body{height:36px;box-sizing:border-box;padding:7px 14px;background:#fff7ed;border-radius:0;mask-image:none}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-fan .cwallet-expiry strong{font-size:9px}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-fan .cwallet-expiry time{display:none}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-fan .cwallet-draw-expiry{position:absolute;top:10px;right:12px;display:block;max-width:70px;color:#a37a54;font-size:9px;line-height:1.5;z-index:1}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-fan [data-fan-corner="right"] .cwallet-face{text-align:right}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-fan [data-fan-corner="right"] .cwallet-draw-expiry{left:12px;right:auto}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-fan .cwallet-face>span{display:none}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-fan .cwallet-face>strong{visibility:hidden;height:36px}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-fan .cwallet-draw-index{position:absolute;left:10px;top:9px;display:grid;justify-items:start;gap:0;color:var(--coupon-accent);z-index:2;line-height:1.1}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-fan .cwallet-draw-index small{font-size:9px;line-height:1.2}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-fan .cwallet-draw-index strong{font-size:18px;line-height:1.2;letter-spacing:-.6px;font-variant-numeric:tabular-nums}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-fan .cwallet-draw-index[data-amount-long] strong{font-size:12px;letter-spacing:-.3px}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-fan [data-fan-corner="right"] .cwallet-draw-index{left:auto;right:10px;justify-items:end}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-fan [data-fan-single="true"] .cwallet-draw-index strong{font-size:23px}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-paging{display:flex;align-items:center;gap:5px;font-size:10px;color:#fff6ec}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-paging button{display:grid;place-items:center;width:25px;height:25px;padding:0;border:1px solid #ffffff3d;border-radius:50%;background:#ffffff1a;color:#fff6ec;font-size:19px;line-height:1}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-draw-paging button:disabled{opacity:.35}
body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] :is(.cwallet-pocket,.cwallet-draw-card,.cwallet-draw-paging)[hidden]{display:none}
@media(max-width:350px){body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-pocket-heading{gap:7px}body[data-client-approved="v1"] #sheet.mobile-sheet[data-dialog-kind="coupons"] [data-coupon-draw] .cwallet-pocket-heading small{font-size:10px}}
