/* Hazy neon: dark night, soft glowing color fog behind everything (like light through smoke), glass cards,
   and rainbow details on what's active. Always dark: neon needs the dark to glow. */
:root {
  --night: #0a0713;
  --surface: rgba(255, 255, 255, .055);
  --surface-2: rgba(255, 255, 255, .09);
  --solid: #15102a;           /* popups: solid, so text stays readable over the haze */
  --ink: #f5f1ff;
  --muted: #a9a2c8;
  --line: rgba(255, 255, 255, .12);

  /* the neon set, red -> violet */
  --n-red: #ff2e63;
  --n-orange: #ff8a2e;
  --n-yellow: #ffe14d;
  --n-green: #39ff88;
  --n-cyan: #2ee6ff;
  --n-blue: #5b6bff;
  --n-violet: #c04dff;
  --rainbow: linear-gradient(90deg, var(--n-red), var(--n-orange), var(--n-yellow), var(--n-green), var(--n-cyan), var(--n-blue), var(--n-violet));
  --rainbow-v: linear-gradient(180deg, var(--n-red), var(--n-orange), var(--n-yellow), var(--n-green), var(--n-cyan), var(--n-blue), var(--n-violet));

  --accent: #ff3d9a;
  --accent-2: #8a4dff;
  --accent-grad: linear-gradient(135deg, #ff3d7f, #b14dff);
  --accent-ink: #ffffff;
  --accent-soft: rgba(255, 61, 154, .14);
  --glow-accent: 0 0 18px rgba(255, 61, 154, .45), 0 0 42px rgba(138, 77, 255, .25);
  --ok: var(--n-green);
  --ok-soft: rgba(57, 255, 136, .12);
  --danger: #ff5c7a;
  --low: #ff7ab8;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--night); }
body {
  margin: 0; min-height: 100vh; background: transparent; color: var(--ink);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

/* the haze: big blurred blobs of colored light, drifting very slowly */
body::before {
  content: ""; position: fixed; inset: -25%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(28% 24% at 18% 22%, rgba(255, 46, 99, .55), transparent 70%),
    radial-gradient(26% 26% at 82% 18%, rgba(57, 255, 136, .38), transparent 70%),
    radial-gradient(32% 28% at 70% 70%, rgba(46, 123, 255, .5), transparent 70%),
    radial-gradient(24% 22% at 25% 80%, rgba(192, 77, 255, .42), transparent 70%),
    radial-gradient(18% 16% at 52% 45%, rgba(255, 225, 77, .16), transparent 70%);
  filter: blur(40px) saturate(1.2);
  animation: drift 40s ease-in-out infinite alternate;
}
/* soft fog + vignette on top of the colors, so it reads as haze rather than paint */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, rgba(10, 7, 19, .15), rgba(10, 7, 19, .75));
}
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(3%, -2%, 0) rotate(8deg) scale(1.05); }
  100% { transform: translate3d(-3%, 3%, 0) rotate(-6deg) scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
  body::before, .cart-btn::before, .top h1 { animation: none !important; }
}

h1, h2, h3 { line-height: 1.2; margin: 0; }
.muted { color: var(--muted); }
.muted.small, .small { font-size: 13px; }
.spacer { flex: 1; }

/* Rainbow ring: a 2px rainbow border that works on see-through, rounded boxes. Add to anything positioned. */
.item.in-cart::after, .tab[aria-selected="true"]::after, .cart-btn::after, .seg-btn[aria-selected="true"]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none;
  background: var(--rainbow);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

/* banners */
.banner {
  position: relative; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between;
  padding: 10px 16px; font-size: 14px; background: rgba(10, 7, 19, .55); border-bottom: 1px solid var(--line);
}
.banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--rainbow); opacity: .7; }
.banner.owner { background: rgba(10, 7, 19, .8); }
.banner-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.banner .btn.ghost { color: var(--ink); }
.banner.owner .btn.is-closed { background: var(--danger); border-color: var(--danger); color: #fff; box-shadow: 0 0 16px rgba(255, 92, 122, .5); }

.seg { display: inline-flex; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 3px; }
.seg-btn {
  position: relative; font: inherit; font-weight: 600; font-size: 14px; color: var(--muted); background: none; border: 0;
  padding: 6px 14px; border-radius: 9px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.seg-btn[aria-selected="true"] { color: var(--ink); background: var(--surface-2); }
.count {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; font-size: 12px; line-height: 20px;
  background: var(--accent-grad); color: #fff; text-align: center; box-shadow: 0 0 10px rgba(255, 61, 154, .7);
}

/* header */
.top { max-width: 760px; margin: 0 auto; padding: 32px 16px 10px; text-align: center; }
.top h1 {
  font: 700 clamp(2rem, 8vw, 3rem)/1.1 ui-serif, Georgia, "Times New Roman", serif; letter-spacing: -.01em;
  background: var(--rainbow); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 10px rgba(255, 61, 154, .45)) drop-shadow(0 0 26px rgba(91, 107, 255, .35));
  animation: shimmer 12s linear infinite;
}
@keyframes shimmer { to { background-position: 200% 0; } }
.top p { color: var(--muted); margin: 10px auto 0; max-width: 46ch; font-size: 15px; }

/* category tabs */
.tabs {
  position: sticky; top: 0; z-index: 5; display: flex; justify-content: center; gap: 10px;
  padding: 12px 16px; background: rgba(10, 7, 19, .55);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; flex: 0 0 auto; font: inherit; font-weight: 600; font-size: 16px; padding: 9px 20px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; transition: color .15s, box-shadow .15s;
}
.tab svg { width: 20px; height: 20px; }
.tab[aria-selected="true"] {
  color: var(--ink); border-color: transparent; background: var(--surface-2);
  box-shadow: 0 0 18px rgba(255, 61, 154, .3), 0 0 30px rgba(46, 230, 255, .18);
}

main { max-width: 960px; margin: 0 auto; padding: 8px 16px 120px; }
.status { text-align: center; color: var(--muted); margin: 12px 0; min-height: 1.5em; }
.status:empty { margin: 0; min-height: 0; }
.closed-note {
  margin: 14px auto 0; max-width: 520px; padding: 12px 16px; border-radius: 12px; text-align: center;
  background: rgba(255, 92, 122, .12); border: 1px solid rgba(255, 92, 122, .4); color: var(--danger); font-weight: 600;
  box-shadow: 0 0 22px rgba(255, 92, 122, .2);
}

/* Each card gets its own neon color, cycling through the rainbow. */
.menu > :nth-child(7n+1), .stock-list > :nth-child(7n+1) { --glow: var(--n-red); }
.menu > :nth-child(7n+2), .stock-list > :nth-child(7n+2) { --glow: var(--n-cyan); }
.menu > :nth-child(7n+3), .stock-list > :nth-child(7n+3) { --glow: var(--n-yellow); }
.menu > :nth-child(7n+4), .stock-list > :nth-child(7n+4) { --glow: var(--n-violet); }
.menu > :nth-child(7n+5), .stock-list > :nth-child(7n+5) { --glow: var(--n-green); }
.menu > :nth-child(7n+6), .stock-list > :nth-child(7n+6) { --glow: var(--n-orange); }
.menu > :nth-child(7n+7), .stock-list > :nth-child(7n+7) { --glow: var(--n-blue); }

/* menu grid (guests) */
.menu { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 14px; }
@media (min-width: 640px) { .menu { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; } }
.item {
  position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden; transition: box-shadow .2s, transform .2s;
}
.item.in-cart {
  border-color: transparent;
  box-shadow: 0 0 20px color-mix(in srgb, var(--glow, var(--accent)) 40%, transparent), 0 0 44px rgba(91, 107, 255, .2);
}
.item.out { opacity: .45; filter: saturate(.4); }
.item .info { padding: 10px 12px 4px; flex: 1; }
.item h3 { font-size: 1rem; font-weight: 600; overflow-wrap: anywhere; }
.item .desc { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.left { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.left.low { color: var(--low); font-weight: 600; text-shadow: 0 0 8px rgba(255, 122, 184, .6); }
.item .ctl { padding: 8px 10px 10px; }
.item .ctl .btn { width: 100%; }

/* pictures: show all of it (contain), on a blurred copy of itself so any shape looks intentional (as in the wish list).
   Without a picture: the icon glows in the card's own color. */
.thumb {
  --glow-c: var(--glow, var(--n-cyan));
  position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(60% 60% at 50% 55%, color-mix(in srgb, var(--glow-c) 30%, transparent), transparent 72%),
    rgba(255, 255, 255, .025);
  color: var(--glow-c);
}
.thumb .ph svg { width: 44px; height: 44px; filter: drop-shadow(0 0 6px var(--glow-c)) drop-shadow(0 0 16px var(--glow-c)); }
.thumb.has-img .ph { display: none; }
.thumb.has-img::before {
  content: ""; position: absolute; inset: -24px; background: var(--night) center / cover;
  filter: blur(22px) saturate(1.5); opacity: .7;
}
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.item .thumb { aspect-ratio: 4 / 3; }
.thumb.preview { width: 120px; border-radius: 12px; margin: -4px 0 12px; border: 1px solid var(--line); }

/* +/- stepper */
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.stepper button {
  width: 40px; height: 40px; flex: 0 0 auto; border-radius: 12px; font: inherit; font-size: 22px; font-weight: 600; line-height: 1;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; display: grid; place-items: center;
}
.stepper button.plus { background: var(--accent-grad); color: #fff; border-color: transparent; box-shadow: var(--glow-accent); }
.stepper button:disabled { opacity: .3; cursor: default; box-shadow: none; }
.stepper .n { min-width: 2ch; text-align: center; font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.stepper.small button { width: 34px; height: 34px; font-size: 19px; border-radius: 10px; }
.stepper.small .n { font-size: 16px; }

/* bottom cart bar */
.cartbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 8; padding: 14px 16px calc(14px + var(--safe-bottom));
  background: linear-gradient(to top, rgba(10, 7, 19, .92) 55%, transparent);
}
.cart-btn {
  position: relative; width: 100%; max-width: 520px; margin: 0 auto; display: flex; gap: 12px; padding: 15px 20px;
  font-size: 17px; border-radius: 16px; isolation: isolate;
}
/* a rainbow glow pulsing under the button */
.cart-btn::before {
  content: ""; position: absolute; inset: 4px; z-index: -1; border-radius: inherit; background: var(--rainbow);
  filter: blur(16px); opacity: .7; animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .35; } }
.cart-btn span:nth-child(2) { flex: 1; text-align: left; }
.cart-count {
  min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center;
  background: #fff; color: #b0207a; font-size: 15px;
}

/* cart */
.cart-lines { list-style: none; margin: 0 0 16px; padding: 0; }
.cart-lines li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cart-lines li:last-child { border-bottom: 0; }
.cart-lines .name { flex: 1; font-weight: 600; overflow-wrap: anywhere; }
.cart-lines .name small { display: block; font-weight: 400; color: var(--muted); }

/* guest: my orders */
.my-orders { margin: 36px auto 0; max-width: 560px; padding-top: 22px; position: relative; }
.my-orders::before { content: ""; position: absolute; top: 0; left: 20%; right: 20%; height: 1px; background: var(--rainbow); opacity: .6; }
.my-orders h2 { font: 600 1.25rem ui-serif, Georgia, serif; margin-bottom: 10px; }
.my-orders-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.my-orders-list li { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.my-orders-list .what { flex: 1; }
.my-orders-list .when { font-size: 12px; color: var(--muted); }

.pill { font-size: 12px; padding: 2px 10px; border-radius: 999px; font-weight: 600; white-space: nowrap; border: 1px solid transparent; }
.pill.new { background: var(--accent-soft); color: var(--accent); border-color: rgba(255, 61, 154, .4); box-shadow: 0 0 10px rgba(255, 61, 154, .3); }
.pill.done { background: var(--ok-soft); color: var(--ok); border-color: rgba(57, 255, 136, .35); box-shadow: 0 0 10px rgba(57, 255, 136, .25); }
.pill.cancelled { background: var(--surface); color: var(--muted); border-color: var(--line); }
.badge { font-size: 11px; padding: 1px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-weight: 600; margin-left: 6px; vertical-align: 2px; }

/* owner: orders */
.view-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 10px; flex-wrap: wrap; }
.view-head h2 { font: 600 1.4rem ui-serif, Georgia, serif; }
.btn.on { background: var(--ok-soft); color: var(--ok); border-color: var(--ok); box-shadow: 0 0 14px rgba(57, 255, 136, .35); }
.todo {
  padding: 12px 14px; margin-bottom: 12px; border-radius: 14px; font-size: 15px;
  background: var(--accent-soft); border: 1px solid rgba(255, 61, 154, .35);
}
.todo strong { color: var(--accent); }
.orders { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.order { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.order.new { padding-left: 21px; box-shadow: 0 0 22px rgba(255, 61, 154, .18); }
.order.new::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--rainbow-v); }
.order.fresh { animation: pop 1.4s ease-out; }
@keyframes pop {
  0% { transform: scale(1.03); box-shadow: 0 0 40px rgba(255, 61, 154, .7), 0 0 80px rgba(46, 230, 255, .4); }
  100% { transform: none; }
}
.order-head { display: flex; align-items: baseline; gap: 8px; }
.order-head h3 { font-size: 1.15rem; flex: 1; overflow-wrap: anywhere; }
.order-head time { color: var(--muted); font-size: 13px; white-space: nowrap; }
.order ul { margin: 8px 0 0; padding: 0; list-style: none; font-size: 16px; }
.order li strong { display: inline-block; min-width: 2.4ch; color: var(--n-cyan); text-shadow: 0 0 8px rgba(46, 230, 255, .5); }
.order .note { margin: 8px 0 0; font-style: italic; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.order .actions { display: flex; gap: 8px; margin-top: 12px; }
.order .actions .btn.primary { flex: 1; }
.order:not(.new) { opacity: .7; }
.orders-old { margin-top: 24px; }
.orders-old summary { cursor: pointer; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.orders-old .btn { margin-top: 12px; }

/* owner: stock */
.stock-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.stock-list li {
  display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 8px 10px;
}
.stock-list li.is-hidden { opacity: .5; }
.stock-list .thumb { width: 56px; flex: 0 0 auto; border-radius: 12px; }
.stock-list .thumb .ph svg { width: 26px; height: 26px; }
.stock-list .thumb img { padding: 3px; }
.stock-list .name { flex: 1; min-width: 0; }
.stock-list .name strong { display: block; overflow-wrap: anywhere; }
.stock-list .name small { color: var(--muted); }
.stock-list .zero .n { color: var(--danger); text-shadow: 0 0 8px rgba(255, 92, 122, .6); }
.stock-list .edit { padding: 6px 10px; }
@media (max-width: 420px) { .stock-list .edit { padding: 6px 8px; font-size: 13px; } }

/* buttons */
.btn {
  font: inherit; font-weight: 600; font-size: 15px; padding: 10px 18px; border-radius: 12px; cursor: pointer;
  border: 1px solid transparent; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: box-shadow .15s, filter .15s, background .15s;
}
.btn.small { padding: 6px 12px; font-size: 14px; border-radius: 10px; }
.btn.primary { background: var(--accent-grad); color: var(--accent-ink); box-shadow: var(--glow-accent); }
.btn.primary:hover { filter: brightness(1.12) saturate(1.1); }
.btn.danger { background: var(--danger); color: #fff; box-shadow: 0 0 16px rgba(255, 92, 122, .45); }
.btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, .25); }
.btn.danger-text { color: var(--danger); }
.btn:disabled { opacity: .45; cursor: default; filter: none; box-shadow: none; }
.btn:focus-visible, .link:focus-visible, .tab:focus-visible, .seg-btn:focus-visible, .stepper button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--n-cyan); outline-offset: 2px; box-shadow: 0 0 14px rgba(46, 230, 255, .5);
}
.link { background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
footer { text-align: center; padding: 0 16px 120px; margin-top: -80px; }
.owner-mode footer { display: none; }

/* dialogs: solid dark glass with a rainbow line along the top */
dialog {
  width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto;
  border: 1px solid var(--line); border-radius: 20px; padding: 24px; color: var(--ink);
  background: var(--rainbow) top / 100% 3px no-repeat, var(--solid);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6), 0 0 50px rgba(138, 77, 255, .25);
}
dialog::backdrop { background: rgba(5, 3, 12, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
dialog h2 { font: 600 1.35rem ui-serif, Georgia, serif; margin-bottom: 14px; }
dialog h3 { font-size: 1rem; margin: 16px 0 4px; }
dialog p.muted { margin: 0 0 8px; }
dialog.center { text-align: center; }
.big-emoji { font-size: 56px; line-height: 1; margin-bottom: 8px; filter: drop-shadow(0 0 14px rgba(255, 225, 77, .6)); }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
label.check { display: flex; align-items: center; gap: 8px; font-weight: 400; }
label.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  display: block; width: 100%; margin-top: 4px; font: inherit; font-weight: 400; color: var(--ink);
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0, 0, 0, .3);
}
input::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
select option { background: var(--solid); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dialog-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.dialog-actions.center { justify-content: center; }
.error { color: var(--danger); font-size: 14px; margin: 0; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.steps { padding-left: 20px; margin: 6px 0 14px; }
.steps li { margin-bottom: 4px; }
#ntfy-link { overflow-wrap: anywhere; color: var(--n-cyan); }

/* Phones: the cart slides up from the bottom, the others are pinned to the top of the visible area (above the
   keyboard). --vvh / --vvtop are kept up to date by app.js. */
@media (max-width: 640px) {
  dialog {
    inset: auto 0 auto 0;
    top: calc(var(--vvtop, 0px) + 12px);
    margin: 0 auto;
    max-height: calc(var(--vvh, 100dvh) - 24px);
    padding: 20px;
  }
  dialog.sheet {
    width: 100vw; max-width: 100vw; top: auto; bottom: 0; border-radius: 22px 22px 0 0; border-bottom: 0;
    padding-bottom: calc(20px + var(--safe-bottom));
    max-height: min(92dvh, calc(var(--vvh, 100dvh) - 24px));
  }
  .dialog-actions .btn { flex: 1; }
  .dialog-actions .spacer { display: none; }
  #item-delete { flex: 0 0 auto; }
}

/* toast */
.toast {
  position: fixed; left: 50%; top: calc(16px + env(safe-area-inset-top, 0px)); transform: translateX(-50%); z-index: 20;
  max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 14px; font-size: 15px;
  background: var(--rainbow) bottom / 100% 2px no-repeat, var(--solid); color: var(--ink);
  border: 1px solid var(--line); box-shadow: 0 8px 30px rgba(0, 0, 0, .5), 0 0 24px rgba(138, 77, 255, .3);
}
.toast.bad { background: var(--danger); color: #fff; border-color: transparent; }

/* QR */
.qr-print h2 { font: 600 1.8rem ui-serif, Georgia, serif; margin-bottom: 12px; }
.qr-code { display: grid; place-items: center; background: #fff; border-radius: 14px; padding: 12px; margin: 0 auto; width: min(280px, 100%); box-shadow: 0 0 30px rgba(46, 230, 255, .35), 0 0 60px rgba(255, 61, 154, .25); }
.qr-code svg, .qr-code img { width: 100%; height: auto; display: block; }
.qr-cta { font-size: 1.25rem; font-weight: 600; margin: 12px 0 0; }
.qr-url { overflow-wrap: anywhere; margin-top: 4px; }

@media print {
  html, body { background: #fff !important; }
  body::before, body::after { display: none !important; }
  body > *:not(#qr-dialog) { display: none !important; }
  #qr-dialog { position: static; border: 0; box-shadow: none; width: 100%; max-width: none; max-height: none; color: #000; background: #fff; }
  #qr-dialog::backdrop { display: none; }
  .no-print { display: none !important; }
  .qr-print h2 { font-size: 40pt; }
  .qr-code { width: 12cm; box-shadow: none; }
  .qr-cta { font-size: 24pt; }
}
