@media(max-width:768px){
  body.ghc-phone{background:#0d101a!important;color:#f3f4f8}
  .ghc-phone .gh-boxes-header{display:flex!important;flex-wrap:nowrap!important;height:58px!important;min-height:58px!important;border-bottom:1px solid #282b3c!important;background:#121522!important}
  .ghc-phone .gh-boxes-logo{font-size:14px!important;letter-spacing:.05em!important}.ghc-phone .gh-boxes-logo small,.ghc-phone .gh-boxes-logo span{font-size:9px!important}
  .ghc-phone .gh-boxes-market{padding:12px 12px 90px!important}.ghc-phone .gh-boxes-title{display:flex!important;align-items:center!important;gap:10px!important;border:0!important;padding:8px 0 10px!important;background:none!important;border-radius:0!important;margin:0!important}
  .ghc-phone .gh-boxes-title h1{font-size:23px!important;margin:3px 0!important}.ghc-phone .gh-boxes-kicker{font-size:9px!important;letter-spacing:.15em!important;color:#e7a44c!important}.ghc-phone .gh-boxes-title p{display:none!important}.ghc-phone .gh-box-history-button{padding:10px!important;min-height:44px!important;font-size:11px!important;white-space:nowrap!important;border-radius:10px!important}
  .ghc-keys{margin:8px 0 12px;border:1px solid #2d3042;background:linear-gradient(110deg,#242136,#161b2b);border-radius:12px}.ghc-keys summary{padding:13px 14px;font-size:13px;font-weight:750;color:#eac698;cursor:pointer}.ghc-keys .gh-key-wallet{border:0!important;margin:0!important;background:none!important;padding:0 10px 10px!important}.ghc-keys .gh-key-wallet-title{display:none!important}
  .ghc-search{display:flex;align-items:center;gap:10px;padding:0 12px;border:1px solid #292e40;background:#171c2a;border-radius:10px}.ghc-search>span{font-size:11px;color:#929bad;white-space:nowrap}.ghc-search input{width:100%;min-width:0;height:44px;padding:10px 0;border:0!important;background:none!important;color:#f4f6fa;font:14px system-ui;outline-offset:4px}
  .ghc-phone .gh-box-filters{background:transparent!important;margin:10px 0 14px!important;padding:0!important}.ghc-phone [data-box-filter]{font-size:11px!important;padding:10px 14px!important;border-radius:9px!important;background:#191e2c!important;border:1px solid #2d3245!important;color:#939daf!important}.ghc-phone [data-box-filter].active{color:#211506!important;border-color:#f0ad54!important;background:linear-gradient(120deg,#ffce81,#e9a043)!important}
  .ghc-phone .gh-box-catalog{gap:10px!important}.ghc-phone .gh-market-case{background:radial-gradient(ellipse at 50% 25%,#5f3b634d,transparent 65%),linear-gradient(145deg,#1b2031,#111622)!important;border:1px solid #30374b!important;border-radius:14px!important;position:relative!important;box-shadow:0 8px 20px #0003!important}
  .ghc-phone .gh-market-case.oasis{background:radial-gradient(ellipse at 50% 25%,#ca8c3b33,transparent 65%),linear-gradient(145deg,#252233,#151923)!important}.ghc-phone .gh-market-case-image{height:126px!important;min-height:126px!important;background:none!important;padding:12px 7px!important}.ghc-phone .gh-market-case-image img{height:117px!important;filter:drop-shadow(0 10px 14px #0008)!important}.ghc-phone .gh-market-case-body{gap:8px!important;padding:11px!important}.ghc-phone .gh-market-case-body h3{font-size:15px!important;font-weight:800!important}.ghc-phone .gh-market-case-body p{font-size:10px!important;color:#929db3!important;line-height:1.4!important;min-height:28px}.ghc-phone .gh-market-case-body button{font-size:11px!important;border:1px solid #d99541!important;background:linear-gradient(110deg,#ffd08b,#e6a44d)!important;color:#251508!important;box-shadow:0 5px 15px #d98b2d1f!important;border-radius:9px!important;min-height:44px!important}
  .ghc-phone .gh-case-preview-hint{font-size:8px!important;padding:6px 8px!important}.ghc-phone .gh-market-case-badge{font-size:8px!important}.ghc-phone .gh-coin-case-odds{font-size:10px!important;margin-top:0!important}.ghc-phone .gh-oasis-detail{margin-top:18px!important}.ghc-phone [data-box-category][hidden],.ghc-phone .ghc-search-hidden{display:none!important}.ghc-search-empty{padding:20px 10px;color:#959fb2;font-size:13px;line-height:1.6}
  /* A fixed-height dialog with an independently scrollable body and real footer. */
  body.ghc-opening{overflow:hidden!important}body.ghc-opening .ghm-dock,body.ghc-opening .gh-mobile-dock,body.ghc-opening .mobile-bottom-nav{display:none!important}
  body.ghc-phone .case-modal{position:fixed!important;inset:0!important;z-index:20000!important;padding:8px!important;align-items:center!important;justify-content:center!important;background:#050710d9!important;backdrop-filter:blur(10px)!important}
  body.ghc-phone .case-window{display:flex!important;flex-direction:column!important;position:relative!important;transform:none!important;width:100%!important;max-width:520px!important;height:min(720px,calc(100dvh - 16px))!important;max-height:calc(100dvh - 16px)!important;min-height:0!important;padding:0!important;overflow:hidden!important;border:1px solid #3c3850!important;border-radius:20px!important;background:radial-gradient(ellipse at 50% 30%,#33233d55,transparent 65%),#111624!important;box-shadow:0 24px 80px #000b!important}
  body.ghc-phone .case-window>h2{position:static!important;flex-shrink:0!important;margin:0!important;padding:20px 50px 16px 16px!important;border-bottom:1px solid #2b3042!important;text-align:left!important;font-size:16px!important;line-height:1.3!important}
  body.ghc-phone .case-close{position:absolute!important;right:8px!important;top:8px!important;width:40px!important;height:40px!important;min-height:40px!important;z-index:20!important;padding:0!important;border:1px solid #373c50!important;border-radius:11px!important;background:#1e2535!important;color:#c7cfdf!important;font-size:18px!important}
  body.ghc-phone .case-window>.roulette-wrapper{flex:0 0 150px!important;height:150px!important;margin:12px!important;width:calc(100% - 24px)!important;overflow:hidden!important;border-radius:12px!important}.ghc-phone .roulette-item{height:130px!important}.ghc-phone .roulette-item img{max-height:72px!important}
  body.ghc-phone .roulette-wrapper.case-multi-mode,body.ghc-phone .roulette-wrapper.roulette-result-mode{display:none!important}
  body.ghc-phone .case-result{flex:1!important;min-height:0!important;overflow:auto!important;overscroll-behavior:contain!important;padding:14px!important;margin:0!important;width:100%!important;scrollbar-width:thin}
  .ghc-modal-footer{flex:0 0 auto;padding:12px 14px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #313749;background:#121927;z-index:5}
  .ghc-modal-footer[hidden]{display:none!important}.ghc-modal-footer .case-reward-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin:0!important;padding:0!important}.ghc-modal-footer .case-reward-actions[hidden]{display:none!important}.ghc-modal-footer button{min-height:48px!important;padding:10px 8px!important;border-radius:11px!important;font:750 12px system-ui!important;line-height:1.4!important;min-width:0!important;width:100%!important}
  .ghc-modal-footer .case-reward-again,.ghc-modal-footer .ghc-start{background:linear-gradient(110deg,#ffd18a,#eda84e)!important;border:1px solid #f7c076!important;color:#2a1b0b!important}.ghc-modal-footer .case-reward-close{background:#232b3c!important;border:1px solid #3d485e!important;color:#e9edf5!important}
  .ghc-phone .case-count-picker{margin:0 auto!important;max-width:370px!important}.ghc-phone .case-count-picker>span{font-size:10px!important;letter-spacing:.1em!important;color:#e8b469!important}.ghc-phone .case-count-picker h3{font-size:23px!important;margin:10px 0!important}.ghc-case-art{display:grid;place-items:center;height:140px;position:relative;background:radial-gradient(ellipse,#c8935333,transparent 67%)}.ghc-case-art img{width:210px;height:138px;object-fit:contain;filter:drop-shadow(0 14px 20px #0008)}.ghc-case-art>b{width:90px;height:90px;display:grid;place-items:center;border-radius:50%;border:5px solid #ffc14c;background:#d99430;color:#362407;font-size:35px;box-shadow:0 0 45px #e6a23930}
  .ghc-key-badge{font-size:12px!important;color:#9da9bc!important;margin:10px 0 16px!important}.ghc-key-badge b{color:#f4cf95}.ghc-phone .case-count-presets{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}.ghc-phone .case-count-presets button{min-height:44px!important;border:1px solid #394156!important;background:#1b2333!important;color:#c2cbda!important;border-radius:10px!important;font-size:14px!important}.ghc-phone .case-count-presets button[aria-pressed=true]{color:#ffc877!important;background:#6c48252e!important;border-color:#c8954b!important}
  .ghc-phone .case-count-picker label{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:12px 0!important;margin-top:0!important}.ghc-phone .case-count-picker label>span{color:#8e9bb0;font-size:12px}.ghc-phone #case-custom-count{width:90px!important;padding:10px!important;min-height:44px!important;border-color:#39465c!important;background:#0c1220!important}.ghc-phone .case-count-picker>small{font-size:10px!important;margin:0!important;line-height:1.6!important;color:#7e8ca5!important}
  .ghc-phone .case-reward-reveal{min-height:0!important;transform:none!important;animation:none!important;padding:16px 0!important;position:relative!important}.ghc-phone .case-reward-icon-wrap{width:170px!important;height:170px!important;margin:12px auto!important}.ghc-phone .case-reward-big-icon{font-size:70px!important}.ghc-phone .case-reward-skin-image{width:170px!important;height:140px!important;object-fit:contain!important}.ghc-phone .case-reward-name{font-size:23px!important;line-height:1.3!important;padding:0 8px!important}.ghc-phone .case-reward-caption{font-size:10px!important}.ghc-phone .case-reward-rarity{font-size:11px!important}.ghc-phone .case-reward-rays{pointer-events:none!important}.ghc-phone .gg-opening-grid{max-height:none!important;overflow:visible!important;gap:8px!important}.ghc-phone .gg-open-slot{min-height:145px!important}.ghc-phone .gg-multi-opening h3{font-size:19px!important}
}
@media(max-height:620px) and (max-width:768px){.ghc-case-art{height:85px}.ghc-case-art img{height:85px}.ghc-case-art>b{height:65px;width:65px;font-size:25px}.ghc-phone .case-count-picker h3{font-size:19px!important}.ghc-phone .case-reward-icon-wrap{height:110px!important;width:130px!important}}
