:root{--blue:#123b87;--ink:#10284d;--muted:#64718a;--line:#d7dfea;--pale:#eef3fb;--green:#baf4cf;--mono:'Courier New',monospace;font-family:Arial,Helvetica,sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:#f7f9fc;font-size:16px}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #faaf35;outline-offset:4px}a{color:var(--blue)}.site-header{height:94px;max-width:1140px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 24px}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;color:var(--ink);font-size:26px;font-weight:800;letter-spacing:-1.2px}.brand-icon{display:grid;place-items:center;background:var(--blue);color:white;border:2px solid var(--ink);box-shadow:3px 3px var(--ink);width:38px;height:40px;font-size:29px;transform:rotate(-5deg)}.brand-blue{color:var(--blue)}.brand-period{color:#ee6c42}nav{display:flex;gap:28px;align-items:center}nav button{border:0;background:none;color:var(--muted);font-size:14px;padding:10px 0;font-weight:600}.nav-active{color:var(--blue);font-size:14px;font-weight:700;position:relative}.nav-active:after{content:'';position:absolute;bottom:-36px;height:3px;background:var(--blue);left:0;right:0}.how-button{display:flex;gap:7px;align-items:center}.question-mark{border:1.5px solid currentColor;border-radius:50%;font-size:12px;width:17px;height:17px;display:grid;place-items:center}main{max-width:1040px;margin:auto;padding:0 24px}.intro{text-align:center;padding:39px 0 34px}.eyebrow{font:700 12px var(--mono);letter-spacing:1.8px;color:var(--blue)}h1{font-size:48px;letter-spacing:-2px;line-height:1.1;margin:13px 0}h1 span{color:var(--blue)}.intro p{color:var(--muted);margin:12px 0 0;font-size:16px}.game-layout{display:grid;grid-template-columns:minmax(0,590px) 300px;gap:56px;justify-content:center;align-items:start}.daily-strip{display:flex;justify-content:space-between;align-items:center;padding:0 0 15px;border-bottom:1px solid var(--line);font-size:13px}.daily-strip>div{display:flex;gap:8px;align-items:center}.daily-label{font:700 12px var(--mono);letter-spacing:1px}.edition{color:var(--muted);font:12px var(--mono)}time{color:var(--muted);font:12px var(--mono)}.round-bar{display:flex;justify-content:space-between;align-items:center;padding:17px 0}.round-bar>span{font-size:14px;font-weight:700}.round-bar em{font-style:normal;color:var(--muted);font-weight:400;margin-left:7px}.steps{display:flex;gap:7px;padding:0;margin:0;list-style:none}.steps li{width:26px;height:26px;display:grid;place-items:center;font:700 12px var(--mono);border:1px solid var(--line);background:white;color:#8290a4}.steps .current{background:var(--blue);border-color:var(--blue);color:white}.steps .done{background:var(--green);border-color:#a6d5b8;color:#216444}.product-card{border:2px solid var(--ink);box-shadow:5px 5px 0 #cfdaf0;background:white;overflow:hidden}.product-visual{height:245px;position:relative;display:grid;place-items:center;background:#fff}.shop-tag{position:absolute;left:20px;top:18px;background:var(--blue);color:#fff;font-size:12px;font-weight:800;letter-spacing:1px;padding:8px 11px;transform:rotate(-3deg);z-index:1}.category-tag{position:absolute;bottom:15px;right:17px;font:11px var(--mono);color:var(--muted)}.product-visual img{width:72%;height:218px;object-fit:contain;mix-blend-mode:multiply}.image-fallback{display:none;text-align:center;max-width:75%;padding:22px;border:2px dashed var(--line);font-weight:700;font-size:21px;color:var(--muted)}.image-fallback small{display:block;font:12px var(--mono);margin-top:10px}.product-details{padding:20px 24px 19px;background:#eef3fa;border-top:1px solid #dce3f7}.product-brand{text-transform:uppercase;color:var(--blue);font:700 11px var(--mono);letter-spacing:1.6px;margin:0 0 7px}.product-details h2{font-size:25px;letter-spacing:-.6px;margin:0 0 7px;line-height:1.15}.product-size{color:var(--muted);font-size:14px;margin:0}.guess-area{margin-top:24px}.guess-area label{display:block;font-size:14px;font-weight:700;margin-bottom:9px}.guess-row{display:flex;gap:12px}.price-input{display:flex;align-items:center;gap:11px;flex:1;min-width:0;border:2px solid var(--ink);background:white;padding:0 16px}.price-input:focus-within{outline:3px solid #b5c2ff;outline-offset:2px}.price-input span{font-size:24px;font-weight:700;color:var(--muted)}.price-input input{width:100%;min-width:0;border:0;outline:none!important;font:600 24px var(--mono);padding:15px 0;background:transparent;color:var(--ink)}.price-input input::placeholder{color:#a0aac0}.primary{border:2px solid var(--ink);box-shadow:3px 3px var(--ink);background:var(--blue);color:white;font-weight:700;padding:15px 24px;border-radius:0;transition:transform .15s,box-shadow .15s}.primary:hover{background:#ffba4c;transform:translate(-1px,-1px);box-shadow:4px 4px var(--ink)}.primary:active{transform:translate(2px,2px);box-shadow:0 0}.input-hint{font-size:12px;color:var(--muted);margin:10px 0 0}.error{color:#ad3225;font-size:14px;margin:9px 0 0}.save-note{text-align:center;font-size:12px;color:var(--muted);margin:21px 0 0}.receipt-area{padding-top:9px}.receipt-caption{display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:600;color:var(--muted);transform:rotate(3deg);margin-bottom:18px}.receipt-pin{height:8px;width:8px;background:#f5a455;border-radius:50%;box-shadow:0 1px 1px #8791a0}.receipt{position:relative;background:#fff;box-shadow:0 8px 22px #1f2e4c10;padding:29px 24px 19px;font-family:var(--mono);transform:rotate(1.5deg);border-top:1px solid #edf0f4}.receipt:before,.receipt:after{content:'';position:absolute;left:0;right:0;height:9px;background:linear-gradient(135deg,transparent 33%,white 34%) 0 0/12px 12px,linear-gradient(225deg,transparent 33%,white 34%) 0 0/12px 12px;top:-8px}.receipt:after{top:auto;bottom:-8px;transform:rotate(180deg)}.receipt-logo{text-align:center;font-weight:900;letter-spacing:-1.2px;font-size:25px}.receipt-sub{font-size:10px;letter-spacing:1px;text-align:center;margin:8px 0 22px}.receipt-meta{display:flex;justify-content:space-between;font-size:11px}.receipt-line{border-top:1px dashed #a5adbb;margin:16px 0}.receipt-columns{display:flex;justify-content:space-between;font-size:10px;color:#737e8f;margin-bottom:10px}.receipt-item{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:43px;font-size:12px;border-bottom:1px dotted #e0e4ec}.receipt-item .item-name{max-width:171px;text-transform:uppercase;font-size:10px;line-height:1.45}.receipt-item strong{font-size:13px;white-space:nowrap}.receipt-item.empty{color:#a3acbb}.receipt-item.empty .item-name{letter-spacing:2px}.receipt-item small{display:block;font-size:9px;color:#738094;text-transform:none}.receipt-total{display:flex;align-items:center;justify-content:space-between;gap:6px;font-weight:bold;font-size:14px}.receipt-total strong{font-size:27px;letter-spacing:-1px}.receipt-explain{text-align:right;font-size:10px;color:#6a7484;margin:5px 0 20px}.receipt-status{border:1px dashed #c6cedc;text-align:center;color:var(--muted);padding:10px 5px;font-size:11px;line-height:1.5;background:#fafbfe}.barcode{height:30px;margin:23px 15px 10px;background:repeating-linear-gradient(90deg,#24304a 0 2px,transparent 2px 4px,#24304a 4px 5px,transparent 5px 8px,#24304a 8px 12px,transparent 12px 14px,#24304a 14px 16px,transparent 16px 20px,#24304a 20px 21px,transparent 21px 25px);opacity:.8}.receipt-thanks{font-size:9px;text-align:center;letter-spacing:1px;margin:0}.tip{display:flex;align-items:center;gap:12px;margin:33px 8px 0}.tip-icon{font:700 24px var(--mono);width:36px;height:36px;display:grid;place-items:center;background:#dfe7ff;color:var(--blue);border:1px solid #c0ccff;transform:rotate(-8deg)}.tip p{margin:0;font-size:12px;line-height:1.7;color:var(--muted)}.tip strong{color:var(--ink);font-size:13px}.bottom-strip{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:39px 0 0;padding:18px 0;font-size:12px;color:var(--muted)}.bottom-strip strong{color:var(--ink)}.bottom-strip button{padding:0;background:none;border:0;color:var(--blue);font-size:12px;font-weight:600}footer{max-width:1040px;padding:22px 24px 28px;margin:auto;display:flex;justify-content:space-between;gap:20px;font-size:11px;color:#7f8aa0}.source-link{font-size:12px;color:var(--muted)}.finished-card{text-align:center;background:#e7edff;border:2px solid var(--ink);box-shadow:5px 5px #cfdaf0;padding:35px 25px}.finished-icon{border:2px solid var(--ink);box-shadow:3px 3px var(--ink);background:var(--green);width:62px;height:62px;margin:0 auto 22px;display:grid;place-items:center;font-size:36px;transform:rotate(-8deg)}.finished-card h2{font-size:33px;letter-spacing:-1.2px;margin:12px 0}.final-label{color:var(--muted);font-size:14px;margin:21px 0 5px}.final-score{font:700 63px var(--mono);letter-spacing:-4px;color:var(--blue)}.finished-copy{font-size:14px;line-height:1.6;max-width:340px;margin:15px auto 24px;color:var(--muted)}.next-shop{font:12px var(--mono);margin-top:23px}.finished-card .primary{width:100%}.final-meta{display:flex;justify-content:center;gap:28px;margin:25px 0 0;font-size:13px;color:var(--muted)}.final-meta strong{color:var(--ink)}dialog{border:2px solid var(--ink);box-shadow:7px 7px var(--blue);width:min(510px,calc(100% - 40px));max-height:86vh;padding:25px 28px;color:var(--ink);background:white}dialog::backdrop{background:#10284d75;backdrop-filter:blur(3px)}.dialog-top{display:flex;align-items:center;justify-content:space-between}.close-modal{border:0;background:var(--pale);font-size:26px;width:34px;height:34px;line-height:1;color:var(--ink)}dialog h2{font-size:29px;letter-spacing:-1px;margin:17px 0}dialog p,dialog li{font-size:15px;line-height:1.65;color:var(--muted)}dialog ol{padding-left:20px}dialog li{padding-left:4px;margin-bottom:12px}dialog strong{color:var(--ink)}.score-example{background:var(--pale);padding:15px;font:14px/1.7 var(--mono)}.dialog-cta{width:100%;margin:16px 0 7px}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:24px 0}.stat{border:1px solid var(--line);text-align:center;padding:15px 4px;background:var(--pale)}.stat strong{display:block;font:700 26px var(--mono);letter-spacing:-1px}.stat span{font-size:11px;color:var(--muted)}.history-row{display:flex;justify-content:space-between;padding:13px 0;border-top:1px solid var(--line);font-size:14px}.small{font-size:12px!important}.source-list{padding-left:20px}.source-list li{margin:5px 0}.copy-box{width:100%;min-height:190px;border:1px solid var(--line);padding:12px;font:13px/1.6 var(--mono);resize:vertical}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:#fff;padding:14px 22px;box-shadow:3px 3px #b1beec;font-size:14px;max-width:90vw;z-index:5}[hidden]{display:none!important}
@media(min-width:1500px){.intro{padding-top:54px;padding-bottom:43px}.product-visual{height:280px}.product-visual img{height:253px}.game-layout{gap:70px}.bottom-strip{margin-top:47px}}
@media(max-width:900px){.game-layout{gap:28px;grid-template-columns:minmax(0,1fr) 275px}.primary{padding:15px 17px}.product-details h2{font-size:22px}h1{font-size:42px}.receipt{padding-left:20px;padding-right:20px}.bottom-strip>span:nth-child(2){display:none}}
@media(max-width:660px){.site-header{height:77px;padding:0 20px}.brand{font-size:22px;gap:9px}.brand-icon{width:30px;height:34px;font-size:24px}nav{gap:15px}nav .nav-active{display:none}nav button{font-size:12px}.how-button{font-size:0;gap:0}.question-mark{font-size:14px;width:26px;height:26px}main{padding:0 20px}.intro{padding:30px 0 28px}.eyebrow{font-size:10px;letter-spacing:1.4px}h1{font-size:36px;letter-spacing:-1.5px;max-width:330px;margin:12px auto}.intro p{font-size:14px;line-height:1.6;max-width:300px;margin:auto}.game-layout{display:block}.daily-strip{font-size:11px}.daily-label{font-size:11px}.edition{font-size:11px}time{font-size:10px}.product-visual{height:220px}.product-visual img{height:200px}.product-details{padding:17px 20px}.product-details h2{font-size:24px}.product-size{font-size:13px}.category-tag{font-size:9px}.guess-area{margin-top:22px}.guess-row{gap:10px}.guess-row .primary{font-size:14px;padding:14px 16px}.price-input{padding:0 12px}.price-input input{font-size:22px}.receipt-area{max-width:330px;margin:35px auto 0}.receipt{transform:rotate(1deg);padding:27px 26px 20px}.receipt-caption{font-size:13px}.receipt-item{min-height:40px}.receipt-item .item-name{font-size:11px}.receipt-item small{font-size:10px}.receipt-thanks{font-size:10px}.receipt-columns,.receipt-sub,.receipt-meta{font-size:11px}.tip{justify-content:center;margin-top:28px}.bottom-strip{margin-top:30px;font-size:11px;gap:10px}.bottom-strip button{font-size:11px}footer{font-size:10px;line-height:1.6;padding:17px 20px 24px}footer>span:last-child{display:none}.source-link{font-size:11px}.finished-card{padding:27px 20px}.finished-card h2{font-size:30px}.final-score{font-size:55px}.final-meta{gap:17px;font-size:12px}.save-note{font-size:11px}}
.site-header{border-top:5px solid #ffd343}.brand-icon{background:#ff792b;color:var(--ink);transform:rotate(-5deg)}.brand-blue{color:var(--ink)}.brand-period{color:#ee6d24}.nav-active:after{background:#f47d27}h1 span{color:var(--blue);box-shadow:inset 0 -11px #ffe17b}.primary{background:#ff8a36;color:var(--ink)}.primary:hover{background:#ffad53}.shop-tag{border-left:5px solid #ff8a36;padding-left:9px;transform:rotate(-2deg)}.steps .done{background:#fff0b4;border-color:#e7cc70;color:#76530b}.daily-label{color:var(--blue)}.tip-icon{background:#ffedac;border-color:#dfc977;color:var(--ink)}.receipt-pin{background:#ff8a36}.receipt-status{background:#f5f7fb}.bottom-strip{border-top:2px solid #123b87}.finished-card{background:#eef3fa}.finished-icon{background:#ffe17b}.finished-card .eyebrow{color:var(--blue)}
.receipt-item .item-name{font-size:13px;letter-spacing:-.3px}.receipt-item strong{font-size:14px}.receipt-item{padding:7px 0;min-height:44px}.receipt-item small{font-size:10px;letter-spacing:0}.receipt-columns{font-size:11px}.receipt-thanks{font-size:10px}.source-link{font-size:14px}.brand{letter-spacing:-1px}.product-brand{font-size:12px}.daily-label,.edition,time{font-size:12px}nav button,.nav-active{font-size:14px}
@media(max-width:660px){.brand{font-size:21px}.how-button{font-size:0}.daily-label,.edition,time{font-size:11px}.source-link{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* A compact checkout console. The ordinary price field keeps keyboard entry available. */
.till-console{padding:16px;background:#e7edf6;border:1px solid #c8d3e3;border-bottom:5px solid #b9c6d9;border-radius:10px;margin-top:12px}
.till-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font:700 12px var(--mono);letter-spacing:1.4px;color:var(--muted)}
.clear-price{background:transparent;border:0;color:var(--blue);font-size:14px;font-weight:700;padding:4px 0 4px 12px;letter-spacing:0}
.till-console .price-input{background:#faffef;border:2px solid #94a08a;border-radius:4px;padding:0 17px;box-shadow:inset 0 2px 5px #1c382c12}
.till-console .price-input span{color:#4b654b}.till-console .price-input input{text-align:right;font-size:32px;color:#254331;padding:12px 0;letter-spacing:2px}
.till-keypad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}
.till-key{height:46px;border:1px solid #bbc8da;border-bottom:3px solid #a6b5ca;border-radius:4px;background:#fff;color:var(--ink);font:700 22px var(--mono);display:grid;place-items:center;transition:background .12s,transform .12s}
.till-key:hover{background:#fff1c4}.till-key:active{transform:translateY(2px);border-bottom-width:1px;background:#ffe3a0}
.till-delete{background:#d5deec}.till-delete svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.lock-price{width:100%;border-radius:4px;padding:13px 20px;box-shadow:0 3px var(--ink);letter-spacing:.2px}
.lock-price:hover{transform:translateY(-1px);box-shadow:0 4px var(--ink)}
.input-hint{font-size:14px;line-height:1.5}.guess-area label{font-size:16px}.price-input:has([aria-invalid=true]){border-color:#ad3225}

/* The paper only moves when a guess is submitted; no running animation loop. */
.receipt-area{padding-top:7px}.receipt-caption{transform:none;margin-bottom:15px;color:var(--ink)}
.receipt-printer{position:relative;z-index:2;border-radius:14px 14px 9px 9px;background:linear-gradient(135deg,#254775,#10284d);border:1px solid #0b2142;box-shadow:0 5px 0 #0b1d39,0 10px 20px #10284d20;padding:18px 17px 12px}
.printer-top{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#d7e1ef;font:700 11px var(--mono);letter-spacing:1px;margin-bottom:13px}
.printer-light{width:7px;height:7px;flex-shrink:0;border-radius:50%;background:#baf4cf;box-shadow:0 0 6px #baf4cf50}
.printer-display{background:#0a1a30;border:1px solid #3b5476;border-radius:3px;color:#ffcf78;text-align:center;padding:10px 3px;font:12px var(--mono);letter-spacing:.6px;box-shadow:inset 0 2px 3px #0005}
.printer-slot{height:8px;background:#050e1d;border-radius:8px;margin:16px -7px -6px;box-shadow:0 1px 0 #748bac55}
.receipt-feed{position:relative;margin:-1px 12px 0;overflow:hidden;padding-bottom:10px;transition:height .6s cubic-bezier(.22,.65,.3,1)}
.receipt{transform:none;border:0;padding:26px 18px 19px;box-shadow:0 4px 12px #10284d0c;transform-origin:top center;background:linear-gradient(90deg,#f4f5f6,#fff 6%,#fff 94%,#f4f5f6)}
.receipt:before{display:none}.receipt:after{display:block}
.receipt-logo{font-size:23px;letter-spacing:-1px}.receipt-sub{font-size:10px;letter-spacing:.6px;margin-bottom:20px}
.receipt-item{align-items:start;padding:11px 0}.receipt-item .item-name{max-width:165px;font-size:12px;line-height:1.4}.receipt-item small{font-size:10px;line-height:1.6;margin-top:4px}.receipt-item strong{font-size:14px;margin-top:1px}
.receipt-total strong{font-size:25px}.receipt-columns{font-size:10px}.receipt-waiting{text-align:center;font:12px/1.8 var(--mono);color:var(--muted);padding:12px 0;margin:0}
.receipt-explain{margin-bottom:15px}.receipt-status{background:transparent;border:0;border-top:1px dashed #c6cedc;padding:12px 0 0;font-size:10px;letter-spacing:.3px}
.receipt.printing{animation:paper-feed .6s cubic-bezier(.22,.65,.3,1) both}
.printing .printer-light{animation:printer-pulse .18s steps(2,end) 3}
.tip{margin-top:22px}
@keyframes paper-feed{from{transform:translateY(var(--feed-distance))}to{transform:translateY(0)}}
@keyframes printer-pulse{50%{background:#ffb74f;box-shadow:0 0 8px #ffb74f80}}
@media(max-width:900px) and (min-width:661px){.receipt-feed{margin-left:9px;margin-right:9px}.receipt{padding-left:14px;padding-right:14px}.receipt-logo{font-size:21px}.receipt-item .item-name{max-width:145px}}
@media(max-width:660px){.till-console{padding:13px}.till-key{height:48px}.receipt-area{max-width:330px}.receipt{transform:none;padding:26px 22px 19px}.receipt-item .item-name{font-size:12px;max-width:180px}.receipt-caption{font-size:14px}.guess-area label{font-size:15px}.input-hint{font-size:13px}}
@media(prefers-reduced-motion:reduce){.receipt.printing,.printing .printer-light{animation:none}.receipt-feed{transition:none}}

/* One checkout unit: the receipt feeds above its printer and attached keypad. */
.game-layout{grid-template-columns:minmax(0,590px) 330px;gap:40px}
.checkout-machine{position:relative}
.receipt-area{padding-top:0}.receipt-caption{font-size:14px;color:var(--muted);margin:0 0 14px}
.checkout-machine .receipt-feed{margin:0 19px -5px;padding:8px 0 0;z-index:1;overflow:hidden}
.checkout-machine .receipt{padding:17px 18px 15px;transform:none;background:linear-gradient(90deg,#eef0f2,#fff 5%,#fff 95%,#eef0f2)}
.checkout-machine .receipt:after{display:none}.checkout-machine .receipt:before{display:block;top:-8px}
.checkout-machine .receipt-sub{display:none}.checkout-machine .receipt-logo{font-size:21px;margin-bottom:12px}
.checkout-machine .receipt-line{margin:10px 0}.checkout-machine .receipt-columns{margin-bottom:4px}
.checkout-machine .receipt-waiting{font-size:11px;padding:8px 0;line-height:1.5}
.checkout-machine .receipt-explain{display:none}.checkout-machine .receipt-status{padding:8px 0 0;font-size:10px;margin-top:9px}
.checkout-machine .receipt-total{font-size:12px}.checkout-machine .receipt-total strong{font-size:23px}
.checkout-machine .receipt-item{padding:9px 0}.checkout-machine .receipt-item .item-name{max-width:184px}
.checkout-machine .receipt-printer{border-radius:12px 12px 0 0;box-shadow:none;border-bottom:0;padding:12px 19px 0}
.checkout-machine .printer-slot{margin:-7px -7px 17px;height:8px}
.checkout-machine .printer-top{margin-bottom:12px;font-size:11px}.checkout-machine .printer-display{font-size:11px;padding:8px 3px}
.checkout-machine .guess-area{margin:0}
.checkout-machine .till-console{margin:0;border:1px solid #0b2142;border-top:0;border-bottom:6px solid #0b1d39;border-radius:0 0 14px 14px;background:linear-gradient(120deg,#254775,#10284d);padding:17px 19px 18px}
.checkout-machine .till-top{color:#d7e1ef;margin-bottom:8px}.checkout-machine .till-top label{font:700 11px var(--mono);letter-spacing:1.2px;margin:0}
.checkout-machine .clear-price{color:#ffcf78;font-size:12px}.checkout-machine .clear-price:disabled{opacity:.4}
.checkout-machine .price-input input{font-size:30px;padding:10px 0}.checkout-machine .price-input:has(input:disabled){opacity:.8}
.checkout-machine .price-input input:disabled{opacity:1;-webkit-text-fill-color:#254331}
.checkout-machine .till-keypad{gap:7px;margin:12px 0}.checkout-machine .till-key{height:44px;border-color:#d0d7e1;border-bottom-color:#9facbf;font-size:21px}
.checkout-machine .till-key:disabled{background:#d9e1eb;color:#7f91a9;opacity:.55}
.checkout-machine .lock-price{padding:12px 14px;font-size:15px}
.checkout-machine .input-hint{color:#d7e1ef;text-align:center;font-size:12px;margin:12px 0 0;line-height:1.5}
.checkout-machine .error{color:#ffe1a6;font-size:13px;line-height:1.5}
.till-complete{padding:23px 19px;background:linear-gradient(120deg,#254775,#10284d);color:#fff;text-align:center;border-radius:0 0 14px 14px;border:1px solid #0b2142;border-top:0;border-bottom-width:6px}
.till-complete>span{display:block;color:#baf4cf;font-size:28px;margin-bottom:9px}.till-complete p{font-size:13px;color:#d7e1ef;margin:9px 0 0}
.checkout-machine .receipt.printing{animation-name:paper-feed-up}
@keyframes paper-feed-up{from{transform:translateY(22px)}to{transform:translateY(0)}}
@media(max-width:900px) and (min-width:661px){.game-layout{grid-template-columns:minmax(0,1fr) 300px;gap:26px}.checkout-machine .receipt-feed{margin-left:15px;margin-right:15px}.checkout-machine .receipt{padding-left:15px;padding-right:15px}.checkout-machine .receipt-item .item-name{max-width:165px}}
@media(max-width:660px){.game-layout{display:flex;flex-direction:column;gap:24px}.play-area{width:100%}.receipt-area{width:100%;max-width:360px;align-self:center;margin:0}.receipt-caption{display:none}.checkout-machine .receipt-feed{margin-left:20px;margin-right:20px}.checkout-machine .receipt-item .item-name{max-width:180px}.checkout-machine .till-key{height:46px}.save-note{margin-top:16px}}

/* Keep the current product and its checkout controls in view together. */
.site-header{max-width:900px;height:62px}
.brand-icon{width:31px;height:33px;font-size:23px}
.nav-active:after{bottom:-21px}
main,footer{max-width:900px}
.intro{padding:15px 0 18px}
.intro h1{font-size:clamp(25px,4vw,36px);letter-spacing:-.035em;margin:0 auto;max-width:none}
.intro h1 span{box-shadow:inset 0 -.20em #ffe17b}
.game-layout{grid-template-columns:minmax(0,420px) minmax(300px,350px);gap:24px}
.daily-strip{padding-bottom:8px}
.round-bar{padding:9px 0}
.steps li{width:22px;height:22px}
.product-visual{height:clamp(165px,29vh,248px)}
.product-visual img{width:80%;height:calc(clamp(165px,29vh,248px) - 22px)}
.shop-tag{top:10px;left:12px;padding:5px 7px;font-size:10px}
.product-details{padding:12px 15px;min-block-size:98px}
.product-details h2{font-size:clamp(19px,2.5vw,24px);margin-bottom:4px}
.product-brand{margin-bottom:4px}
#interaction{min-block-size:29px;padding-top:8px}
.product-source{margin:0}
.finished-card{display:grid;align-content:center;padding:18px 17px}
.finished-card h2{font-size:25px;margin:0 0 10px}
.final-label{margin:0}
.final-score{font-size:48px}
.final-meta{margin:5px 0 14px}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.checkout-machine{--paper-inset:22px;--slot-height:13px;--slot-lip:4px;--paper-height:248px}
.checkout-machine .receipt-feed{
  display:flex;flex-direction:column;block-size:var(--paper-height);
  margin:0 var(--paper-inset) calc(var(--slot-lip) - var(--slot-height) - 1px);
  padding-top:6px;z-index:2;overflow:auto;scrollbar-width:thin;overflow-anchor:none;transition:none;
}
.checkout-machine .receipt-feed:has(.receipt.printing){overflow:hidden}
body:has(#final-receipt[open]) .checkout-machine .receipt{visibility:hidden}
.receipt-feed:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.checkout-machine .receipt,.final-receipt-paper{
  --tear-top:conic-gradient(from 135deg at 52% 0,#000 90deg,transparent 0) top left / 12px 6px repeat-x;
}
.checkout-machine .receipt{
  flex:none;margin-top:auto;
  padding:13px 13px 9px;
  mask:var(--tear-top),linear-gradient(#000 0 0) bottom / 100% calc(100% - 5px) no-repeat;
}
.checkout-machine .receipt::before{display:none}
.checkout-machine .receipt-meta{align-items:baseline;gap:8px}
.checkout-machine .receipt-logo{font-size:17px;margin:0;letter-spacing:-.045em}
.receipt-toggle{display:none}
.checkout-machine .receipt-columns{margin:4px 0 0;padding-top:5px;border-top:1px dashed #a5adbb}
.checkout-machine .receipt-item{padding:4px 0;min-height:0;align-items:center;gap:6px}
.checkout-machine .receipt-item .item-name{max-width:none;font-size:12px;line-height:1.2}
.checkout-machine .receipt-item small{margin-top:2px;line-height:1.2;color:var(--muted)}
.checkout-machine .receipt-item strong{font-size:13px}
.accuracy-badge{padding:0 4px;border-radius:3px;white-space:nowrap;font-weight:700}
.accuracy-badge[data-accuracy="exact"]{color:#1f6245;background:#e0f5e8}
.accuracy-badge[data-accuracy="close"]{color:#72490c;background:#ffedbd}
.accuracy-badge[data-accuracy="far"]{color:#942d26;background:#ffe4df}
.checkout-machine .receipt-waiting{padding:6px 0}
.checkout-machine .receipt-total{padding-top:5px}
.checkout-machine .receipt-total strong{font-size:19px}
.checkout-machine .barcode{height:12px;margin:7px 0 0}
.checkout-machine .receipt-printer{padding:calc(var(--slot-height) + 6px) 13px 0;z-index:auto}
.checkout-machine .printer-slot{
  position:absolute;top:0;left:calc(var(--paper-inset) - 7px);right:calc(var(--paper-inset) - 7px);
  height:var(--slot-height);margin:0;border-radius:0 0 5px 5px;background:#081427;
  box-shadow:inset 0 2px 3px #0009,0 1px 0 #748bac80;
}
.checkout-machine .printer-slot::after{
  content:'';position:absolute;inset:auto 0 0;height:var(--slot-lip);z-index:3;
  border-radius:0 0 5px 5px;background:linear-gradient(#09152a,#182e51);pointer-events:none;
}
.checkout-machine .printer-top{margin:0;padding:4px 7px;background:#0a1a30;border:1px solid #3b5476;border-radius:3px;color:#ffcf78;font-size:10px}
.checkout-machine .till-console{padding:8px 13px 10px}
.checkout-machine .till-top{margin-bottom:3px}
.checkout-machine .price-input{padding:0 12px}
.checkout-machine .price-input span{font-size:20px}
.checkout-machine .price-input input{font-size:24px;padding:5px 0}
.checkout-machine .till-keypad{gap:5px;margin:7px 0}
.checkout-machine .till-key{height:32px;font-size:17px}
.checkout-machine .lock-price{padding:8px 12px;min-height:38px}
.checkout-machine #checkout-action:hover,.checkout-machine #checkout-action:active{transform:none;box-shadow:0 3px var(--ink)}
.checkout-note{display:grid;place-items:center;block-size:40px;padding-top:6px;text-align:center}
.checkout-machine .checkout-note p{margin:0;line-height:1.35}
.checkout-machine .checkout-note .error{font-size:12px}
#checkout-feedback{color:#f4f7fb;font-size:13px}
.till-outcome{display:inline-block;margin-left:4px;padding:2px 6px;border-radius:4px}
.bottom-strip{margin-top:15px;padding:7px 0}
.bottom-strip .save-note{margin:0;text-align:left}
footer{padding-top:7px;padding-bottom:12px}

.final-receipt{
  width:min(440px,calc(100% - 28px));max-height:calc(100dvh - 32px);overflow:auto;
  padding:0;margin:auto;border:0;background:transparent;color:var(--ink);box-shadow:none;
  filter:drop-shadow(0 12px 20px #10284d66);
  font:14px/1.4 var(--mono);transform-origin:center;
}
.final-receipt-paper{
  padding:24px 22px 23px;background:#fffaf0;
  mask:var(--tear-top),
    conic-gradient(from 315deg at 48% 100%,#000 90deg,transparent 0) bottom left / 11px 6px repeat-x,
    linear-gradient(#000 0 0) center / 100% calc(100% - 10px) no-repeat;
}
.final-receipt::backdrop{background:#101e36a6;backdrop-filter:none}
.final-receipt-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.final-receipt-header h2{font:700 24px/1.15 Arial,sans-serif;margin:4px 0 0;letter-spacing:-.02em}
.receipt-wordmark{font-size:17px;font-weight:700;letter-spacing:-.07em}
.receipt-wordmark span{color:#d25520}
.final-receipt .close-modal{width:44px;height:44px;border:1px solid #dacfba;background:transparent}
.final-receipt .final-receipt-meta{margin:11px 0 7px;font:12px/1.4 var(--mono);color:#4e5f77}
.final-receipt-table{border-collapse:collapse;width:100%;font-size:13px}
.final-receipt-table thead{border-block:1px dashed #96938c}
.final-receipt-table thead th{font-size:11px;text-transform:uppercase;color:#4e5f77}
.final-receipt-table th,.final-receipt-table td{padding:7px 0 7px 7px;text-align:right}
.final-receipt-table th:first-child{padding-left:0;text-align:left}
.final-receipt-table td{white-space:nowrap}
.final-receipt-table tbody tr+tr{border-top:1px dotted #dacfba}
.final-receipt-total{display:flex;align-items:center;justify-content:space-between;gap:8px;border-block:1px dashed #96938c;padding:8px 0;font-weight:700;text-transform:uppercase}
.final-receipt-total strong{font-size:26px;letter-spacing:-.05em}
.final-receipt .final-receipt-exact,.final-receipt .final-share-status{margin:7px 0 12px;font:13px/1.4 var(--mono);color:#4e5f77}
.final-receipt .primary{width:100%;min-height:44px;padding:8px 12px}
.final-receipt .copy-box{margin-top:4px;min-height:112px}
.final-receipt .barcode{height:16px;margin:14px auto 0;max-width:70%}

@media(min-width:661px){
  .game-layout{align-items:stretch}
  .play-area{display:flex;flex-direction:column;min-width:0}
  #game-panel{position:relative;display:flex;flex:1}
  .product-card,.finished-card{flex:1;min-width:0}
  .product-card{display:flex;flex-direction:column}
  .product-visual{flex:1 0 165px;height:auto}
  .product-visual img{position:absolute;inset:0;margin:auto;width:84%;height:84%;max-height:365px}
  .product-details{padding-bottom:34px}
  #interaction{position:absolute;inset:auto 17px 10px;min-block-size:0;padding:0}
  .checkout-machine .receipt-full{padding-block:10px 7px}
  .checkout-machine .receipt-full .receipt-item{padding-block:1px}
  .receipt-full #receipt-footer{display:none}
}

@media(max-width:660px){
  .site-header{height:52px;padding-inline:14px}
  main,footer{padding-inline:14px}
  .intro{padding:10px 0}
  .game-layout{gap:10px;max-width:420px;margin:auto}
  .receipt-area{max-width:none}
  .product-card,.finished-card{min-block-size:122px}
  .product-card{display:grid;grid-template-columns:minmax(105px,36%) minmax(0,1fr)}
  .finished-card{padding:8px 12px}
  .finished-card h2{font-size:clamp(17px,5vw,21px);margin:0 0 3px}
  .finished-card .final-score{font-size:34px}
  .finished-card .final-meta{margin:4px 0 0}
  .product-visual{height:auto;min-height:112px;padding-top:16px}
  .product-visual img{width:100%;height:90px}
  .shop-tag{top:5px;left:5px;font-size:9px;padding:3px 5px}
  .product-details{align-content:center;padding:8px 12px;border-top:0;border-left:1px solid #dce3f7;min-block-size:0}
  .product-brand{font-size:10px;letter-spacing:.07em}
  .receipt-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:0 4px;background:transparent;border:0;color:var(--blue);font:inherit;text-decoration:underline;text-underline-offset:2px}
  .checkout-machine .receipt-meta:has(.receipt-toggle:not([hidden])) #receipt-number{display:none}
  .receipt.has-receipt-history:not(.receipt-expanded) #earlier-items{display:none}
  .receipt:not(.receipt-expanded) #receipt-footer{display:none}
  .checkout-machine{--paper-height:140px}
  .checkout-machine .till-key{height:38px}
  .checkout-machine .lock-price{min-height:44px}
}
@media(max-width:360px){
  .final-receipt-paper{padding-inline:14px}
  .final-receipt-table{font-size:12px}
}
@media(min-width:661px) and (max-height:800px){
  .site-header{height:54px}
  .nav-active:after{bottom:-17px}
  .intro{padding:11px 0 12px}
  .checkout-machine .receipt-item{padding-block:3px}
}
@media(prefers-reduced-motion:reduce){.checkout-machine .receipt.printing{animation:none}}
