/* Reference: Shiguang's jade and paper storefront. Scoped to the refreshed pages. */
html.fi body.fi-body.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player:has(.s33-catalog,.s33-lucky-page){--s33-bg:#eff3e9;--s33-panel:#fffdf7;--s33-line:#dce5d6;--s33-lime:#286554;--s33-mint:#9e793d;--s33-muted:#718179;background:#eff3e9!important;color:#293f39!important;color-scheme:light}
html.fi body.fi-body.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player:has(.s33-catalog,.s33-lucky-page) :is(.fi-topbar,.fi-topbar nav,.fi-sidebar,.fi-sidebar-header){background:#fafcf4!important;color:#293f39!important;border-color:#dce5d6!important}
html.fi body.fi-body.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player:has(.s33-catalog,.s33-lucky-page) :is(.fi-sidebar-item-label,.fi-topbar-item-label,.fi-header-heading,.fi-section-header-heading,.fi-fo-field-label-content){color:#365443!important}
html.fi body.fi-body.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player:has(.s33-catalog,.s33-lucky-page) .fi-sidebar-item-active .fi-sidebar-item-btn{background:#dfeadb!important}
html.fi body.fi-body.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player:has(.s33-catalog,.s33-lucky-page) .fi-main{padding-top:18px!important}
.s33-shop-dialog{--s33-ink:#293f39;--s33-muted:#718179;--s33-lime:#286554;--s33-line:#dce5d6;padding:0;border:1px solid #fff;border-radius:22px;background:#fafbf4;color:#293f39;width:min(550px,calc(100vw - 28px));max-height:88vh;max-height:88dvh;overflow:hidden;margin:auto;box-shadow:0 25px 85px #25472e45;color-scheme:light;font-family:inherit}
.s33-shop-dialog[open]{display:flex;flex-direction:column}.s33-shop-dialog::backdrop{background:#21392e80;backdrop-filter:blur(5px)}.s33-shop-dialog *{box-sizing:border-box}.s33-shop-dialog button,.s33-shop-dialog a{font:inherit;cursor:pointer;touch-action:manipulation}.s33-shop-dialog button:focus-visible,.s33-shop-dialog a:focus-visible{outline:3px solid #caa061;outline-offset:3px}.s33-shop-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px;flex-shrink:0}.s33-shop-dialog-head span{font-size:10px;color:#869074}.s33-shop-dialog-head h2{font-size:21px;line-height:1.4;color:#365741;margin:5px 0 0}.s33-shop-dialog-head>button{background:#fff9;border:1px solid #e2e9d9;border-radius:50%;width:40px;height:40px;flex:0 0 40px;font-size:24px;color:#65816a}.s33-shop-dialog-body{padding:0 20px 18px;overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1}.s33-shop-dialog-body h3{font-size:13px;margin:16px 0 8px;color:#42624b}.s33-shop-dialog-body p{font-size:12px;line-height:1.8;color:#7b886d}.s33-detail-cover{display:flex;align-items:center;gap:14px;background:radial-gradient(ellipse at 50% 100%,#d6e4cbb0,transparent 65%),linear-gradient(120deg,#e8f0df,#f9f4e6);padding:13px;border:1px solid #fff;border-radius:14px}.s33-detail-cover img{width:64px;height:64px;object-fit:contain}.s33-detail-cover b{font-size:14px;color:#365741}.s33-detail-cover p{margin:6px 0 0;font-size:11px}.s33-shop-dialog-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 20px;flex-shrink:0;border-top:1px solid #e1e8d7;background:#fffdf9}.s33-shop-dialog-footer>div{flex:1}.s33-shop-dialog-footer>div>span{display:block;font-size:10px;color:#8a977d}.s33-shop-dialog-footer strong{display:block;color:#386b4d;font-size:26px;line-height:1.5;white-space:nowrap}.s33-shop-dialog-footer small{font-size:10px;font-weight:500}.s33-shop-dialog-footer>button,.s33-shop-dialog-footer>a{border:1px solid #286554;border-radius:11px;padding:12px 14px;background:#286554;color:#fff;text-align:center;text-decoration:none;font-size:12px;font-weight:650;line-height:1.5;min-height:44px;max-width:65%}.s33-shop-dialog-footer>button:disabled{background:#e1e9d8;color:#8b9781;border-color:#d7e0ce;cursor:default}.s33-shop-dialog-status{color:#ae573c!important}.s33-shop-dialog .s33-catalog-items{margin:12px 0}.s33-shop-dialog .s33-catalog-item b{color:#42624b}.s33-shop-dialog .s33-catalog-bonus{color:#977839}
.s33-lucky-page{color:#293f39;font-family:inherit;max-width:1380px;margin:auto}.s33-lucky-page *{box-sizing:border-box}.s33-lucky-page [hidden]{display:none!important}.s33-lucky-page button,.s33-lucky-page a{font-family:inherit;touch-action:manipulation;cursor:pointer}.s33-lucky-page button:focus-visible,.s33-lucky-page a:focus-visible{outline:3px solid #caa061;outline-offset:3px}.s33-lucky-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #fff;border-radius:20px;padding:24px 30px;background:radial-gradient(ellipse at 85% 70%,#d6dfbc,transparent 55%),linear-gradient(110deg,#edf3e4,#faf5e7)}.s33-lucky-hero>div>span{color:#7f8b62;font-size:11px;font-weight:650}.s33-lucky-hero h1{color:#2c5544;font-size:clamp(25px,3vw,35px);margin:10px 0;font-weight:750;line-height:1.4}.s33-lucky-hero p{color:#78866d;font-size:13px;margin:0 0 14px}.s33-lucky-hero small{font-size:10px;color:#899478}.s33-lucky-hero img{object-fit:contain;width:110px;height:125px}.s33-lucky-wallet{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:16px 20px;margin:16px 0;background:#fffdf7;border:1px solid #fff;border-radius:13px;font-size:12px;color:#708369}.s33-lucky-wallet b{font-size:27px;color:#286554;margin-left:8px}.s33-lucky-wallet a{color:#426d4d;font-size:12px;text-decoration:none}.s33-lucky-wallet a:nth-child(2){margin-left:auto}.s33-lucky-feedback:empty{display:none}.s33-lucky-feedback{padding:12px;background:#fff5dc;color:#9a733a;border-radius:10px;font-size:12px}
.s33-lucky-stage{display:grid;grid-template-columns:.7fr 1.3fr;gap:30px;border:1px solid #fff;border-radius:22px;background:#fffdf7;padding:28px;margin:18px 0 28px}.s33-lucky-art{position:relative;min-height:275px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(ellipse at center,#e4ebd3,#f4f7eb 65%);border-radius:17px;isolation:isolate;overflow:hidden}.s33-lucky-orbit{position:absolute;width:220px;height:220px;border:1px solid #c7d6b3;border-radius:50%;box-shadow:0 0 0 17px #ced9b730,0 0 0 38px #d4debc25;z-index:-1;top:4%}.s33-lucky-art img{object-fit:contain;width:120px;height:120px;filter:drop-shadow(0 9px 12px #9c93522d);animation:s33-lucky-float 4s ease-in-out infinite}.s33-lucky-art>span{font-size:9px;letter-spacing:.18em;color:#9b9f78;margin-top:20px}.s33-lucky-art h2{font-size:21px;color:#42664b;margin:8px 0}.s33-lucky-art p{font-size:11px;color:#92a081;margin:0}.s33-lucky-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.s33-lucky-heading h2{font-size:20px;color:#365741;margin:7px 0 15px}.s33-lucky-heading span{font-size:11px;color:#899777}.s33-lucky-offers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.s33-lucky-offers button{display:flex;flex-direction:column;align-items:center;gap:7px;background:linear-gradient(135deg,#fafcf4,#eaf0df);border:1px solid #cfdcbe;border-radius:12px;padding:13px 8px;transition:transform .2s,box-shadow .2s;min-width:0;color:#496d4e}.s33-lucky-offers button:hover:not(:disabled){transform:translateY(-3px);box-shadow:0 6px 16px #50684518}.s33-lucky-offers small{font-size:10px;color:#8b9b7b}.s33-lucky-offers b{font-size:26px;font-variant-numeric:tabular-nums}.s33-lucky-offers em{font-size:11px;font-style:normal;font-weight:500}.s33-lucky-offers span{font-size:11px;color:#927546}.s33-lucky-offers button:disabled{opacity:.5;cursor:default}.is-lottery-submitting [data-lottery-open]{pointer-events:none;opacity:.5}.s33-lucky-progress{margin-top:22px}.s33-lucky-progress>div{display:flex;justify-content:space-between;font-size:12px;color:#7c8c6e}.s33-lucky-progress b{color:#97793f}.s33-lucky-progress progress{width:100%;height:7px;border:0;border-radius:8px;overflow:hidden;background:#e6ead7;margin:10px 0}.s33-lucky-progress progress::-webkit-progress-bar{background:#e6ead7}.s33-lucky-progress progress::-webkit-progress-value{background:linear-gradient(90deg,#97b777,#c8b265)}.s33-lucky-progress progress::-moz-progress-bar{background:#97b777}.s33-lucky-progress p,.s33-lucky-note{font-size:11px;color:#8b967b;line-height:1.8;margin:0}.s33-lucky-note{margin-top:8px;color:#9b8655}.s33-lucky-pool{padding:24px;background:#fffdf780;border:1px solid #fff;border-radius:20px}.s33-lucky-heading nav{display:flex;gap:4px;flex-wrap:wrap}.s33-lucky-heading nav button{background:#edf2e5;border:1px solid #d8e2cc;border-radius:7px;color:#849775;font-size:11px;padding:7px 10px;min-height:36px}.s33-lucky-heading nav button[aria-pressed=true]{background:#286554;color:#fff;border-color:#286554}.s33-lucky-prizes{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-top:12px}.s33-lucky-prize{position:relative;display:flex;flex-direction:column;align-items:center;min-width:0;min-height:173px;padding:30px 8px 13px;border:1px solid #e0e7d4;border-radius:13px;background:linear-gradient(135deg,#fffffc,#eff4e7)}.s33-lucky-prize.is-sss{background:linear-gradient(135deg,#fff9e6,#f2e5bf);border-color:#e2c78e}.s33-lucky-prize.is-ss{background:linear-gradient(135deg,#fcf5fc,#ede6f1);border-color:#d8c8de}.s33-lucky-grade{position:absolute;top:9px;left:10px;font-size:11px;font-weight:800;color:#9f8851}.is-ss .s33-lucky-grade{color:#9b7fab}.s33-lucky-prize img{object-fit:contain;width:66px;height:66px;filter:drop-shadow(0 5px 5px #65733a1c)}.s33-lucky-prize h3{font-size:11px;line-height:1.6;margin:8px 0 4px;text-align:center;font-weight:600;color:#50664b;overflow-wrap:anywhere}.s33-lucky-prize b{font-size:12px;color:#a68a4d}.s33-lucky-prize small{font-size:9px;color:#8e987f;margin:3px 0}.s33-lucky-prize button{font-size:9px;border:1px solid #d6dec9;border-radius:5px;background:#ffffff8a;color:#7f8a73;min-height:30px;padding:4px;margin-top:7px}.s33-lucky-prize.is-blocked{opacity:.55}.s33-lucky-history{margin:22px 0 35px;padding:18px 20px;background:#fffdf79e;border:1px solid #fff;border-radius:14px;color:#7c8c71;font-size:12px}.s33-lucky-history summary{cursor:pointer;font-weight:650;color:#45664c}.s33-lucky-history summary span{float:right;color:#8c997d;font-size:10px}.s33-lucky-history article{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid #e1e6d6;font-size:11px}.s33-lucky-history article strong{flex:1;font-size:12px;color:#536c4f}.s33-lucky-history article small{font-size:10px;white-space:nowrap}
/* Cinema uses only awards returned by the completed game order. */
.s33-cinema{--gold:#9a7b3b;--ink:#293f39;--muted:#839074;color:#365741}.s33-cinema .s33-cinema__mask{background:#24433388}.s33-cinema .s33-cinema__dialog{border-color:#fff;border-radius:24px;background:linear-gradient(135deg,#fffef7,#edf4e6);box-shadow:0 28px 90px #1d403450}.s33-cinema .s33-cinema__header h3{color:#365741}.s33-cinema .s33-cinema__close{color:#71866b;background:#fff8;border-color:#dfe6d6}.s33-cinema .s33-cinema__meta{color:#869277}.s33-cinema .s33-cinema__meta b{color:#527958;border-color:#cfdac2}.s33-cinema .s33-cinema-cell{--prize:#8daa7c;background:#edf3e7;border-color:#d9e3cf;border-radius:9px}.s33-cinema .s33-cinema-cell.is-core{--prize:#b99854;background:#fbf1d4}.s33-cinema .s33-cinema-cell.is-rare{--prize:#a582b8;background:#f0e9f5}.s33-cinema .s33-cinema-cell.is-fine{--prize:#69a7b6;background:#e5f0ee}.s33-cinema .s33-cinema-cell.is-active{background:#f5e1aa;border-color:#cea358}.s33-cinema .s33-cinema-cell.is-trail{background:#ece5c9;border-color:#c9be90}.s33-cinema .s33-cinema-cell.is-tail{background:#eef0dd}.s33-cinema .s33-cinema-cell__quantity{color:#927140;text-shadow:0 1px #fff}.s33-cinema .s33-cinema-cell__grade{text-shadow:none}.s33-cinema .s33-cinema-center h4,.s33-cinema .s33-cinema-center__name,.s33-cinema .s33-cinema__status strong{color:#466948}.s33-cinema .s33-cinema-center__quantity,.s33-cinema .s33-cinema-center__grade{color:#a88746}.s33-cinema .s33-cinema__status span,.s33-cinema .s33-cinema__footer>span,.s33-cinema .s33-cinema-reveal__sub{color:#8b977b}.s33-cinema .s33-cinema__skip,.s33-cinema .s33-cinema__all{background:#e8efde;color:#5d7c56;border-color:#cedcbe}.s33-cinema .s33-cinema__done{background:#286554;color:#fff;border-color:#286554}.s33-cinema .s33-cinema-reward{background:#fffdf4;border-color:#e1dfc5;border-radius:12px}.s33-cinema .s33-cinema-reward.is-core{--prize:#b79748;background:#fff5d7}.s33-cinema .s33-cinema-reward.is-rare{--prize:#ab86bc;background:#f6eef8}.s33-cinema .s33-cinema-reward__name{color:#4c674b}.s33-cinema .s33-cinema-reward__quantity{color:#aa8244}.s33-cinema .s33-cinema-reveal__progress{color:#849574}.s33-cinema .s33-cinema-center__art{grid-template-columns:repeat(2,1fr);height:auto;width:60%;gap:5px}.s33-cinema .s33-cinema-center__art img{width:100%;height:55px;object-fit:contain;transform:none;margin:0}
@keyframes s33-lucky-float{50%{transform:translateY(-6px) rotate(2deg)}}
@media(max-width:1100px){.s33-lucky-prizes{grid-template-columns:repeat(4,minmax(0,1fr))}.s33-lucky-stage{grid-template-columns:.65fr 1.35fr;gap:18px;padding:20px}}
@media(max-width:680px){html.fi body.fi-body.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player:has(.s33-catalog,.s33-lucky-page) .fi-main{padding:14px 12px 90px!important}.s33-shop-dialog{width:100%;max-width:550px;max-height:88dvh;margin:auto auto 0;border-radius:22px 22px 0 0}.s33-shop-dialog-head{padding:17px 16px}.s33-shop-dialog-head h2{font-size:19px}.s33-shop-dialog-body{padding:0 16px 16px}.s33-shop-dialog-footer{padding:13px 16px max(15px,env(safe-area-inset-bottom))}.s33-shop-dialog-footer strong{font-size:24px}.s33-shop-dialog-footer>button,.s33-shop-dialog-footer>a{font-size:11px;padding:11px 10px}.s33-lucky-hero{padding:18px 16px;gap:5px;border-radius:15px}.s33-lucky-hero h1{font-size:23px}.s33-lucky-hero img{width:65px;height:95px}.s33-lucky-hero p{font-size:11px}.s33-lucky-hero small{font-size:9px}.s33-lucky-wallet{padding:12px 14px;gap:10px}.s33-lucky-wallet b{font-size:24px}.s33-lucky-wallet a{font-size:10px}.s33-lucky-stage{grid-template-columns:1fr;gap:18px;padding:14px;margin:14px 0 20px}.s33-lucky-art{min-height:150px;padding:15px 10px 15px 108px;align-items:flex-start}.s33-lucky-art img{position:absolute;left:10px;width:85px;height:90px}.s33-lucky-orbit{width:100px;height:100px;left:3px;top:22px}.s33-lucky-art>span{margin-top:0;font-size:8px}.s33-lucky-art h2{font-size:19px}.s33-lucky-art p{font-size:10px}.s33-lucky-heading{flex-wrap:wrap}.s33-lucky-heading h2{font-size:18px;margin-bottom:12px}.s33-lucky-heading>span{font-size:10px}.s33-lucky-offers{gap:7px}.s33-lucky-offers button{padding:11px 4px;gap:6px}.s33-lucky-offers small{font-size:9px}.s33-lucky-offers b{font-size:24px}.s33-lucky-offers span{font-size:10px}.s33-lucky-pool{padding:17px 12px}.s33-lucky-prizes{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.s33-lucky-prize{padding:27px 6px 10px;min-height:150px}.s33-lucky-prize img{width:54px;height:54px}.s33-lucky-prize h3{font-size:10px}.s33-lucky-history{padding:15px 12px}.s33-lucky-history article{gap:7px;font-size:9px}.s33-lucky-history article strong{font-size:10px}.s33-cinema .s33-cinema__dialog{border-radius:18px}}
@media(prefers-reduced-motion:reduce){.s33-lucky-page *{animation:none!important;transition:none!important}}
body:has(.s33-shop-dialog[open]){overflow:hidden}
.s33-cinema .s33-cinema-center__eyebrow,.s33-cinema .s33-cinema-reveal__progress strong{color:#638058}

html.fi body.fi-body.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player:has(.s33-catalog,.s33-lucky-page) :is(.fi-layout,.fi-main-ctn,.fi-main){background:transparent!important}
html.fi body.fi-body.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player:has(.s33-catalog,.s33-lucky-page) .fi-sidebar-item.fi-active .fi-sidebar-item-btn{background:#dfeadb!important;color:#286554!important;box-shadow:none!important;border-color:#cad9bf!important}
html.fi body.fi-body.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player:has(.s33-catalog,.s33-lucky-page) .fi-sidebar-item-btn{background:transparent!important;border-color:#e0e7d8!important;box-shadow:none!important}
html.fi body.fi-body.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player:has(.s33-catalog,.s33-lucky-page) .s33-ui-bottom-nav{background:#fafcf4f2!important;border-color:#dce5d6!important}
html.fi body.fi-body.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player:has(.s33-catalog,.s33-lucky-page) .s33-ui-bottom-nav a{color:#74896c!important}
html.fi body.fi-body.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player:has(.s33-catalog,.s33-lucky-page) .s33-ui-bottom-nav a.is-active{background:#e1ebda!important;color:#286554!important}

html.fi body.fi-body.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player:has(.s33-catalog,.s33-lucky-page) :is(.fi-sidebar-header-ctn,.fi-sidebar-nav,.fi-sidebar-nav-groups,.fi-sidebar-group,.fi-sidebar-group-items){background:#fafcf4!important;background-image:none!important;box-shadow:none!important}
html.fi body.fi-body.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player:has(.s33-catalog,.s33-lucky-page) :is(.fi-sidebar-item,.fi-sidebar-item-btn){border-color:#e1e8d8!important;border-width:0!important;text-shadow:none!important}
html.fi body.fi-body.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player:has(.s33-catalog,.s33-lucky-page) :is(.fi-header-heading,.fi-sidebar-item-label,.fi-sidebar-group-label){text-shadow:none!important}
html.fi body.fi-body.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player:has(.s33-catalog,.s33-lucky-page) .fi-sidebar-item-icon{color:#829772!important}
html.fi body.fi-body.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player:has(.s33-catalog,.s33-lucky-page) .s33-upgrade__band{background:#e7eee0!important;border-color:#d2dfc7!important;border-radius:13px;color:#607750}
html.fi body.fi-body.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player:has(.s33-catalog,.s33-lucky-page) .s33-upgrade__heading h2{color:#426347!important;text-shadow:none!important}
html.fi body.fi-body.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player:has(.s33-catalog,.s33-lucky-page) :is(.s33-upgrade__date,.s33-upgrade__eyebrow,.s33-upgrade__unit span,.s33-upgrade__toggle){color:#7b8c6c!important}
html.fi body.fi-body.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player:has(.s33-catalog,.s33-lucky-page) .s33-upgrade__eyebrow>span{color:#998145!important}
html.fi body.fi-body.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player.fi-panel-player:has(.s33-catalog,.s33-lucky-page) .s33-upgrade__unit strong{background:#f7faef!important;border-color:#d6e1c9!important;color:#6c835b!important}
