.stache{position:relative;max-width:1100px;margin:0 auto}
.stache-board{position:relative;border:3px solid #111;border-radius:6px;background:#fdf3ea;overflow:hidden;touch-action:none}
.stache-board canvas{display:block;width:100%;cursor:grab}
.stache-board canvas.dragging{cursor:grabbing}
.stache-legend{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 20px;margin:14px 0;font-size:.85rem;color:#6b625b}
.stache-legend i{display:inline-block;width:14px;height:14px;border-radius:3px;margin-right:6px;vertical-align:-2px;border:1px solid rgba(0,0,0,.15)}
.stache-zoom{display:inline-flex;align-items:center;gap:8px}
.stache-zoom button{width:28px;height:28px;border:1px solid #cfc4b8;background:#fff;border-radius:6px;font-size:1rem;cursor:pointer}
.stache-reset{border:1px solid #cfc4b8;background:#fff;border-radius:6px;padding:4px 10px;cursor:pointer}
.stache-progress{max-width:1100px;margin:8px auto 0}
.stache-progress b{font-size:1.05rem}
.stache-bar{height:10px;background:#e3ddd5;border-radius:99px;overflow:hidden;margin-top:6px}
.stache-bar span{display:block;height:100%;background:#8fd13f;width:0;transition:width .6s}
.stache-tip{position:absolute;z-index:5;min-width:200px;max-width:260px;background:#fff;border-radius:14px;box-shadow:0 8px 28px rgba(0,0,0,.18);padding:12px;display:none;pointer-events:auto}
.stache-tip.show{display:block}
.stache-tip .row{display:flex;gap:10px;align-items:center}
.stache-tip img,.stache-tip .ph{width:48px;height:48px;border-radius:50%;object-fit:cover;background:#e3ddd5;flex:none}
.stache-tip strong{display:block;word-break:break-word}
.stache-tip p{margin:8px 0 0;font-size:.85rem;color:#4b443f;word-break:break-word}
.stache-tip a{display:inline-block;margin-top:8px;font-size:.85rem;font-weight:600}
.stache-mode{border:1px solid #cfc4b8;background:#fff;border-radius:6px;padding:4px 10px;cursor:pointer}
.stache-mode.on{background:#8fd13f;border-color:#5aa10f;font-weight:600}
.stache-sel{display:flex;flex-wrap:wrap;align-items:center;gap:10px;justify-content:space-between;background:#fff;border:1px solid #cfc4b8;border-left:5px solid #8fd13f;border-radius:10px;padding:10px 14px;margin:0 0 12px}
.stache-sel.bad{border-left-color:#d63638}
.stache-sel[hidden]{display:none}
.stache-sel button,.stache-modal button{border:1px solid #cfc4b8;background:#fff;border-radius:8px;padding:8px 14px;cursor:pointer;font:inherit}
.stache-sel button.primary,.stache-modal button.primary{background:#1f1a17;color:#fff;border-color:#1f1a17;font-weight:600}
.stache-modal button:disabled{opacity:.45;cursor:not-allowed}
.stache-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}
.stache-steps div{background:#fff;border:1px solid #eadfd3;border-radius:12px;padding:14px;font-weight:600}
.stache-steps b{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#dff0c6;margin-right:8px}
.stache-steps small{display:block;font-weight:400;color:#6b625b;margin-top:4px}
.stache-modal{position:fixed;inset:0;z-index:99999;background:rgba(0,0,0,.5);display:flex;align-items:flex-start;justify-content:center;overflow:auto;padding:24px 12px}
.stache-lock{overflow:hidden}
.stache-box{position:relative;background:#fff;border-radius:16px;width:100%;max-width:520px;padding:22px;box-shadow:0 20px 60px rgba(0,0,0,.3)}
.stache-box h2{margin:0 0 4px}
.stache-box .sub{margin:0 0 14px;color:#6b625b}
.stache-box .x{position:absolute;top:10px;right:12px;border:0!important;background:none!important;font-size:1.6rem;line-height:1;padding:4px 8px!important}
.stache-box label{display:block;font-weight:600;font-size:.9rem;margin:10px 0}
.stache-box label input[type=text],.stache-box label input[type=url],.stache-box label input[type=file]{display:block;width:100%;margin-top:4px;padding:8px 10px;border:1px solid #cfc4b8;border-radius:8px;font:inherit;font-weight:400}
.stache-box .chk{display:flex;gap:8px;align-items:flex-start;font-weight:600;background:#fff8e6;border:1px solid #ecd9a3;border-radius:10px;padding:10px}
.stache-box .chk input{margin-top:4px}
.stache-box .rules{background:#f7f3ee;border-radius:10px;padding:10px 14px;margin:12px 0;font-size:.85rem}
.stache-box .rules ul{margin:6px 0 0;padding-left:18px}
.stache-box .err{background:#fde8e8;color:#8a1f1f;border-radius:8px;padding:8px 12px;margin:10px 0;font-size:.9rem}
.stache-box .hint{font-size:.8rem;color:#6b625b}
.stache-box .btns{display:flex;gap:10px;justify-content:space-between;flex-wrap:wrap}
.stache-box .btns .primary{flex:1}
.stache-box .pv{display:flex;gap:14px;align-items:flex-start;flex-wrap:wrap;margin-bottom:10px}
.stache-box .frame{width:140px;border:1px solid #eadfd3;border-radius:8px;overflow:hidden;background:#eee;max-height:200px}
.stache-box .frame img{width:100%;height:100%;object-fit:cover;display:block}
.stache-tip.static{position:static;display:block;box-shadow:0 2px 14px rgba(0,0,0,.14);flex:1;min-width:180px}
.stache-box .sum{display:grid;grid-template-columns:110px 1fr;gap:4px 10px;font-size:.9rem;margin:10px 0}
.stache-box .sum dt{color:#6b625b}.stache-box .sum dd{margin:0;word-break:break-word}
@media(max-width:600px){.stache-steps{grid-template-columns:1fr}}

.stache-sel .sum{font-weight:600}
.stache-sel .chips{display:flex;flex-wrap:wrap;gap:6px;flex:1;min-width:120px;max-height:76px;overflow:auto}
.stache-sel .chip{padding:2px 8px!important;font-size:.8rem;background:#eaf6d6!important;border-color:#5aa10f!important;border-radius:99px!important}
.stache-board canvas{touch-action:none}

/* ---- UI polish ---- */
.stache-board{border:0;border-radius:18px;box-shadow:0 0 0 3px #1f1a17,0 14px 40px rgba(60,40,20,.18);background:linear-gradient(180deg,#fff9f2,#fdf3ea)}
.stache-legend{margin:18px 0 8px;gap:8px 18px}
.stache-tools{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin:0 0 14px}
.stache-hint{font-size:.8rem;color:#8a7f75}
.stache-zoom{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}
.stache-zoom b{min-width:48px;text-align:center}
.stache-zoom button,.stache-zoom .stache-mode,.stache-zoom .stache-reset{width:auto;min-width:36px;height:36px;padding:0 12px;border:1px solid #cfc4b8;background:#fff;border-radius:10px;font:inherit;font-weight:600;cursor:pointer;transition:background .15s,transform .05s}
.stache-zoom button:hover{background:#f6efe6}
.stache-zoom button:active{transform:scale(.96)}
.stache-zoom .stache-mode.on{background:#8fd13f;border-color:#5aa10f}
.stache-sel{position:sticky;bottom:12px;z-index:20;box-shadow:0 10px 30px rgba(0,0,0,.18);border-radius:14px}
.stache-sel .primary{box-shadow:0 2px 0 rgba(0,0,0,.25)}
.stache-steps div{transition:transform .15s,box-shadow .15s}
.stache-steps div:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(60,40,20,.1)}
.stache-tip::after{content:"";position:absolute;left:50%;bottom:-7px;width:14px;height:14px;background:#fff;transform:translateX(-50%) rotate(45deg);border-radius:2px}
.stache-tip.static::after{display:none}
.stache-progress{background:#fff;border:1px solid #eadfd3;border-radius:14px;padding:14px 16px}
.stache-bar{height:12px}
.stache-bar span{background:linear-gradient(90deg,#8fd13f,#c3e87a)}
.stache-box{animation:stachePop .18s ease-out}
@keyframes stachePop{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:600px){
  .stache-tools{flex-direction:column;align-items:stretch}
  .stache-hint{text-align:center}
  .stache-zoom{justify-content:center}
  .stache-sel{bottom:8px;padding:10px}
  .stache-sel .chips{order:5;flex-basis:100%}
  .stache-box{padding:18px 16px}
}

/* ---- Clean "app" look (v3) ---- */
.stache{max-width:1180px}
.stache-board{border-radius:10px;box-shadow:0 0 0 2px #111;background:#fff8f0}
.stache-legend{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px 28px;margin:20px 0 6px;font-size:.85rem;color:#4b443f}
.stache-legend .sw{display:inline-block;width:18px;height:18px;border-radius:4px;margin-right:8px;vertical-align:-4px;border:1px solid rgba(0,0,0,.12)}
.sw.av{background:#e9e2d8}
.sw.tk{background:linear-gradient(135deg,#ef5350 25%,#42a5f5 25% 50%,#66bb6a 50% 75%,#ffa726 75%)}
.sw.pr{background:#d9a93a}
.sw.rs{background:#fff;border:1.5px solid #9a8f84!important}
.stache-legend .stache-zoom{display:inline-flex;align-items:center;gap:0;border:1px solid #d8cdc0;border-radius:8px;background:#fff;overflow:hidden}
.stache-legend .stache-zoom button{width:34px;height:32px;min-width:0;padding:0;border:0;border-radius:0;background:#fff;font-size:1.1rem;font-weight:500;color:#4b443f}
.stache-legend .stache-zoom button:hover{background:#f6efe6}
.stache-legend .stache-zoom b{min-width:58px;text-align:center;font-weight:500;border-left:1px solid #e6dccf;border-right:1px solid #e6dccf;line-height:32px}
.stache-tools{margin:0 0 16px}
.stache-ghost{display:inline-flex;gap:6px}
.stache-ghost button{height:30px;padding:0 10px;border:1px solid transparent;background:transparent;border-radius:8px;font:inherit;font-size:.8rem;font-weight:500;color:#6b625b;cursor:pointer}
.stache-ghost button:hover{background:#fff;border-color:#e0d6c9}
.stache-ghost .stache-mode.on{background:#dff0c6;border-color:#8fd13f;color:#1f1a17}
.stache-panel{background:#fff;border:1px solid #eadfd3;border-radius:16px;overflow:hidden;margin-top:16px}
.stache-panel .stache-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:0}
.stache-panel .stache-steps>div{display:flex;gap:16px;align-items:center;padding:24px 28px;background:none;border:0;border-radius:0;font-weight:400;transition:background .15s;transform:none!important;box-shadow:none!important}
.stache-panel .stache-steps>div+div{border-left:1px solid #f0e8de}
.stache-panel .stache-steps>div:hover{background:#fdfaf6}
.stache-steps .ic{flex:none;width:56px;height:56px;border-radius:50%;display:grid;place-items:center}
.stache-steps .ic.g{background:#d8f0b5}.stache-steps .ic.p{background:#fcd3d3}.stache-steps .ic.b{background:#d5e1f6}
.stache-steps b{display:block;width:auto;height:auto;background:none;margin:0 0 4px;font-size:1.02rem;font-weight:700;color:#1f1a17;border-radius:0}
.stache-steps small{display:block;margin:0;font-size:.85rem;line-height:1.45;color:#6b625b}
.stache-panel .stache-progress{max-width:none;margin:0;border:0;border-top:1px solid #f0e8de;border-radius:0;padding:18px 28px 22px;background:#fff}
.stache-panel .stache-progress b{font-size:1rem;font-weight:700}
.stache-panel .stache-bar{height:10px;background:#ece6de;margin-top:10px}
.stache-panel .stache-bar span{background:#8fd13f}
/* hover card (reference style) */
.stache-tip{border-radius:16px;padding:14px 16px;min-width:230px}
.stache-tip .row{gap:12px}
.stache-tip img,.stache-tip .ph{width:52px;height:52px}
.stache-tip .who{display:flex;flex-direction:column;min-width:0}
.stache-tip .who strong{font-size:1rem}
.stache-tip .who small{color:#6b625b;font-size:.78rem}
.stache-tip a{display:block;margin-top:12px;padding-top:10px;border-top:1px solid #f0e8de;text-decoration:none;color:#1f1a17;font-weight:600}
.stache-tip a:hover{color:#5aa10f}
@media(max-width:820px){
  .stache-panel .stache-steps{grid-template-columns:1fr}
  .stache-panel .stache-steps>div+div{border-left:0;border-top:1px solid #f0e8de}
  .stache-panel .stache-steps>div{padding:18px 20px}
}

/* no frame; let the hover card overflow the board */
.stache-board{border:0!important;box-shadow:none!important;background:transparent!important;border-radius:0;overflow:visible}
.stache-board canvas{border-radius:10px}
.stache-tip.below::after{bottom:auto;top:-7px}
/* invisible bridge so the pointer can travel from the spot to the card */
.stache-tip:not(.static)::before{content:"";position:absolute;left:0;right:0;bottom:-18px;height:18px}
.stache-tip.below:not(.static)::before{bottom:auto;top:-18px}

/* review modal: Back on the left, Pay on the right */
.stache-box .btns{justify-content:space-between;align-items:center;flex-wrap:nowrap}
.stache-box .btns .primary{flex:none;margin-left:auto;padding:11px 22px;white-space:nowrap}
@media(max-width:420px){.stache-box .btns{flex-wrap:wrap}.stache-box .btns .primary{flex:1 1 100%;order:-1;margin-left:0}}

/* magnifier button (top right of the board) */
.stache-mag{position:absolute;top:10px;right:10px;z-index:6;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;padding:0;border:1px solid #cfc4b8;border-radius:50%;background:rgba(255,255,255,.95);color:#1f1a17;cursor:pointer;box-shadow:0 4px 14px rgba(60,40,20,.15);transition:transform .15s}
.stache-mag:hover{transform:scale(1.08)}
.stache-mag:focus-visible{outline:3px solid #8fd13f;outline-offset:2px}
.stache-mag svg{animation:stache-nudge 2.4s ease-in-out 1.2s 3}
@keyframes stache-nudge{0%,100%{transform:scale(1)}50%{transform:scale(1.25)}}
@media(max-width:600px){.stache-mag{top:6px;right:6px;width:38px;height:38px}}
@media(prefers-reduced-motion:reduce){.stache-mag svg{animation:none!important}}

/* ---- Right-hand claim sidebar ---- */
.stache{max-width:1360px}
.stache-top{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start}
.stache-main{min-width:0}
.stache-side{position:sticky;top:84px}
.stache-top .stache-sel{display:block;position:static;box-shadow:0 10px 30px rgba(60,40,20,.08);margin:0;padding:22px 22px 18px;background:#fff;border:1px solid #eadfd3;border-left:1px solid #eadfd3;border-radius:18px}
.stache-top .stache-sel.bad{border-left-color:#eadfd3}
.stache-sel h3{margin:0 0 14px;font-size:1rem;font-weight:600;color:#4b443f;text-align:left}
.stache-sel .mini{display:block;width:100%;border-radius:10px;background:#faf6f0;margin-bottom:12px}
.stache-sel .empty{margin:0 0 14px;color:#8a7f75;font-size:.85rem;line-height:1.45}
.stache-sel .flash{background:#fde8e8;color:#8a1f1f;border-radius:10px;padding:8px 12px;margin-bottom:12px;font-size:.85rem;font-weight:600}
.stache-sel .chips{display:flex;flex-wrap:wrap;gap:6px;max-height:84px;overflow:auto;margin:0 0 12px;flex:none;min-width:0}
.stache-sel .row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;border-top:1px solid #f0e8de;font-size:.88rem;color:#6b625b}
.stache-sel .row b{color:#1f1a17}
.stache-sel .row.sel .clear{border:0;background:none;padding:0;font-size:.8rem;color:#8a7f75;text-decoration:underline;cursor:pointer}
.stache-sel .row.total{font-weight:600;color:#1f1a17;padding-bottom:16px}
.stache-sel .row.total b{font-size:1.5rem;letter-spacing:-.02em}
.stache-sel button.claim{display:flex;width:100%;justify-content:center;align-items:center;gap:8px;border:0;border-radius:12px;padding:15px 18px;background:#b4dc3d;color:#17210a;font:inherit;font-weight:700;font-size:1rem;cursor:pointer;box-shadow:none;transition:filter .15s,transform .05s}
.stache-sel button.claim:hover:not(:disabled){filter:brightness(.95)}
.stache-sel button.claim:active:not(:disabled){transform:translateY(1px)}
.stache-sel button.claim:disabled{background:#e3ddd5;color:#9a8f84;cursor:not-allowed}
.stache-sel .note{margin:10px 0 0;font-size:.75rem;color:#9a8f84;text-align:center}
@media(max-width:980px){
  .stache-top{grid-template-columns:1fr;gap:16px}
  .stache-side{position:sticky;bottom:10px;top:auto;z-index:20;order:2}
  .stache-top .stache-sel{padding:12px 14px;display:grid;grid-template-columns:1fr auto;gap:0 14px;align-items:center;box-shadow:0 10px 30px rgba(0,0,0,.2)}
  .stache-sel h3,.stache-sel .mini,.stache-sel .empty,.stache-sel .chips,.stache-sel .note,.stache-sel .flash{display:none}
  .stache-sel.bad .flash{display:block;grid-column:1/-1;margin:0 0 8px}
  .stache-sel .row{border:0;padding:2px 0}.stache-sel .row.sel{grid-column:1;grid-row:1}.stache-sel .row.total{grid-column:1;grid-row:2;padding:0}
  .stache-sel .row.total b{font-size:1.2rem}
  .stache-sel button.claim{grid-column:2;grid-row:1/3;width:auto;padding:12px 18px;white-space:nowrap}
}
.stache-sel .row.sel>span{min-width:0}
.stache-sel .row.sel .clear{white-space:nowrap;flex:none}
.stache-main>.hero{margin:0 0 18px;padding-top:6px}
.stache-top{align-items:start}
.stache-side{top:84px}

/* ---- Claim drawer (slides in from the right) ---- */
.stache{max-width:1180px}
.stache-drawer{position:fixed;z-index:9990;right:16px;top:calc(76px + var(--wp-admin--admin-bar--height,0px));width:340px;max-width:calc(100vw - 32px);max-height:calc(100vh - 100px - var(--wp-admin--admin-bar--height,0px));overflow:auto;transform:translateX(calc(100% + 40px));opacity:0;visibility:hidden;transition:transform .28s cubic-bezier(.2,.8,.2,1),opacity .2s,visibility 0s .28s;border-radius:18px}
.stache-drawer.open{transform:none;opacity:1;visibility:visible;transition:transform .28s cubic-bezier(.2,.8,.2,1),opacity .2s,visibility 0s}
.stache-drawer .stache-sel{display:block;position:relative;margin:0;padding:22px 22px 18px;background:#fff;border:1px solid #eadfd3;border-left:1px solid #eadfd3;border-radius:18px;box-shadow:0 18px 50px rgba(40,25,10,.22)}
.stache-drawer .stache-sel.bad{border-left-color:#eadfd3}
.stache-sel .dclose{position:absolute;top:10px;right:12px;width:32px;height:32px;padding:0!important;border:0!important;background:none!important;font-size:1.6rem;line-height:1;color:#8a7f75;cursor:pointer;border-radius:8px!important}
.stache-sel .dclose:hover{background:#f6efe6!important;color:#1f1a17}
.stache-sel h3{padding-right:34px}
.stache-fab{position:fixed;z-index:9980;right:16px;bottom:16px;border:0;border-radius:999px;padding:13px 22px;background:#b4dc3d;color:#17210a;font:inherit;font-weight:700;box-shadow:0 10px 30px rgba(40,25,10,.28);cursor:pointer}
.stache-fab[hidden]{display:none}
@media(max-width:980px){
  .stache-drawer{left:10px;right:10px;top:auto;bottom:10px;width:auto;max-width:none;max-height:none;transform:translateY(calc(100% + 30px))}
  .stache-drawer .stache-sel{padding:12px 14px;display:grid;grid-template-columns:1fr auto;gap:0 14px;align-items:center;box-shadow:0 10px 30px rgba(0,0,0,.25)}
  .stache-sel .dclose{display:none}
  .stache-fab{display:none!important}
}
.stache-drawer{box-shadow:0 18px 50px rgba(40,25,10,.22);background:#fff}
.stache-drawer .stache-sel{box-shadow:none}
@media(max-width:980px){.stache-drawer{background:transparent;box-shadow:none}.stache-drawer .stache-sel{box-shadow:0 10px 30px rgba(0,0,0,.25)}}
/* shadow + scrolling live on the card itself so nothing is clipped */
.stache-drawer{overflow:visible;background:transparent;box-shadow:none;max-height:none}
.stache-drawer .stache-sel{max-height:calc(100vh - 100px - var(--wp-admin--admin-bar--height,0px));overflow:auto;box-shadow:0 18px 50px rgba(40,25,10,.22)}
@media(max-width:980px){.stache-drawer .stache-sel{max-height:none;overflow:visible;box-shadow:0 10px 30px rgba(0,0,0,.25)}}

/* search */
.stache-search{position:relative;margin:0 0 12px;z-index:30}
.ss-box{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #d8cdc0;border-radius:999px;padding:0 8px 0 16px;height:48px;box-shadow:0 2px 10px rgba(60,40,20,.06);transition:border-color .15s,box-shadow .15s}
.ss-box:focus-within{border-color:#1f1a17;box-shadow:0 0 0 3px rgba(143,209,63,.45)}
.ss-box svg{flex:none;color:#6b625b}
.ss-in{flex:1;min-width:0;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;font:inherit;font-size:1rem;color:#1f1a17;padding:0!important;height:100%;-webkit-appearance:none;appearance:none}
.ss-in::-webkit-search-cancel-button{display:none}
.ss-clear{flex:none;width:32px;height:32px;border:0;border-radius:50%;background:#f1e9df;color:#1f1a17;font-size:1.2rem;line-height:1;cursor:pointer}
.ss-clear:hover{background:#e6dccf}
.ss-list{position:absolute;left:0;right:0;top:calc(100% + 6px);margin:0;padding:6px;list-style:none;background:#fff;border:1px solid #e4d9cc;border-radius:16px;box-shadow:0 16px 40px rgba(60,40,20,.2);max-height:min(420px,60vh);overflow-y:auto}
.ss-list li{display:flex;align-items:center;gap:12px;padding:8px 10px;border-radius:10px;cursor:pointer}
.ss-list li.on{background:#f3f9e8}
.ss-list li.ss-empty{cursor:default;color:#6b625b;padding:14px 12px}
.ss-map{flex:none;border-radius:6px;background:#faf6f0;border:1px solid #e6dccf}
.ss-txt{display:flex;flex-direction:column;min-width:0;line-height:1.3}
.ss-txt b{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ss-txt small{color:#6b625b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ss-txt em{font-style:normal;font-size:.75rem;color:#8a7f75}
@media(max-width:600px){.ss-map{width:84px!important;height:auto!important}.ss-box{height:44px}.ss-in{font-size:16px}}

/* zoom-out sits beside the magnifier */
.stache-mag-out{right:60px}
.stache-mag-out:disabled{opacity:.45;cursor:default;transform:none!important;box-shadow:none}
.stache-mag-out svg{animation:none!important}
@media(max-width:600px){.stache-mag-out{right:50px}}

/* search results sit inline inside the Filters drawer */
.sf-search-slot .stache-search{margin:0}
.sf-search-slot .ss-box{height:42px;box-shadow:none}
.sf-search-slot .ss-in{font-size:.95rem}
.sf-search-slot .ss-list{position:static;box-shadow:none;border:0;border-radius:0;padding:8px 0 0;max-height:none;overflow:visible}
.sf-search-slot .ss-list li{padding:8px 6px}
.sf-search-slot .ss-map{width:88px!important;height:auto!important}

.stache-tip a[href^="mailto:"]{display:block;margin-top:2px;font-weight:700;color:#1f1a17;word-break:break-all}

/* large block card */
.stache-tip .bprice{margin:2px 0 8px;font-size:1.25rem;font-weight:800;color:#1f1a17}
.stache-tip .bbuy{display:block;width:100%;padding:10px 12px;border:0;border-radius:10px;background:#1f1a17;color:#fff;font:inherit;font-weight:700;cursor:pointer}
.stache-tip .bbuy:hover{background:#34291f}

/* pan + reset sit beside the magnifiers */
.stache-mag-pan{right:110px}
.stache-mag-reset{right:160px}
.stache-mag-pan.on{background:#8fd13f;border-color:#5aa10f}
.stache-mag-pan svg,.stache-mag-reset svg{animation:none!important}
.stache-mag-reset:disabled{opacity:.45;cursor:default;transform:none!important;box-shadow:none}
@media(max-width:600px){.stache-mag-pan{right:94px}.stache-mag-reset{right:138px}}

.stache-mag-clear{right:auto;left:10px}  /* left side: the claim drawer slides over the right-hand buttons */
.stache-mag-clear svg{animation:none!important}
.stache-mag-clear:disabled{opacity:.45;cursor:default;transform:none!important;box-shadow:none}
@media(max-width:600px){.stache-mag-clear{left:40px}}

/* spots-claimed indicator with rockets */
.sp-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.sp-txt{flex:1;text-align:center;min-width:0}
.sp-txt small{display:block;margin-top:2px;font-size:.82rem;color:#6b625b}
.rk{flex:none;display:block;line-height:0}
.rk svg{display:block;overflow:visible}
.rk-pad svg{animation:rkShake 1.4s ease-in-out infinite;transform-origin:50% 100%}
.rk-fly svg{animation:rkFloat 2.2s ease-in-out infinite}
.rk-flame{animation:rkFlame .28s ease-in-out infinite alternate;transform-box:fill-box;transform-origin:50% 0}
.rk-trail{animation:rkTrail 1.6s ease-out infinite}
@keyframes rkShake{0%,100%{transform:translateX(0)}25%{transform:translateX(-.6px)}75%{transform:translateX(.6px)}}
@keyframes rkFloat{0%,100%{transform:translateY(2px)}50%{transform:translateY(-4px)}}
@keyframes rkFlame{from{transform:scaleY(.8)}to{transform:scaleY(1.15)}}
@keyframes rkTrail{0%{opacity:.9;transform:translateY(0)}100%{opacity:0;transform:translateY(5px)}}
@media(prefers-reduced-motion:reduce){.rk-pad svg,.rk-fly svg,.rk-flame,.rk-trail{animation:none}}
@media(max-width:600px){.rk svg{width:30px;height:38px}.sp-txt small{font-size:.76rem}}

.link-hint{display:block;font-weight:400;font-size:.82rem;line-height:1.4;color:#6b625b;margin:2px 0 6px}

/* phones: smaller map buttons so they cover less of the stache */
@media(max-width:600px){
.stache-mag{top:4px;right:4px;width:30px;height:30px}
.stache-mag svg{width:16px;height:16px}
.stache-mag-out{right:40px}
.stache-mag-pan{right:76px}
.stache-mag-reset{right:112px}
.stache-mag-clear{left:36px}
}

/* desktop: zoom / move / reset tools sit together at the top centre of the board */
@media(min-width:601px){
.stache .stache-board button.stache-mag{right:auto!important;top:10px!important}
.stache .stache-board button.stache-mag-reset{left:calc(50% - 96px)!important}
.stache .stache-board button.stache-mag-pan{left:calc(50% - 46px)!important}
.stache .stache-board button.stache-mag-out{left:calc(50% + 4px)!important}
.stache .stache-board button.stache-mag:not(.stache-mag-reset):not(.stache-mag-pan):not(.stache-mag-out):not(.stache-mag-clear){left:calc(50% + 54px)!important}
.stache .stache-board button.stache-mag-clear{left:10px!important}
}

/* phones: same centred tool group, smaller buttons */
@media(max-width:600px){
.stache .stache-board button.stache-mag{right:auto!important;top:4px!important;width:30px;height:30px}
.stache .stache-board button.stache-mag-reset{left:calc(50% - 69px)!important}
.stache .stache-board button.stache-mag-pan{left:calc(50% - 33px)!important}
.stache .stache-board button.stache-mag-out{left:calc(50% + 3px)!important}
.stache .stache-board button.stache-mag:not(.stache-mag-reset):not(.stache-mag-pan):not(.stache-mag-out):not(.stache-mag-clear){left:calc(50% + 39px)!important}
.stache .stache-board button.stache-mag-clear{left:4px!important}
}

/* phones: smaller step icons */
@media(max-width:600px){
#stache-app .stache-steps .ic{width:38px!important;height:38px!important}
#stache-app .stache-steps .ic svg{width:17px!important;height:17px!important}
#stache-app .stache-panel .stache-steps>div{gap:12px!important;padding:14px 18px!important}
#stache-app .stache-steps b{font-size:.95rem!important;margin-bottom:2px!important}
#stache-app .stache-steps small{font-size:.8rem!important}
}

/* tools sit in their own strip above the board so they never cover the stache */
.stache .stache-board{margin-top:54px}
.stache .stache-board button.stache-mag{top:-50px!important}
@media(max-width:600px){
.stache .stache-board{margin-top:40px}
.stache .stache-board button.stache-mag{top:-36px!important}
}

/* hint + reset / move row: centred */
#stache-app .stache-tools{display:flex!important;flex-direction:column;align-items:center!important;justify-content:center;text-align:center!important}
#stache-app .stache-ghost{display:inline-flex!important;justify-content:center!important;margin:0 auto}

/* one centred group of five tools, with equal space above and below */
.stache .stache-board{margin-top:60px!important}
.stache .stache-board button.stache-mag{top:-60px!important}
.stache .stache-board button.stache-mag-clear{left:calc(50% - 125px)!important}
.stache .stache-board button.stache-mag-reset{left:calc(50% - 75px)!important}
.stache .stache-board button.stache-mag-pan{left:calc(50% - 25px)!important}
.stache .stache-board button.stache-mag-out{left:calc(50% + 25px)!important}
.stache .stache-board button.stache-mag:not(.stache-mag-reset):not(.stache-mag-pan):not(.stache-mag-out):not(.stache-mag-clear){left:calc(50% + 75px)!important}
@media(max-width:600px){
.stache .stache-board{margin-top:42px!important}
.stache .stache-board button.stache-mag{top:-42px!important}
.stache .stache-board button.stache-mag-clear{left:calc(50% - 87px)!important}
.stache .stache-board button.stache-mag-reset{left:calc(50% - 51px)!important}
.stache .stache-board button.stache-mag-pan{left:calc(50% - 15px)!important}
.stache .stache-board button.stache-mag-out{left:calc(50% + 21px)!important}
.stache .stache-board button.stache-mag:not(.stache-mag-reset):not(.stache-mag-pan):not(.stache-mag-out):not(.stache-mag-clear){left:calc(50% + 57px)!important}
}

/* roomier, equal gaps above and below the tool row */
.stache .stache-board{margin-top:66px!important}
.stache .stache-board button.stache-mag{top:-64px!important}
@media(max-width:600px){
.stache .stache-board{margin-top:52px!important}
.stache .stache-board button.stache-mag{top:-48px!important}
}

/* phones: the three steps centred, icon above the text */
@media(max-width:600px){
#stache-app .stache-panel .stache-steps>div{flex-direction:column!important;align-items:center!important;text-align:center!important;gap:8px!important;padding:16px 18px!important}
#stache-app .stache-steps>div>span:not(.ic){display:block;text-align:center}
#stache-app .stache-steps small{text-align:center!important}
}

/* phones: tool row a little lower, closer to the map */
@media(max-width:600px){
.stache .stache-board button.stache-mag{top:-38px!important}
}

/* purchase form: the "Image fit" dropdown matches the text fields */
.stache-box label select{display:block;width:100%;margin-top:4px;padding:10px 38px 10px 12px;border:1px solid #cfc4b8;border-radius:8px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%236b625b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center/12px;color:#1f1a17;font:inherit;font-weight:400;line-height:1.3;cursor:pointer;-webkit-appearance:none;appearance:none}
.stache-box label select:focus{outline:3px solid #8fd13f;outline-offset:1px;border-color:#5aa10f}
