.counter-world{padding:95px 24px;background:#f4f3ef;color:#253128}.counter-world-inner{max-width:1280px;margin:auto}.counter-world .eyebrow{font-size:12px;letter-spacing:2px;text-transform:uppercase;color:#7c805f}.counter-world h2{font-size:clamp(32px,4vw,56px);letter-spacing:-2px;line-height:1.08;margin:16px 0}.counter-world p{color:#677066;max-width:680px;line-height:1.7}.counter-toolbar{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin:28px 0 18px}.counter-toolbar button,.counter-controls button{border:1px solid #d1d5cb;background:#fff;color:#29352a;padding:11px 18px;border-radius:24px;cursor:pointer;font:inherit;font-size:13px}.counter-toolbar button[aria-pressed=true]{background:#293e31;color:#fff;border-color:#293e31}.counter-divider{width:1px;height:28px;background:#d1d5cb;margin:0 8px}.counter-stage{position:relative;height:620px;border-radius:24px;overflow:hidden;background:#d7ddd5;box-shadow:0 18px 50px #25352815}.counter-stage canvas{width:100%;height:100%;display:block;touch-action:none;cursor:grab;outline-offset:-5px}.counter-stage canvas:active{cursor:grabbing}.counter-stage-badge{position:absolute;left:24px;top:24px;padding:10px 16px;border-radius:18px;background:#ffffffdf;color:#324635;font-size:12px;pointer-events:none}.counter-controls{position:absolute;bottom:22px;left:22px;right:22px;display:flex;justify-content:space-between;gap:8px;align-items:end;pointer-events:none}.counter-controls>*{pointer-events:auto}.counter-pad{display:grid;grid-template-columns:repeat(3,42px);gap:5px}.counter-pad button{padding:0;width:42px;height:42px;background:#ffffffdc;border-radius:12px}.counter-pad button:first-child{grid-column:2}.counter-pad button:nth-child(2){grid-column:1;grid-row:2}.counter-pad button:nth-child(3){grid-column:2;grid-row:2}.counter-pad button:nth-child(4){grid-column:3;grid-row:2}.counter-actions{display:flex;gap:8px}.counter-actions button{background:#ffffffed}.counter-help{display:flex;justify-content:space-between;gap:20px;font-size:12px;color:#687364;padding-top:16px;line-height:1.6}.counter-note{font-size:12px!important}.counter-fallback{padding:48px;line-height:1.7}.counter-stage:fullscreen{height:100vh;border-radius:0}.counter-stage:fullscreen canvas{height:100%}@media(max-width:700px){.counter-world{padding:65px 16px}.counter-stage{height:520px}.counter-toolbar{gap:7px}.counter-toolbar button{padding:10px 13px}.counter-divider{display:none}.counter-help{flex-direction:column;gap:4px}.counter-actions button{padding:10px 12px;font-size:12px}.counter-stage-badge{left:16px;top:16px}}
.counter-views{position:absolute;right:20px;top:20px;display:flex;gap:6px}.counter-views[hidden]{display:none}.counter-views button{border:1px solid #ffffff70;border-radius:18px;background:#ffffffde;padding:10px 13px;color:#354833;font:inherit;font-size:12px;cursor:pointer}@media(max-width:700px){.counter-views{top:60px;right:14px;left:14px;justify-content:flex-start}.counter-views button{padding:8px 11px;font-size:11px}}
@media(max-width:700px){.counter-actions{flex-direction:column;align-items:flex-end;gap:5px}.counter-actions button{padding:8px 12px}}
.counter-views{flex-wrap:wrap}@media(max-width:700px){.counter-views{max-width:calc(100% - 28px)}}
.counter-actions button{width:44px;height:44px;padding:0!important;border-radius:50%;display:grid;place-items:center}.counter-actions{flex-direction:row!important;align-items:center!important}.counter-views{top:20px!important;left:auto!important;max-width:calc(100% - 28px)}.counter-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:32px 0}
.counter-card{padding:0;border:1px solid #deded4;border-radius:20px;overflow:hidden;text-align:left;cursor:pointer;background:#fff;color:#253128;font:inherit;transition:transform .2s,box-shadow .2s}
.counter-card:hover{transform:translateY(-5px);box-shadow:0 16px 32px #25352815}.counter-card:focus-visible{outline:3px solid #69836a;outline-offset:4px}
.counter-card-image{display:block;aspect-ratio:458/468;background-image:url('./shop-concepts/shop-cards-user.png');background-size:300% 100%;background-repeat:no-repeat}
.counter-card-cafe{background-position:left center}.counter-card-truck{background-position:center center}.counter-card-kiosk{background-position:right center}
.counter-card-copy{display:flex;flex-direction:column;gap:10px;padding:24px}.counter-card-copy strong{font-size:25px;letter-spacing:-.6px}.counter-card-copy>span{font-size:14px;color:#677066}.counter-card-copy .counter-card-link{margin-top:8px;color:#293e31;font-weight:600;display:flex;justify-content:space-between}
.counter-dialog{box-sizing:border-box;width:min(1500px,96vw);max-width:96vw;max-height:96dvh;padding:18px;border:0;border-radius:24px;background:#f4f3ef;color:#253128;box-shadow:0 30px 100px #0006;overflow:auto}
.counter-dialog::backdrop{background:#16271ddb;backdrop-filter:blur(7px)}.counter-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 6px 16px}.counter-dialog-header h3{margin:0;font-size:22px}.counter-dialog .counter-toolbar{margin:0}.counter-dialog .counter-stage{height:calc(92dvh - 130px);min-height:340px}.counter-dialog .counter-help{padding:12px 6px 0}
.counter-close{position:absolute;left:20px;top:20px;z-index:2;width:44px;height:44px;display:grid;place-items:center;border:1px solid #ffffff70;border-radius:50%;background:#ffffffed;color:#29352a;cursor:pointer}
.counter-dialog .counter-views{max-width:calc(100% - 90px)}
@media(max-width:700px){.counter-cards{grid-template-columns:1fr;gap:18px}.counter-card-image{aspect-ratio:1.25}.counter-dialog{padding:10px;border-radius:18px;width:98vw;max-width:98vw;max-height:98dvh}.counter-dialog-header{align-items:flex-start;gap:8px}.counter-dialog-header h3{font-size:18px;padding-top:8px}.counter-dialog .counter-toolbar{justify-content:flex-end;gap:5px}.counter-dialog .counter-toolbar button{font-size:11px;padding:9px 10px}.counter-dialog .counter-stage{height:calc(94dvh - 150px);min-height:300px}.counter-dialog .counter-views{top:14px!important;right:10px;gap:4px}.counter-dialog .counter-views button{padding:8px;font-size:10px}.counter-close{left:12px;top:14px;width:38px;height:38px}.counter-dialog .counter-controls{left:12px;right:12px;bottom:14px}}
/* Match the Hardware page's charcoal surfaces and SUNMI orange accent. */
.counter-world{background:radial-gradient(circle at 25% 0,rgba(245,124,0,.10),transparent 40%),#030303;color:#f5f5f7}
.counter-world .eyebrow{color:var(--apple-accent,#f57c00)}.counter-world p,.counter-card-copy>span,.counter-help{color:#a1a1a6}
.counter-card{background:#141415;color:#f5f5f7;border-color:#ffffff1f}.counter-card:hover{border-color:#f57c0066;box-shadow:0 18px 40px #0006}.counter-card:focus-visible{outline-color:var(--apple-accent,#f57c00)}.counter-card-copy .counter-card-link{color:#ff9b35}
.counter-dialog{background:linear-gradient(145deg,#181411,#0b0b0c 55%);color:#f5f5f7;border:1px solid #ffffff1f;box-shadow:0 30px 100px #000b; color-scheme:dark}
.counter-dialog::backdrop{background:#000000d9}.counter-dialog-header h3{color:#f5f5f7}
.counter-toolbar button,.counter-controls button,.counter-views button,.counter-close{background:#171719eb;color:#f5f5f7;border-color:#ffffff26;backdrop-filter:blur(10px);transition:background .2s,border-color .2s,color .2s}
.counter-toolbar button[aria-pressed=true]{background:var(--apple-accent,#f57c00);border-color:var(--apple-accent,#f57c00);color:#fff}
.counter-toolbar button:hover,.counter-controls button:hover,.counter-views button:hover,.counter-close:hover{background:#302117;border-color:#ff9b35;color:#ffb36a}
.counter-toolbar button[aria-pressed=true]:hover{background:#e87300;color:#fff}
.counter-stage{background:#171719;box-shadow:0 18px 50px #0004}.counter-stage canvas:focus{outline:none}.counter-stage canvas:focus-visible{outline:2px solid #ff9b3566;outline-offset:-3px}
.counter-world button:focus-visible{outline:2px solid #ff9b35;outline-offset:3px}.counter-divider{background:#ffffff26}.counter-stage-badge{background:#171719eb;color:#f5f5f7}
/* Fill the available browser viewport on desktop, tablet and phone. */
.counter-dialog{position:fixed;inset:0;margin:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;padding:clamp(8px,1.2vw,20px);border-radius:0;overflow:hidden}
.counter-dialog[open]{display:flex;flex-direction:column;gap:12px}
.counter-dialog .counter-dialog-header{flex:0 0 auto;margin:0 6px;min-height:40px}
.counter-dialog .counter-stage{flex:1 1 0;width:100%;height:auto;min-height:0}
.counter-dialog .counter-help{flex:0 0 auto;padding:0 6px;gap:8px}
.counter-dialog .counter-stage:fullscreen{height:100dvh;min-height:100dvh;flex:none}
@media(max-width:700px){.counter-dialog[open]{gap:8px}.counter-dialog .counter-help{font-size:10px}.counter-dialog .counter-dialog-header{margin:0 2px}}
.counter-mobile-navigation{display:none}
@media(max-width:1024px){
 .counter-dialog{padding:calc(8px + env(safe-area-inset-top)) 8px calc(8px + env(safe-area-inset-bottom))}
 .counter-dialog .counter-dialog-header{flex-direction:column;gap:8px;align-items:stretch;margin:0 4px}
 .counter-dialog-header h3{font-size:20px;padding:0!important}
 .counter-dialog .counter-toolbar{justify-content:flex-start;flex-wrap:wrap}
 .counter-dialog .counter-toolbar button{min-height:44px;font-size:12px;padding:10px 14px}
 .counter-mobile-navigation{display:block;flex:0 0 auto;min-width:0}
 .counter-dialog .counter-mobile-navigation .counter-views{position:static!important;display:flex;flex-wrap:nowrap;max-width:100%;overflow-x:auto;gap:6px;padding:2px;scrollbar-width:thin}
 .counter-dialog .counter-mobile-navigation .counter-views[hidden]{display:none}
 .counter-dialog .counter-mobile-navigation button{flex:0 0 auto;min-height:44px;font-size:12px;padding:10px 14px;white-space:nowrap}
 .counter-close{width:44px;height:44px;left:10px;top:10px}
 .counter-pad button{min-width:44px;min-height:44px}
 .counter-dialog .counter-help{font-size:11px;line-height:1.5;flex-wrap:wrap}
 .counter-stage canvas{touch-action:none}
}
@media(max-width:1024px) and (max-height:500px){
 .counter-dialog .counter-dialog-header{flex-direction:row;align-items:center}
 .counter-dialog[open]{gap:4px}.counter-dialog .counter-help{display:none}
 .counter-dialog .counter-toolbar button{min-height:40px}
}
