*{box-sizing:border-box}body{margin:0;background:#f7f3ec;color:#18243a;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}main{width:min(980px,100%);margin:auto;padding:24px 16px 64px}header{padding:18px 4px 22px}.brand{font-size:13px;font-weight:900;letter-spacing:.18em}h1{font-size:clamp(30px,7vw,52px);line-height:1;margin:10px 0 8px}h2{font-size:20px;margin:0 0 14px}.muted,#subtitle{color:#6e7280}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}button,.download{border:0;border-radius:14px;background:#18243a;color:#fff;padding:13px 16px;font-weight:800;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.panel{background:#fff;border:1px solid #e6dfd5;border-radius:24px;padding:18px;margin:14px 0;box-shadow:0 12px 35px rgba(30,35,45,.06)}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.media{border-radius:18px;overflow:hidden;background:#f1ede7;border:1px solid #e8e1d8}.media img,.media video{display:block;width:100%;height:auto;max-height:72vh;object-fit:contain;background:#eee9e1}.media .download{margin:10px;width:calc(100% - 20px)}.final img{width:100%;max-height:78vh;object-fit:contain;border-radius:16px;background:#eee}.video video{width:100%;max-height:70vh;border-radius:16px;background:#eee}.skeleton{height:220px;border-radius:18px;background:linear-gradient(90deg,#eee7dd 25%,#f8f4ee 40%,#eee7dd 60%);background-size:300% 100%;animation:sh 1.2s infinite}@keyframes sh{to{background-position:-100% 0}}.status{position:sticky;bottom:12px;margin:18px auto 0;width:max-content;max-width:95%;background:#18243a;color:white;border-radius:999px;padding:10px 16px;font-size:13px;box-shadow:0 10px 28px #0002}.hidden{display:none!important}@media(min-width:720px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.panel{padding:24px}}
/* V23052: stable image layout; no lazy reload on scroll. */
.media img{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain}.final img{display:block;aspect-ratio:2/3;object-fit:contain}.video video{display:block;aspect-ratio:9/16;object-fit:contain}.media-loading{opacity:.35}img{transition:opacity .12s ease}.status{line-height:1.45;text-align:center;border-radius:18px}@media(prefers-reduced-motion:reduce){img{transition:none}}

/* M3.8 requested QR-GDrive gallery card: separate from kiosk share screen. */
.drive-gallery-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0}.drive-gallery-actions .download{padding:13px 16px}.drive-gallery-actions [hidden]{display:none!important}@media(max-width:520px){.drive-gallery-actions{flex-direction:column;align-items:stretch}.drive-gallery-actions>*{width:100%}}
