/* V57: nothing is visible or changes layout on desktop. */
#app header #v57-menu-button {display:none;}
#v57-drawer:not([open]) {display:none;}
@media(max-width:760px) {
  #app header #v57-menu-button {display:flex;position:absolute;top:10px;left:9px;width:44px;height:44px;min-width:44px;align-items:center;justify-content:center;color:#f4ce75;border:1px solid #a66b0877;border-radius:12px;background:#100c07;cursor:pointer;}
  #app header #v57-menu-button svg {width:24px;height:24px;}
  #app header .hb .lg {margin-left:49px;margin-right:49px;}
  #v57-drawer {box-sizing:border-box;position:fixed;inset:0 auto 0 0;margin:0;padding:calc(16px + env(safe-area-inset-top,0px)) 14px calc(20px + env(safe-area-inset-bottom,0px));width:min(84vw,350px);max-width:none;height:100vh;height:100dvh;max-height:none;overflow-y:auto;overscroll-behavior:contain;border:0;border-right:1px solid #9e722d;border-radius:0 16px 16px 0;background:linear-gradient(155deg,#21170b 0%,#100c08 35%,#0b0907 100%);color:#f7f2e9;box-shadow:12px 0 40px #0009;font-family:inherit;}
  #v57-drawer[open] {animation:v57-slide .24s ease-out both;}
  #v57-drawer::backdrop {background:rgba(0,0,0,.66);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);}
  @keyframes v57-slide {from{transform:translateX(-100%)}to{transform:translateX(0)}}
  #v57-drawer .v57-top {display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:14px;border-bottom:1px solid #b88a3755;}
  #v57-drawer .v57-brand {display:block;height:48px;width:auto;max-width:calc(100% - 50px);object-fit:contain;}
  #v57-drawer .v57-brand-text {font-weight:800;color:#ffda85;font-size:14px;}
  #v57-drawer .v57-close {display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border:1px solid #9e722d77;border-radius:10px;background:#17110a;color:#ffda85;cursor:pointer;}
  #v57-drawer .v57-close svg {width:22px;height:22px;}
  #v57-title {font-size:11px;letter-spacing:2px;color:#d1ac64;margin:15px 0 20px;font-weight:700;}
  #v57-drawer .v57-section {margin:0 0 24px;}
  #v57-drawer h3 {display:flex;align-items:center;gap:8px;color:#f4d27b;font-size:14px;font-weight:800;letter-spacing:.4px;margin:0 0 10px;}
  #v57-drawer h3 svg {width:20px;height:20px;flex:none;}
  #v57-drawer .v57-card {padding:13px;border:1px solid #a66b0866;border-radius:12px;background:linear-gradient(135deg,#2b1d0d,#14100c);}
  #v57-drawer p {font-size:13px;line-height:1.5;margin:0 0 10px;color:#ded5c5;overflow-wrap:anywhere;}
  #v57-drawer .v57-raffle strong {display:block;font-size:15px;margin-bottom:7px;overflow-wrap:anywhere;}
  #v57-drawer .v57-raffle+.v57-raffle {border-top:1px solid #a66b0855;padding-top:12px;margin-top:12px;}
  #v57-drawer .v57-notice {margin:12px 0 10px;font-size:12px;color:#f1d8a5;border-left:2px solid #d7a94e;padding-left:9px;}
  #v57-drawer .v57-link {display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 10px;border:1px solid #a66b08aa;border-radius:9px;text-decoration:none;text-align:center;font-size:13px;font-weight:800;color:#ffe1a0;background:#1e160d;}
  #v57-drawer .v57-primary {background:linear-gradient(180deg,#ffe18a,#e7ab22);color:#1c1000;border-color:#f8cc60;}
  #v57-drawer .v57-count {margin-left:auto;color:#e3c277;background:#34240d;border:1px solid #a66b0866;border-radius:10px;padding:2px 8px;font-size:11px;}
  #v57-drawer .v57-favorites {display:grid;gap:7px;}
  #v57-drawer .v57-favorite {display:flex;align-items:center;gap:10px;min-height:54px;padding:8px;border:1px solid #a66b0855;border-radius:10px;background:#15110b;text-decoration:none;color:#f7f2e9;font-size:13px;font-weight:700;}
  #v57-drawer .v57-favorite .platform-logo {width:38px;height:38px;flex:0 0 38px;overflow:hidden;border-radius:7px;}
  #v57-drawer .v57-favorite .platform-logo img {width:100%;height:100%;object-fit:cover;}
  #v57-drawer .v57-favorite>span:not(.platform-logo) {flex:1;min-width:0;overflow-wrap:anywhere;}
  #v57-drawer .v57-favorite>svg {width:17px;height:17px;color:#e3c277;flex:none;}
  #v57-drawer .v57-empty {color:#bdb2a0;font-size:13px;}
  #v57-drawer .v57-hint,#v57-drawer .v57-legal {color:#a99e8d;font-size:11px;margin-top:9px;}
  #v57-drawer .v57-legal {border-top:1px solid #a66b0855;padding-top:13px;}
  #v57-drawer :focus-visible,#v57-menu-button:focus-visible {outline:2px solid #ffe18a;outline-offset:2px;}
  @media(prefers-reduced-motion:reduce) {#v57-drawer[open]{animation:none;}}
}

/* V61: hide only the redundant header giveaway shortcut on mobile. */
@media (max-width:760px) {
  #app header .hr > a.header-extra.v61-header-raffles { display:none !important; }
}
