/* Site look for the pages other than the landing (Luke 13 Nov). Each page links this after its own styles
   and carries <html data-glass="frost" data-gl="aura">; assets/look.js builds the glow layer.
   The first two blocks are copied verbatim from index.html ("boxes: darker frosted glass with the app glow"
   and "icon lists"); only the box selectors differ, because each page names its boxes differently. */

/* boxes: darker frosted glass with the app glow (Luke 13 Nov) */
html[data-glass] { --gx-blur: blur(34px) saturate(1.5); --gx-shadow: 0 34px 90px -34px rgba(0,0,0,.95), 0 2px 10px rgba(0,0,0,.35); --gx-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.25' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .16 -.06'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"); }
html[data-glass] { --gx-base: linear-gradient(rgba(12,12,14,.6), rgba(12,12,14,.6)); --gx-tex: linear-gradient(transparent, transparent); --gx-light: linear-gradient(rgba(255,255,255,.018), rgba(255,255,255,.018)); --gx-inset: 0 0 0 transparent inset; }
html[data-glass="frost"], html[data-glass="light"] { --gx-tex: var(--gx-grain); }
html[data-glass][data-gl="fade"] { --gx-light: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012) 55%, rgba(255,255,255,.006)); }
html[data-glass][data-gl="glow"] { --gx-light: radial-gradient(60% 130% at 50% 0%, rgba(255,255,255,.05), transparent 70%), linear-gradient(rgba(255,255,255,.01), rgba(255,255,255,.01)); }
html[data-glass][data-gl="corner"] { --gx-light: radial-gradient(120% 90% at 0% 0%, rgba(255,255,255,.055), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0) 50%); }
html[data-glass][data-gl="rim"] { --gx-light: linear-gradient(rgba(255,255,255,.008), rgba(255,255,255,.008)); --gx-inset: inset 0 0 46px rgba(255,255,255,.04); }
html[data-glass] { --gx-fill: var(--gx-tex), var(--gx-light), var(--gx-base); }
/* The boxes on these pages: panels (account, contact, legal summaries), the about page's track list,
   the cookie tables, the legal contents on phones, and the checkout's offers, total, plan, payment frame,
   thank-you steps and quote. The account page's saved-card row is a well, not a box, so it is left out. */
html[data-glass] :is(.panel, .about .tracks, .tbl, .toc-m, .offer, .tot, .plan, .frame, .steps, .quote) {
  border-color: transparent; background: var(--gx-fill); box-shadow: var(--gx-inset), var(--gx-shadow); -webkit-backdrop-filter: var(--gx-blur); backdrop-filter: var(--gx-blur); }
/* the tinted boxes keep their tint, over the new glass */
html[data-glass] .panel.alert { background: radial-gradient(90% 140% at 0% 0%, rgba(255,181,71,.13), transparent 70%), var(--gx-fill); }
html[data-glass] .panel.discord { background: radial-gradient(90% 120% at 0% 0%, rgba(88,101,242,.16), transparent 70%), var(--gx-fill); }
html[data-glass] .help-grid .mail { background: radial-gradient(90% 140% at 0% 0%, rgba(227,252,2,.08), transparent 70%), var(--gx-fill); }
html[data-glass] .about .tracks { background: radial-gradient(70% 50% at 100% 0%, rgba(163,92,255,.10), transparent 70%), var(--gx-fill); }
/* checkout: hover and the chosen offer brighten the glass a touch, as before; the lime selection glow stays its own layer */
html[data-glass] .offer:hover { background: linear-gradient(rgba(255,255,255,.03), rgba(255,255,255,.03)), var(--gx-fill); }
html[data-glass] .offer:has(input:checked) { background: linear-gradient(rgba(255,255,255,.045), rgba(255,255,255,.045)), var(--gx-fill); box-shadow: var(--gx-inset), var(--gx-shadow); }
/* App glow: the drop zone's look. The box's own colours (its screenshot, its lime icons) blurred into a soft light inside a dark panel. */
html[data-glass][data-gl="aura"] { --gx-light: linear-gradient(rgba(255,255,255,.012), rgba(255,255,255,.012)); --gx-base: linear-gradient(rgba(17,17,20,.72), rgba(17,17,20,.72)); --gx-inset: inset 0 0 0 1px rgba(62,62,68,.45); }
html[data-glass][data-gl="aura"] :is(.panel, .about .tracks, .tbl, .offer, .tot, .plan, .frame, .steps, .quote) { position: relative; isolation: isolate; }
.gx-aura { display: none; position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden; pointer-events: none; }
html[data-glass][data-gl="aura"] .gx-aura { display: block; }
.gx-aura i { position: absolute; display: block; border-radius: 50%; filter: blur(42px); }
.gx-aura b { position: absolute; display: block; background-size: cover; background-position: center; filter: blur(54px) saturate(1.7) brightness(1.35); opacity: .45; transform: scale(1.12); }
@media (prefers-reduced-motion: no-preference) { html[data-glass][data-gl="aura"] .gx-aura { animation: gxbreath 7s ease-in-out infinite; } }
@keyframes gxbreath { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }

/* icon lists: each icon in a small tinted square with a faint glow (as the landing's .grid3 .gi) */
html[data-glass] .help-grid .panel:not(.discord) .ico,
html[data-glass] .machines li:not(.free):not(.confirm) .ic,
html[data-glass] .ticks .ck {
  color: var(--accent); background: rgba(227,252,2,.075) !important; box-shadow: 0 0 22px -8px rgba(227,252,2,.3) !important; }
