/* Home: due tasti grandi, QR a tutto schermo, scorciatoie */
.home h1{margin-bottom:.1em}
.tiles{display:grid;gap:14px;margin:18px 0}
.tile{display:flex;align-items:center;gap:16px;width:100%;min-height:112px;padding:18px 20px;border-radius:24px;border:1.5px solid var(--oro);text-align:left;cursor:pointer;color:var(--avorio);background:radial-gradient(ellipse 70% 120% at 100% 0%,rgba(201,162,75,.3),transparent 65%),linear-gradient(145deg,var(--nero3),var(--nero));box-shadow:0 20px 40px -22px rgba(10,10,9,.8);font:inherit}
.tile:focus-visible{outline:3px solid var(--oro);outline-offset:3px}
.tile-ic{flex:none;display:grid;place-items:center;width:64px;height:64px;border-radius:18px;background:linear-gradient(180deg,var(--oro-chiaro),var(--oro));color:var(--nero)}
.tile-ic svg{width:36px;height:36px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tile-tx{display:flex;flex-direction:column;gap:2px;min-width:0}
.tile-t{font:700 1.45rem/1.15 var(--serif);color:var(--oro-chiaro)}
.tile-s{color:var(--testo-nero);font-size:.95rem;overflow-wrap:anywhere}
.tile-private{background:radial-gradient(ellipse 70% 120% at 100% 0%,rgba(230,200,120,.18),transparent 65%),linear-gradient(145deg,#26241d,#0f0f0d)}
.upsell{border:1.5px dashed var(--oro-scuro);border-radius:24px;padding:6px 20px 16px;background:var(--bianco)}
.hstate{border-top:1px solid var(--linea);margin-top:20px;padding-top:8px}
.hstate .state{margin:.4em 0 0}
.shorts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.short{display:flex;align-items:center;gap:10px;min-height:56px;padding:0 14px;border-radius:16px;border:1.5px solid var(--linea);background:var(--bianco);color:var(--testo);font-weight:700;text-decoration:none}
.short svg{width:24px;height:24px;fill:none;stroke:var(--oro-scuro);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.short:focus-visible{outline:3px solid var(--oro)}

/* QR a tutto schermo: bianco, il piu luminoso possibile */
body.qrf-on{overflow:hidden}
.qrf{position:fixed;inset:0;z-index:50;background:#fff;color:#111;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:calc(16px + env(safe-area-inset-top)) 20px calc(16px + env(safe-area-inset-bottom));overflow:auto;text-align:center}
.qrf-kind{margin:0;font:700 1rem var(--sans);color:#4b473d}
.qrf-img{width:min(86vw,62vh,520px);height:auto;aspect-ratio:1;image-rendering:pixelated;background:#fff}
.qrf-name{margin:0;font:700 1.7rem/1.15 var(--serif);overflow-wrap:anywhere;max-width:100%}
.qrf-hint{margin:0;font-size:.85rem;color:#5b564a}
.qrf-note{margin:0;min-height:1.3em;font-weight:700;color:#7a5710;overflow-wrap:anywhere}
.qrf-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%;max-width:420px}
.qrf-actions .btn{margin:0;gap:8px;min-height:60px}
.qrf-actions .btn svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.qrf-share{background:#fff;color:#111;border-color:#111}
.qrf .btn-gold{color:#0a0a09}
@media (max-height:640px){.qrf-img{width:min(60vw,48vh)}.qrf-name{font-size:1.3rem}}

.pushb{border:1.5px solid var(--oro-scuro);border-radius:18px;padding:4px 18px 14px;margin:14px 0;background:var(--bianco)}
.pushb h2{margin:.7em 0 .2em}
.pushb .btn{margin:6px 8px 0 0}
