/* Viewing rewards: reference-inspired orange envelopes on the existing black-gold player. */
.fx-head .fx-gifts-entry{color:#ffe2a5;border-color:#ffad5766;background:#e5712426}
.fx-redpacket-slot{position:absolute;z-index:5;left:0;top:0;right:auto;pointer-events:none;width:72px;touch-action:none;user-select:none;-webkit-user-select:none;transform:translate3d(0,0,0)}
.fx-redpacket-slot.is-dragging{will-change:transform}
.fx-redpacket-slot[hidden]{display:none}
.fx-redpacket-slot button{pointer-events:auto;touch-action:none;-webkit-tap-highlight-color:transparent}
.fx-rp-float{display:flex;align-items:center;flex-direction:column;width:72px;padding:0;border:0;background:transparent;color:#fff0c8;font:11px/1.5 system-ui,sans-serif;text-shadow:0 1px 4px #0007}
.fx-rp-orbit{position:relative;display:block;width:58px;height:58px;border-radius:50%;background:conic-gradient(from -90deg,#ffe08a var(--fx-rp-progress,0%),#ffffff20 0)}
.fx-rp-orbit::before{content:"";position:absolute;inset:3px;border-radius:50%;background:#292626}
.fx-rp-amount{position:absolute;top:5px;left:0;right:0;text-align:center;color:#ffe08f;font-size:11px;font-weight:600}
.fx-rp-envelope{position:absolute;bottom:6px;left:14px;width:30px;height:26px;border:1px solid #ffbc75;border-radius:5px;background:linear-gradient(140deg,#ff9745,#ff554d);overflow:hidden}
.fx-rp-envelope>span{position:absolute;left:-1px;right:-1px;top:-2px;height:18px;border-radius:0 0 50% 50%;border-bottom:1px solid #ffedb3;background:linear-gradient(140deg,#ffa04b,#ff7348)}
.fx-rp-envelope>b{position:absolute;top:10px;left:9px;display:grid;place-items:center;width:11px;height:11px;border:1px solid #fff0be;border-radius:50%;color:#fff1c6;background:#ffc75f;font:600 7px/1 Georgia,serif}
.fx-rp-float>strong{position:relative;z-index:1;margin-top:-7px;min-height:28px;width:72px;padding:5px 2px;border-radius:15px;color:#fff7e8;background:linear-gradient(#ff973d,#ff6a2b);font-size:11px;font-weight:600;text-shadow:none;white-space:nowrap;box-shadow:0 3px 7px #0002}
.fx-rp-float>small{display:none}
.fx-rp-float.is-ready .fx-rp-envelope{box-shadow:0 0 15px #ffb75180}
.fx-rp-loading{border:1px solid #ffac6b88;border-radius:16px;padding:9px;color:#ffe6c5;background:#3e2a19;font:12px system-ui,sans-serif;min-height:44px}
.fx-root[data-fx-compact=true] .fx-rp-float{transform:none}
.fx-root[data-fx-landscape=true] .fx-redpacket-slot,body.fx-wide-active .fx-redpacket-slot{display:none}
.fx-rp-dialog{width:min(318px,calc(100vw - 28px));max-width:318px;max-height:min(76dvh,620px);margin:auto;padding:0 0 12px;overflow:auto;border:1px solid #695133;border-radius:17px;color:#f0e4cd;background:#15120e;font:13px/1.5 system-ui,sans-serif;box-shadow:0 14px 70px #0008}
.fx-rp-dialog *{box-sizing:border-box}
.fx-rp-dialog::backdrop{background:#000a;backdrop-filter:blur(4px)}
.fx-rp-dialog-bar{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;padding:3px 8px 3px 13px;color:#e7c88e;background:#18140ff7;border-bottom:1px solid #66503055}
.fx-rp-dialog-bar>strong{font-size:14px;font-weight:500}
.fx-rp-dialog-bar>button{min-width:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:#cbb99a;font-size:27px}
.fx-rp-summary{position:relative;padding:12px 13px 14px;background:radial-gradient(ellipse at 100% 0%,#ffbc6644,transparent 60%),linear-gradient(130deg,#ffefdf,#fff5e6);color:#583825}
.fx-rp-summary::after{content:"◆";position:absolute;right:21px;top:21px;display:grid;place-items:center;width:33px;height:33px;border:3px solid #ffe1a1;border-radius:50%;background:linear-gradient(135deg,#ffe9a1,#ffbd55);color:#fff5d4;box-shadow:5px 5px 0 -1px #ffcf7d;transform:rotate(-15deg)}
.fx-rp-summary>small{font-size:11px;color:#a3734a;letter-spacing:.08em}
.fx-rp-summary>h2{font-size:17px;font-weight:500;margin:6px 27px 3px 0;color:#553322}
.fx-rp-summary>p{font-size:11px;margin:0 0 9px;color:#a27c59}
.fx-rp-summary>div{font-size:12px;color:#a36c3d}
.fx-rp-summary strong{font-size:20px;color:#f27e2c;font-weight:500;margin:0 4px;font-variant-numeric:tabular-nums}
.fx-rp-initial{padding:14px 17px;border-bottom:1px solid #67503455;background:#251d12}
.fx-rp-initial>strong{color:#efcc8b;font-size:14px;font-weight:500}
.fx-rp-initial>p{color:#cbbba2;font-size:12px;margin:7px 0}
.fx-rp-initial>span{color:#f2d59b;font-size:12px}
.fx-rp-daily{padding:12px 11px 0}
.fx-rp-daily-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:13px}
.fx-rp-daily-heading>strong{font-size:14px;font-weight:500;color:#f3deb9}
.fx-rp-daily-heading>span{font-size:11px;color:#bba98d}
.fx-rp-tickets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.fx-rp-ticket{min-width:0;text-align:center}
.fx-rp-ticket>small{display:block;margin-bottom:8px;font-size:11px;color:#c7b596;white-space:nowrap}
.fx-rp-ticket>div{position:relative;isolation:isolate;display:flex;align-items:center;flex-direction:column;width:100%;height:128px;border:1px solid #ffa44d;border-radius:11px;background:linear-gradient(135deg,#ffb45a,#ff7b2c 45%,#ff6650);overflow:hidden}
.fx-rp-ticket>div::before{content:"";position:absolute;z-index:-1;left:3px;right:3px;top:0;height:82px;border:1px solid #ffe8ba;border-top:0;border-radius:9px 9px 45% 45%/10px 10px 20% 20%;background:linear-gradient(140deg,#fff6e8,#ffebcf);box-shadow:0 4px 0 #ffcc75}
.fx-rp-ticket>div>strong{margin-top:6px;color:#e87f36;font-size:23px;font-weight:500;font-variant-numeric:tabular-nums}
.fx-rp-ticket>div>span{color:#b1845d;font-size:11px}
.fx-rp-ticket>div>b{position:absolute;top:54px;left:calc(50% - 11px);display:grid;place-items:center;width:22px;height:22px;border:2px solid #ffe6a1;border-radius:50%;background:linear-gradient(135deg,#ffce73,#ffa03d);color:#fff2c9;font-size:11px;font-weight:500}
.fx-rp-ticket>div>button{position:absolute;left:0;right:0;bottom:0;min-height:44px;width:100%;padding:8px 2px;border:0;background:transparent;color:#fff8ee;font:12px/1.5 system-ui,sans-serif;touch-action:manipulation}
.fx-rp-ticket>div>button:not(:disabled){background:linear-gradient(#ff773f,#ff654b);font-weight:600}
.fx-rp-ticket.is-claimed>div{filter:saturate(.55);opacity:.8}
.fx-rp-ticket>p{font-size:11px;color:#efddbd;margin:8px 0}
.fx-rp-pending,.fx-rp-rules,.fx-rp-history{margin:9px 13px;color:#bdac92;font-size:12px}
.fx-rp-pending h3{font-size:14px;font-weight:500;color:#efd8b3}
.fx-rp-pending>div{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:6px 0}
.fx-rp-pending button{border:1px solid #fe9c4b;border-radius:9px;min-width:58px;min-height:44px;padding:5px 12px;background:#ff7b31;color:#fff8ee;font:12px system-ui,sans-serif}
.fx-rp-rules summary,.fx-rp-history summary{min-height:36px;padding:7px 0;color:#dec39a}
.fx-rp-history>div{padding:5px 0;border-bottom:1px solid #69533544}
.fx-rp-error{color:#ffc28e;font-size:12px;margin:12px 17px}
.fx-rp-back{display:block;width:calc(100% - 34px);min-height:44px;margin:0 17px;padding:10px;border:0;border-radius:10px;color:#fff8eb;background:linear-gradient(135deg,#ff9a40,#ff692e);font:14px system-ui,sans-serif}
@media(max-width:360px){.fx-rp-tickets{gap:7px}.fx-rp-summary>h2{font-size:16px}.fx-rp-daily{padding-left:10px;padding-right:10px}.fx-head .fx-head-actions{gap:5px}.fx-head .fx-gifts-entry{padding:6px 10px}}
