/* Save my chips (his plan 11-19): the header Save button, top right on every Lucky Gulch game. The Worker adds this file and the button
   to game pages on luckygulch.com only (edge.mjs GAME_PAGE). Red "Not saved" → green "Saved". */
.hsave{display:inline-flex;align-items:center;gap:7px;padding:9px 15px;border-radius:999px;border:2px solid #e5484d;background:#3a0a10;color:#ffd1d1;font:800 14px/1.1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:.3px;white-space:nowrap;cursor:pointer;margin-left:14px;flex:none;-webkit-tap-highlight-color:transparent}
.hsave svg{width:15px;height:15px;flex:none}.hsave.ok{border-color:#2fbf71;background:#0c281a;color:#7ff0b0}
.hsave:focus-visible{outline:2px solid #fff;outline-offset:2px}.hsave .s{display:none}
header.hdr .wrap{display:flex;align-items:center}header.hdr .nav{margin-left:auto}header.hdr .wrap>.hsave:nth-child(2){margin-left:auto}
.pnav .hsave{margin-left:0;padding:6px 11px;font-size:12px;border-width:1.5px}.pnav .hsave svg{width:12px;height:12px}
@media (max-width:560px){
  .hsave{padding:7px 12px;font-size:13px;gap:5px;margin-left:8px}.hsave svg{width:13px;height:13px}.hsave .l{display:none}.hsave .s{display:inline}
  header.hdr .nav li:not(:has(.hubnav)){display:none}   /* phones: the in-game TOP 25 covers the header link */
  header.hdr .lgl{font-size:21px}header.hdr .lgg{font-size:15px}header.hdr .lgi{width:30px;height:30px}
  header.hdr .wrap:has(.hubnav) .lgl{font-size:18px}header.hdr .wrap:has(.hubnav) .lgg{font-size:12.5px}header.hdr .wrap:has(.hubnav) .lgi{width:26px;height:26px}
}
/* the card (redone 11-19, his "ugly" + "don't scare them, they need to know it's optional"): same family as the Terms card, dark glass, friendly */
.svbg{position:fixed;inset:0;z-index:2147483000;background:rgba(0,0,0,.55);display:grid;place-items:center;padding:20px;opacity:0;transition:opacity .2s}.svbg.on{opacity:1}
.svs{box-sizing:border-box;width:min(380px,100%);border-radius:22px;background:rgba(30,30,34,.94);-webkit-backdrop-filter:blur(30px) saturate(1.8);backdrop-filter:blur(30px) saturate(1.8);color:#fff;padding:24px 22px 16px;text-align:center;font:400 16px/1.4 -apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",Arial,sans-serif;box-shadow:0 24px 70px rgba(0,0,0,.55),inset 0 0 0 1px rgba(255,255,255,.08);transform:scale(1.06);transition:transform .25s cubic-bezier(.2,1.3,.4,1)}
.svbg.on .svs{transform:none}
.svs .sv-ic{width:58px;height:58px;border-radius:14px;display:block;margin:0 auto 10px;box-shadow:0 1px 3px rgba(0,0,0,.4)}
.svs .sv-opt{display:inline-block;margin:0 0 8px;padding:3px 10px;border-radius:999px;background:rgba(255,255,255,.1);color:rgba(235,235,245,.8);font:600 12px/1.4 -apple-system,BlinkMacSystemFont,sans-serif;letter-spacing:.6px;text-transform:uppercase}
.svs h3{margin:0 0 16px;font:700 22px/1.25 -apple-system,BlinkMacSystemFont,"SF Pro Display","Helvetica Neue",Arial,sans-serif;letter-spacing:-.2px;color:#fff;text-wrap:balance}
.svs ul{list-style:none;margin:0 0 20px;padding:0;text-align:left;display:grid;gap:12px}
.svs li{display:flex;gap:12px;align-items:flex-start;font-size:16px;line-height:1.4;color:rgba(235,235,245,.86)}
.svs li i{flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:rgba(255,212,94,.14);color:#ffd45e}.svs li i svg{width:16px;height:16px}
.svs li b{color:#fff;font-weight:600}
.svs button{all:unset;box-sizing:border-box;display:block;width:100%;text-align:center;cursor:pointer;-webkit-tap-highlight-color:transparent;border-radius:14px}
.svs .sv-go{padding:15px 10px;background:#0a84ff;color:#fff;font:600 18px/1.2 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;box-shadow:0 4px 14px rgba(10,132,255,.35);transition:transform .1s,background .1s}
.svs .sv-go:hover{background:#2a95ff}.svs .sv-go:active{transform:scale(.97)}
.svs .sv-back{margin-top:8px;padding:13px 10px;color:#4da3ff;font:600 16px/1.3 -apple-system,BlinkMacSystemFont,sans-serif}
.svs .sv-no{padding:11px 10px 4px;color:rgba(235,235,245,.7);font:500 16px/1.3 -apple-system,BlinkMacSystemFont,sans-serif}
.svs .sv-later{margin:2px 0 4px;font-size:13px;color:rgba(235,235,245,.5)}
.svs .sv-err{margin:-6px 0 14px;font:600 15px/1.35 -apple-system,sans-serif;color:#ff8a80}
.svs button:focus-visible{outline:2px solid #fff;outline-offset:2px}.svs .sv-busy{font:600 17px/1.4 -apple-system,sans-serif;color:rgba(235,235,245,.9);padding:26px 0 18px}
.svt{position:fixed;left:50%;bottom:calc(24px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:2147483001;background:#0c281a;border:2px solid #2fbf71;color:#dfffe9;border-radius:14px;padding:13px 18px;font:600 17px -apple-system,BlinkMacSystemFont,sans-serif;display:flex;gap:10px;align-items:center;white-space:nowrap;box-shadow:0 10px 30px rgba(0,0,0,.5)}
.svt svg{width:20px;height:20px;color:#7ff0b0;flex:none}
/* 11-19 (his call): the header Save is a small Material cloud icon (cloud_off red / cloud_done green), no circle, left of the chips */
.hsave{all:unset;box-sizing:border-box;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;margin-left:auto;margin-right:8px;flex:none;color:#e5484d;border-radius:8px;-webkit-tap-highlight-color:transparent}
.hsave.ok{color:#2fbf71;background:none;border:0}.hsave svg{width:24px;height:24px}.hsave:hover{background:rgba(255,255,255,.06)}.hsave:focus-visible{outline:2px solid #fff;outline-offset:2px}
header.hdr .wrap>.hsave+.hchips{margin-left:0!important}header.hdr .nav+.hsave{margin-left:14px}
@media (max-width:560px){.hsave{width:26px;height:26px;margin-right:6px}.hsave svg{width:21px;height:21px}}
.pnav .hsave{margin-left:0;width:26px;height:26px}.pnav .hsave svg{width:20px;height:20px}
/* the cloud + chips always sit at the right edge, the same on every game and device (his 11-19: tables had them in the middle) */
header.hdr .wrap:has(.hchips)>.logo{margin-right:0!important}header.hdr .wrap>.hsave{margin-left:auto!important}header.hdr .wrap>.nav+.hsave{margin-left:14px!important}
@media (max-width:560px){header.hdr .wrap>.nav+.hsave{margin-left:auto!important}}
