@font-face{font-family:Roboto;src:url('../fonts/roboto-medium.ttf') format('truetype');font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:Roboto;src:url('../fonts/roboto-bold.ttf') format('truetype');font-style:normal;font-weight:700;font-display:swap}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
/* The final screen follows the supplied layout and scrolls with the page. */
.finale-open .app{max-width:1496px;padding:0 0 20px}
.finale-open .game{height:auto;min-height:0;border:0;border-radius:0}
.finale-open #court{position:absolute;inset:0;height:640px;visibility:hidden;pointer-events:none}
.finale-open .game-top,.finale-open .game-bottom,.finale-open .callout,.finale-open .feedback,.finale-open .streak{display:none}
.finale-open .result{position:relative;inset:auto;overflow:visible;min-height:600px}
.stage-ending .result-layout{display:grid;grid-template-columns:minmax(290px,42fr) minmax(0,58fr);grid-template-rows:auto auto;grid-template-areas:'result scene' 'result products';align-items:start;align-content:start;gap:26px clamp(28px,4vw,64px);padding:clamp(26px,3.8vw,56px);min-height:0}
.stage-ending .result-card{display:block;grid-area:result;max-width:none;min-width:0}
.stage-ending h2{font-size:clamp(28px,2.55vw,36px);line-height:1.2;font-weight:700;letter-spacing:-.5px;color:#111;text-align:left;margin:5px 0 76px}
.result-total{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.result-total-label{font-size:22px;line-height:1.3;font-weight:400;color:#111}
.stage-ending .result-score.bonus-pill{display:inline-flex;flex-direction:row;align-items:center;justify-content:center;width:fit-content;gap:6px;padding:3px 8px;color:#111;margin:0}
.stage-ending .result-amount{display:flex;align-items:baseline;gap:0;color:#111;line-height:1.1}
.stage-ending .result-score.bonus-pill strong,.stage-ending .result-amount>span{font-size:28px;line-height:1.1;letter-spacing:-.5px;color:#111}
.stage-ending .result-score .bonus-emblem{width:30px;height:30px}
.stage-ending .bonus-panel{max-width:370px;padding:0;margin:0;border:0;color:#111}
.stage-ending .bonus-panel details{margin:16px 0 20px}
.stage-ending .bonus-panel summary{display:inline-flex;align-items:center;gap:12px;list-style:none;font-size:var(--text-small);font-weight:400}
.stage-ending .bonus-panel summary::-webkit-details-marker{display:none}
.stage-ending .bonus-panel summary::marker{content:''}
.breakdown-chevron{display:block;width:16px;height:16px;flex-shrink:0;transition:transform .18s}
#bonus-breakdown[open] .breakdown-chevron{transform:rotate(180deg)}
.stage-ending #bonus-offer{max-width:335px;margin:0;font-size:var(--text-small);line-height:1.45;font-weight:400;color:#111}
.stage-ending .bonus-auth{display:none}
.bonus-account-summary span{display:block}
.result-actions{margin-top:64px;max-width:334px}
.stage-ending .claim-bonus{justify-content:center;min-height:46px;padding:9px 12px;gap:6px;background:#b0df2b;border-radius:5px;color:#111;text-align:center}
.stage-ending .claim-bonus-label,.stage-ending #claim-bonus-label{font-size:16px;font-weight:500;line-height:1.3;font-variant-numeric:tabular-nums}
.stage-ending .claim-bonus>img{width:24px;height:24px;object-fit:contain}
.stage-ending .claim-bonus .claim-currency{display:block;width:17px;height:17px;flex-shrink:0;transform:translateY(-9%)}
.stage-ending .claim-arrow{width:24px;height:24px;margin-left:8px;flex-shrink:0}
.stage-ending .claim-bonus:hover{background:#c0e65b}
.stage-ending .play-again{justify-content:center;min-height:46px;max-width:none;width:100%;gap:9px;padding:10px 12px;margin-top:16px;border:1px solid #111;border-radius:5px;color:#111;text-align:center}
.stage-ending #play-again-label{font-size:16px;font-weight:500}
.stage-ending .play-again:hover{background:#f4f7ee}
.stage-ending .replay-icon{width:24px;height:24px;object-fit:contain}
.stage-ending .replay-warning{font-size:14px;line-height:1.4;color:#707070;text-align:center;margin:9px -4px 0}
.stage-ending .bonus-status{font-size:var(--text-small);line-height:1.4;color:#707070;margin:16px 0 0}
.stage-ending .bonus-status a{color:#54ae3f;text-decoration:underline}
.stage-ending .build-evening{display:none}
.stage-ending .finale-scene,.stage-ending.preview .finale-scene{grid-area:scene;width:100%;height:auto;margin:0;position:relative}
.stage-ending .finale-scene canvas,.stage-ending.preview .finale-scene canvas{display:block;width:100%;height:auto;aspect-ratio:740/440;pointer-events:none}
.stage-ending .stage-products{grid-area:products;border:0;margin:0;padding:0;scroll-margin:24px}
.stage-ending .product-list{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:clamp(164px,30%,190px);gap:10px;align-items:stretch;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:4px;overscroll-behavior-x:contain;padding:4px;scrollbar-width:none;touch-action:pan-x pan-y pinch-zoom}
.product-card{display:flex;flex-direction:column;min-width:0;position:relative;isolation:isolate;background:#fff;scroll-snap-align:start;padding:5px;border:1px solid transparent;border-radius:5px;transition:border-color .18s,box-shadow .18s;touch-action:pan-x pan-y pinch-zoom}
.product-card.is-selected,.product-card.is-scene-active,.product-card:focus-within{border-color:#78993f;box-shadow:0 0 9px #9cc45326}
@media(hover:hover) and (pointer:fine){.product-card:hover{border-color:#78993f;box-shadow:0 0 9px #9cc45326}}
.stage-ending .product-list a{position:static;display:block;min-height:0;padding:0;border:0;border-radius:0;background:none;color:#111;text-decoration:none}
.stage-ending .product-list a:hover{background:none;color:#111}
.product-visual{position:relative;aspect-ratio:1;background:#fff;margin-bottom:12px;overflow:hidden}
.stage-ending .product-list .product-image{display:block;width:100%;height:100%;padding:10px}
.product-image img{display:block;width:100%;height:100%;object-fit:contain}
.product-favorite{position:absolute;z-index:2;top:0;right:0;width:36px;height:36px;display:grid;place-items:center;padding:0;border:0;background:transparent;cursor:pointer}
.product-favorite::before{content:'';width:24px;height:22px;background:#6e6e6e;mask:url('/local/templates/acctech_next/assets/images/favorite-search-outline-figma.svg') center / contain no-repeat}
.product-favorite[aria-pressed=true]::before{background:#000;mask-image:url('/local/templates/acctech_next/assets/images/favorite-search-filled-figma.svg')}
@media(hover:hover) and (pointer:fine){
  .product-favorite[aria-pressed=false]:enabled:hover::before{mask-image:url('/local/templates/acctech_next/assets/images/favorite-search-filled-figma.svg')}
}
.product-favorite:focus-visible{outline:2px solid #1f1f1f;outline-offset:2px;border-radius:4px}
.product-favorite:disabled{opacity:.45;cursor:wait}
.product-favorite.is-pulsing::before{animation:product-favorite-pulse 900ms ease-in-out}
@keyframes product-favorite-pulse{
  0%,78%,100%{transform:scale(1)}
  20%{transform:scale(1.2)}
  38%{transform:scale(.97)}
  56%{transform:scale(1.1)}
}
.product-stock{display:flex;align-items:center;gap:7px;font-size:var(--text-small);line-height:1.4;color:#111;margin-bottom:7px}
.product-stock i{display:block;width:6px;height:6px;border-radius:50%;background:#83c440;flex-shrink:0}
.stage-ending .product-list .product-name{font-size:16px;line-height:1.3;font-weight:500;overflow-wrap:anywhere;margin:0 0 8px}
.product-price{font-size:18px;line-height:1.3;font-weight:500;color:#111;margin-top:auto;margin-bottom:20px}
.stage-ending .product-list .product-buy{display:flex;align-items:center;justify-content:center;min-height:40px;padding:9px 8px;background:#050505;color:#fff;border-radius:4px;font-size:var(--text-small);line-height:1.4;font-weight:500}
.stage-ending .product-list .product-buy:hover{background:#303030;color:#fff}
.stage-ending .stage-advice{display:block;width:100%;margin:32px 0 0;text-align:right;font-size:var(--text-small);line-height:1.5;color:#111}
.stage-advice p{margin:0 0 12px}
.messenger-links{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px 16px}
.stage-advice .messenger-links>span{color:#111;margin-right:3px}
.messenger-links a{display:flex;align-items:center;gap:6px;min-height:36px;text-decoration:none;color:#111;font-size:16px;white-space:nowrap}
.messenger-links img{display:block;width:22px;height:22px;object-fit:contain}
.messenger-links a:hover{text-decoration:underline;text-underline-offset:4px}
.stage-ending.preview .result-total{display:none}
.stage-ending.preview h2{text-align:left;margin-bottom:28px}
.stage-ending.preview .result-layout{justify-content:initial}
.scene-products{display:none}
.scene-picture{position:relative;width:100%}
.scene-touch-hint,.scene-tap-marker{display:none}
.stage-ending .scene-products{display:block;position:absolute;inset:0;z-index:3;pointer-events:none}
.scene-hotspot{position:absolute;display:block;margin:0;padding:0;border:0;background:transparent;color:inherit;pointer-events:auto;cursor:pointer;touch-action:pan-y;min-width:36px;min-height:36px}
/* The illustration fills green; hotspots remain invisible so perspective is preserved. */
.scene-hotspot:focus-visible{outline:none}
.scene-truss{left:1%;right:1%;top:0;height:8%;z-index:0}
.scene-head-left,.scene-head-right{top:8%;width:11%;height:23%}
.scene-head-left{left:11.5%}.scene-head-right{left:77.5%}
.scene-ball{left:40%;top:18.5%;width:20%;height:35%;border-radius:50%}
.scene-motor{left:45.5%;top:7%;width:9.5%;height:10.5%}
.scene-fog-left,.scene-fog-right{top:67.5%;width:12%;height:18%}
.scene-fog-left{left:16.5%}.scene-fog-right{left:71.5%}
@media(hover:none),(pointer:coarse){
 .stage-ending .scene-touch-hint{display:block;max-width:300px;margin:10px auto 0;padding:0 10px;text-align:center;color:#68735d;font-size:var(--text-small);line-height:1.45}
}
@media(max-width:650px) and (hover:none),(max-width:650px) and (pointer:coarse){
 .stage-ending .scene-tap-marker{display:block;position:absolute;left:70%;top:65%;width:24px;height:24px;transform:translate(-50%,-50%);border-radius:50%;background:transparent;pointer-events:none}
 .scene-tap-marker::before{content:'';position:absolute;left:50%;top:50%;width:12px;height:12px;border:1px solid #242424;border-radius:50%;background:#242424;transform:translate(-50%,-50%)}
 .scene-tap-marker::after{content:'';position:absolute;inset:0;border:1.25px solid #8eac58;border-radius:50%;background:transparent;opacity:.8;animation:scene-tap-ring 3s ease-out var(--tap-delay,0s) infinite}
 .scene-truss .scene-tap-marker{left:32%;top:50%;--tap-delay:0s}
 .scene-head-left .scene-tap-marker{--tap-delay:.4s}
 .scene-head-right .scene-tap-marker{--tap-delay:1.8s}
 .scene-ball .scene-tap-marker{left:80%;top:70%;--tap-delay:.9s}
 .scene-motor .scene-tap-marker{left:80%;top:45%;--tap-delay:1.3s}
 .scene-fog-left .scene-tap-marker{--tap-delay:2.2s}
 .scene-fog-right .scene-tap-marker{--tap-delay:2.6s}
 .scene-hotspot.is-discovered .scene-tap-marker{display:none}
}
@keyframes scene-tap-ring{0%,18%,100%{transform:scale(1);opacity:.8}62%{transform:scale(1.5);opacity:0}63%{transform:scale(1);opacity:0}82%{opacity:.8}}
@media(max-width:1100px){
 .stage-ending .result-layout{grid-template-columns:minmax(280px,40fr) minmax(0,60fr);gap:24px 28px;padding:28px}
 .stage-ending h2{font-size:28px;margin-bottom:54px}
 .result-total-label{font-size:22px}
 .result-actions{margin-top:44px}
}
@media(max-width:860px){
 .stage-ending .result-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;grid-template-areas:'result' 'scene' 'products';padding:24px;gap:28px}
 .stage-ending .result-card{width:100%;max-width:480px;margin:0 auto}
 .stage-ending h2{font-size:28px;margin:0 0 32px;line-height:1.2;text-align:left}
 .result-actions{max-width:none;margin-top:30px}
 .stage-ending .bonus-panel{max-width:none}
 .stage-ending .finale-scene canvas,.stage-ending.preview .finale-scene canvas{aspect-ratio:740/440}
 .stage-ending .stage-products{width:100%;max-width:680px;margin:0 auto}
 .stage-ending .product-list{grid-auto-columns:clamp(150px,44%,200px);gap:10px}
 .stage-ending .stage-advice{text-align:left;margin-top:26px}
 .messenger-links{justify-content:flex-start;gap:7px 12px}
}
@media(max-width:480px){
 .stage-ending .result-layout{padding:22px 14px;gap:24px}
 .stage-ending h2{font-size:26px;letter-spacing:-.35px}
 .result-total{gap:10px}
 .result-total-label{font-size:20px}
 .stage-ending .result-score.bonus-pill strong,.stage-ending .result-amount>span{font-size:24px}
 .stage-ending .result-score .bonus-emblem{width:26px;height:26px}
 .stage-ending .finale-scene,.stage-ending.preview .finale-scene{width:calc(100% + 16px);margin:0 -8px}
 .stage-ending .finale-scene canvas,.stage-ending.preview .finale-scene canvas{aspect-ratio:520/420}
 .scene-head-left,.scene-head-right{top:9%;width:16%;height:24%}
 .scene-head-left{left:6%}.scene-head-right{left:78%}
 .scene-ball{left:35.5%;top:19.5%;width:29%;height:36.5%}
 .scene-motor{left:43.5%;top:7%;width:13%;height:11.5%}
 .scene-fog-left,.scene-fog-right{top:70.5%;width:16%;height:19%}
 .scene-fog-left{left:14.5%}.scene-fog-right{left:69.5%}
 .stage-ending .product-list{grid-auto-columns:max(128px,calc((100% - 32px)/2.15));gap:8px}
 .product-card{padding:4px}
 .product-visual{margin-bottom:10px}
 .stage-ending .product-list .product-name{font-size:var(--text-small);line-height:1.4}
 .product-price{font-size:16px;margin-bottom:14px}
 .product-favorite{width:38px;height:38px}
 .stage-ending .product-list .product-buy{min-height:42px}
 .messenger-links>span{width:100%}
 .messenger-links a{font-size:var(--text-small)}
}
@media(max-width:360px){.stage-ending h2{font-size:24px}.stage-ending .result-layout{padding-inline:14px}}
@media(prefers-reduced-motion:reduce){.product-card{transition:none}.scene-tap-marker::after{animation:none!important;transform:none;opacity:.75}}

.stage-ending .product-list::-webkit-scrollbar{display:none}
.stage-ending .product-list:focus-visible{outline:1px solid #78993f;outline-offset:3px}
.product-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
.product-navigation[hidden]{display:none}
.product-scroll-hint{font-size:var(--text-small);line-height:1.4;color:#68735d}
.product-nav-buttons{display:flex;gap:6px}
.product-nav-buttons button{width:40px;height:40px;padding:8px;display:grid;place-items:center;border:1px solid #c8c8c8;border-radius:50%;background:#fff;color:#242424}
.product-nav-buttons svg{width:22px;height:22px;fill:currentColor}
.product-nav-buttons button:disabled{opacity:.3;cursor:default}
.product-nav-buttons button:focus-visible{outline:2px solid #78993f;outline-offset:2px}
@media(hover:hover){.product-nav-buttons button:hover:not(:disabled){background:#edf4e0;border-color:#78993f}}
@media(pointer:coarse){.product-nav-buttons button{width:44px;height:44px}}

@media(hover:hover) and (pointer:fine){
 .stage-ending .product-list{cursor:grab}
 .stage-ending .product-list .product-image{cursor:grab}
 .stage-ending .product-list.is-dragging,.stage-ending .product-list.is-dragging *{cursor:grabbing!important}
}
.stage-ending .product-list.is-dragging{scroll-snap-type:none;scroll-behavior:auto;user-select:none;-webkit-user-select:none}
.product-image img{-webkit-user-drag:none}

.stage-ending .claim-amount{display:inline-flex;align-items:center;gap:4px;vertical-align:baseline;white-space:nowrap;font:inherit;line-height:20px}
.stage-ending .claim-amount>span{font:inherit}

/* Quick add uses the cart artwork supplied in Frame 112(1).pdf. */
.product-cart{position:absolute;right:4px;bottom:4px;z-index:2;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:#000;color:#fff;display:grid;place-items:center;box-shadow:none;transition:opacity .18s,transform .12s,background-color .18s;cursor:pointer;touch-action:manipulation}
.product-cart>*{pointer-events:none}
.product-cart .cart-icon{display:block;width:100%;height:100%;transition:filter .18s}
.product-cart.is-added{background:#b6d07f;color:#242424}
.product-cart:focus-visible{outline:2px solid #a1bc66;outline-offset:3px}
.product-cart.is-loading{opacity:.7}
.product-cart.is-loading::after{content:'';position:absolute;inset:4px;border:1.5px solid transparent;border-top-color:#fff;border-radius:50%;animation:cart-pending .8s linear infinite}
@keyframes cart-pending{to{transform:rotate(360deg)}}
@media(hover:hover) and (pointer:fine){
 .product-cart{opacity:0;pointer-events:none;transform:translateY(3px)}
 .product-card:hover .product-cart,.product-card:focus-within .product-cart,.product-cart.is-loading,.product-cart.is-added{opacity:1;pointer-events:auto;transform:none}
 .product-cart:hover{background:#b6d07f;color:#242424;box-shadow:none}
 .product-cart:hover .cart-icon{filter:brightness(0)}
}
@media(hover:none),(pointer:coarse){.product-cart{width:48px;height:48px;opacity:1;pointer-events:auto;transform:none}}
.product-cart:active:not(:disabled){transform:scale(.91);background:#b6d07f;color:#242424}
.product-cart:active .cart-icon{filter:brightness(0)}
.cart-demo-note{font-size:var(--text-small);line-height:1.4;color:#707070;margin:0 0 12px}
/* Same feedback component as the site's cart prototype; later approved square corners. */
.cart-notice{position:fixed;top:var(--aktek-toast-top,94px);right:max(24px,calc((100vw - 1456px)/2));z-index:50;width:354px;max-width:calc(100vw - 24px);display:grid;grid-template-columns:54px minmax(0,1fr);gap:14px;padding:20px 36px 20px 18px;background:#1f1f1f;color:#fff;box-shadow:0 8px 24px #00000012;border-radius:0;will-change:transform,opacity}
.cart-notice-art{display:block;width:54px;height:64px;padding:4px;object-fit:contain;background:#f3f4ef}
.cart-notice p{margin:0}
.cart-notice .cart-notice-kicker{display:flex;gap:7px;align-items:center;font-size:var(--text-meta);color:#d2d4ca;line-height:1.3;margin-bottom:6px}
.cart-notice-kicker svg{width:15px;height:15px;flex-shrink:0;color:#b6d07f}
.cart-notice .cart-notice-title{font-size:var(--text-small);font-weight:500;line-height:1.35;overflow-wrap:anywhere}
.cart-notice .cart-notice-detail{font-size:var(--text-meta);line-height:1.4;color:#c4c7bc;margin-top:6px;font-variant-numeric:tabular-nums}
.cart-notice-link{position:absolute;inset:0;cursor:pointer}
.cart-notice-close{position:absolute;z-index:1;top:4px;right:3px;display:grid;place-items:center;width:32px;height:32px;padding:8px;border:0;background:transparent;color:#d0d1cb}
.cart-notice-close svg{width:15px;height:15px}
.cart-notice:focus-within{outline:1px solid #b6d07f}
.cart-notice.is-error .cart-notice-kicker svg{display:none}
@media(max-width:650px){.cart-notice{top:var(--aktek-toast-top,76px);right:12px}.cart-notice-close{width:36px;height:36px;top:0;right:0}}
@media(prefers-reduced-motion:reduce){.product-cart{transition:none}.product-cart.is-loading::after{animation:none}}
