.game-safe{padding:16px 22px;background:#e4edcf;border-radius:12px;font-size:15px;max-width:900px}.game-shell{background:#fff;border:1px solid #c5d3b1;border-radius:22px;overflow:hidden;margin-bottom:40px}.game-welcome{display:block;width:100%;height:auto;object-fit:contain}.game-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 28px;border-bottom:1px solid var(--line);font-weight:600}.game-layout{display:grid;grid-template-columns:1.4fr 1fr;gap:30px;padding:30px}.game-dialogue{background:#f7f1df;border-radius:16px;padding:24px}.game-dialogue h2{font-size:30px;line-height:1.25}.game-dialogue p:last-child{margin:0}.game-controls{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.game-shell button{font:600 16px/1.4 'Segoe UI',Arial,sans-serif;border:1px solid #a3b69a;border-radius:9px;padding:12px 18px;background:#e5edda;color:#173d30;cursor:pointer}.game-shell button:hover{background:#cedfbb}.game-shell button:focus-visible{outline:3px solid #b26c16;outline-offset:3px}.game-shell button:disabled{opacity:.6;cursor:default}.game-shell #game-next{background:#173d30;color:white}.game-shell [hidden]{display:none!important}#game-feedback{margin-top:20px;padding:14px;border-radius:10px}#game-feedback:empty{display:none}#game-feedback.correct{background:#e4f1d9}#game-feedback.wrong{background:#fff0dd;color:#77420c}.game-display{background:#edf3f2;border-radius:16px;padding:24px;align-self:start}.game-display h3{font-size:19px}.game-device-row{display:flex;align-items:center;justify-content:center;gap:18px;margin:16px 0}.game-phone{width:85px;height:135px;border:7px solid #385b9e;background:#dce8ff;border-radius:17px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:13px;font-weight:bold}.game-phone.dead{border-color:#777;background:#dedede;color:#555;position:relative}.game-phone.dead:before{content:'💨';position:absolute;font-size:36px;top:-45px;left:8px}.game-phone.new{border-color:#3b8657;background:#dff2dc}.game-row{background:#fff;padding:12px;border-radius:10px;margin-top:10px;border-left:5px solid #94ad74;font-size:15px}.game-row.spesa{border-left-color:#ca4438}.game-row.checked{opacity:.65;text-decoration:line-through}.game-copy{font-size:14px;padding:12px;background:#fff4cb;border-radius:8px;margin-top:16px}@media(max-width:700px){.game-layout{grid-template-columns:1fr;padding:20px;gap:22px}.game-welcome{height:auto}.game-toolbar{padding:16px;flex-wrap:wrap}.game-dialogue{padding:20px}.game-dialogue h2{font-size:26px}.game-controls{flex-direction:column}.game-controls button{width:100%;min-height:48px}.game-display{padding:20px}.game-shell #game-next{width:100%}}
.game-form{width:100%;display:grid;gap:8px}.game-form label{font-weight:600;margin-top:10px}.game-form input{width:100%;min-width:0;padding:12px;border:1px solid #8da58c;border-radius:8px;font:inherit;background:#fff;color:#173d30}.game-form button{margin-top:16px}
.game-scan-instruction{padding:16px;background:#fff4cb;border:1px solid #dacb91;border-radius:10px;font-size:16px}.game-product-image{object-fit:contain;border-radius:12px;border:1px solid var(--line);background:#faf8f1}.game-row>img{object-fit:contain;border-radius:7px;vertical-align:middle;margin-right:10px;float:left}.game-row:after{content:'';display:block;clear:both}.game-form input[readonly]{background:#edf3e8;color:#173d30}.game-form input:focus-visible{outline:3px solid #b26c16;outline-offset:2px}
.game-form input[type=range]{padding:10px 0;min-height:44px;accent-color:#28744e;cursor:pointer}.game-form output{font-size:23px;font-weight:700;color:#173d30}

.game-form select{width:100%;min-height:44px;padding:10px;border:1px solid #a3b69a;border-radius:8px;background:white;color:#173d30;font:inherit}

.game-conclusion{flex-basis:100%;padding:22px;background:#e4f1d9;border-radius:12px}.game-conclusion h3{font-size:24px}.game-conclusion p{margin-bottom:18px}
/* Il titolo riceve il focus per annunciare la domanda, ma non è un comando. */
#game-question:focus{outline:none}
