/* OR1 · Tinsel Press storefront (body.storefront-tinsel). Cranberry, oat and forest,
   like a hand-knit jumper; light and dark; phone first. */
@font-face { font-family: "Pacifico"; src: url("/assets/pacifico-regular-3fe444a7.ttf") format("truetype"); font-display: swap; }
body.storefront-tinsel .page { max-width: 76rem; }
body.storefront-tinsel {
  --tp-bg: #F6F1E7;
  --tp-paper: #FFFDF8;
  --tp-ink: #2A1D1A;
  --tp-soft: #6E5F58;
  --tp-line: #E4D9C6;
  --tp-red: #8E1B22;
  --tp-red-ink: #FFF7F0;
  --tp-green: #1E4A2C;
  --tp-gold: #B9862F;
  background: var(--tp-bg);
  color: var(--tp-ink);
}
@media (prefers-color-scheme: dark) {
  body.storefront-tinsel {
    --tp-bg: #17110F;
    --tp-paper: #211917;
    --tp-ink: #F4ECE2;
    --tp-soft: #B8A89C;
    --tp-line: #3A2E2A;
    --tp-red: #C8414A;
    --tp-red-ink: #1A0E0C;
    --tp-green: #6FAE80;
    --tp-gold: #D9AA55;
  }
}
body.storefront-tinsel .topbar { background: transparent; border-bottom: 1px solid var(--tp-line); }
body.storefront-tinsel .site-footer { color: var(--tp-soft); }

.tp-hero { max-width: 46rem; margin: 2.5rem auto 1.5rem; padding: 0 1rem; text-align: center; }
.tp-label { font: 600 0.78rem/1.3 "Inter", system-ui, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tp-green); margin: 0 0 0.75rem; }
.tp-hero h1 { font-family: "Bricolage Grotesque", "Inter", sans-serif; font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 1rem; }
.tp-hero h1 em { font-style: normal; color: var(--tp-red); }
.tp-lede { font-size: 1.1rem; line-height: 1.55; color: var(--tp-soft); margin: 0 auto; max-width: 36rem; }

.tp-build { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2rem; max-width: 68rem; margin: 0 auto 3rem; padding: 0 1rem; align-items: start; }
@media (max-width: 52rem) { .tp-build { grid-template-columns: 1fr; gap: 1.25rem; } }

.tp-stage { position: sticky; top: 1rem; }
@media (max-width: 52rem) { .tp-stage { position: static; } }
.tp-viewer { position: relative; aspect-ratio: 1 / 1; border-radius: 1.5rem; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 20%, var(--tp-paper), var(--tp-bg));
  border: 1px solid var(--tp-line); }
.tp-viewer model-viewer { width: 100%; height: 100%; --poster-color: transparent; background: transparent; transition: opacity 0.2s; }
.tp-build.is-busy .tp-viewer model-viewer { opacity: 0.55; }
.tp-viewer-status { position: absolute; inset: auto 0 1rem; text-align: center; color: var(--tp-soft); font-size: 0.9rem; margin: 0; }
.tp-stage-note { color: var(--tp-soft); font-size: 0.85rem; margin: 0.6rem 0.25rem 0; }

.tp-form { background: var(--tp-paper); border: 1px solid var(--tp-line); border-radius: 1.5rem; padding: 1.25rem 1.25rem 1.5rem; display: grid; gap: 1.1rem; }
.tp-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.tp-field legend, .tp-legend { display: block; font-weight: 650; font-size: 0.9rem; margin-bottom: 0.45rem; }
.tp-legend small { font-weight: 400; color: var(--tp-soft); }
.tp-row { display: grid; grid-template-columns: 1fr 6.5rem; gap: 0.75rem; }
.tp-text input { width: 100%; box-sizing: border-box; font: 600 1.15rem/1.2 "Inter", sans-serif; padding: 0.7rem 0.85rem; border-radius: 0.8rem;
  border: 1.5px solid var(--tp-line); background: var(--tp-bg); color: var(--tp-ink); }
.tp-text input:focus { outline: 3px solid color-mix(in srgb, var(--tp-red) 35%, transparent); border-color: var(--tp-red); }
.tp-error { margin: -0.4rem 0 0; color: var(--tp-red); font-weight: 600; font-size: 0.92rem; }

.tp-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tp-chip { position: relative; }
.tp-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tp-chip span { display: inline-block; padding: 0.5rem 0.85rem; border-radius: 999px; border: 1.5px solid var(--tp-line); font-size: 0.92rem; background: var(--tp-bg); }
.tp-chip input:checked + span { background: var(--tp-red); border-color: var(--tp-red); color: var(--tp-red-ink); }
.tp-chip input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--tp-red) 40%, transparent); outline-offset: 2px; }
.tp-font-script span { font-family: "Pacifico", cursive; font-size: 0.98rem; line-height: 1.1; }
.tp-font-block span { font-weight: 800; }

.tp-swatches { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tp-swatch { position: relative; width: 2.5rem; height: 2.5rem; }
.tp-swatch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.tp-swatch span { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.18); }
.tp-swatch input:checked + span { box-shadow: 0 0 0 3px var(--tp-paper), 0 0 0 5px var(--tp-ink); }
.tp-swatch input:focus-visible + span { outline: 3px solid var(--tp-gold); outline-offset: 4px; }

.tp-buy { display: grid; gap: 0.6rem; border-top: 1px dashed var(--tp-line); padding-top: 1rem; }
.tp-price { margin: 0; color: var(--tp-soft); }
.tp-price strong { font-size: 1.6rem; color: var(--tp-ink); }
.tp-cta { appearance: none; border: 0; border-radius: 999px; padding: 0.95rem 1.4rem; font: 700 1.05rem/1 "Inter", sans-serif; background: var(--tp-red); color: var(--tp-red-ink); cursor: pointer; }
.tp-cta:disabled { opacity: 0.55; cursor: not-allowed; }
.tp-closed { margin: 0; font-size: 0.85rem; color: var(--tp-soft); }
.tp-hint { display: block; margin-top: 0.3rem; font-size: 0.85rem; color: var(--tp-soft); }

.tp-dates, .tp-how { max-width: 68rem; margin: 0 auto 3rem; padding: 0 1rem; }
.tp-dates h2, .tp-how h2 { font-family: "Bricolage Grotesque", "Inter", sans-serif; font-size: 1.7rem; margin: 0 0 1rem; }
.tp-dates ol, .tp-how ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.75rem; }
.tp-dates li, .tp-how li { background: var(--tp-paper); border: 1px solid var(--tp-line); border-radius: 1.1rem; padding: 1rem 1.1rem; display: grid; gap: 0.35rem; }
.tp-dates li:first-child { border-color: var(--tp-red); box-shadow: inset 4px 0 0 var(--tp-red); }
.tp-dates span, .tp-how span { color: var(--tp-soft); line-height: 1.5; font-size: 0.95rem; }

/* OR-7: family-set names as tags (name_tags_controller). The box looks like the other inputs. */
.tp-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; padding: 0.4rem 0.45rem; border: 1.5px solid var(--tp-line); border-radius: 0.8rem; background: var(--tp-bg); cursor: text; }
.tp-tags:focus-within { outline: 3px solid color-mix(in srgb, var(--tp-red) 35%, transparent); border-color: var(--tp-red); }
.tp-tags > input[type="text"] { flex: 1 1 8rem; width: auto; min-width: 6rem; border: 0; background: transparent; padding: 0.4rem 0.4rem; outline: none; }
.tp-tags > input[type="text"]:focus { outline: none; }
.tp-tags.is-full > input[type="text"] { display: none; }
.tp-tag-list { display: contents; list-style: none; margin: 0; padding: 0; }
.tp-tag { display: inline-flex; align-items: center; border-radius: 999px; background: var(--tp-red); color: var(--tp-red-ink); font: 700 1rem/1.2 "Inter", sans-serif; }
.tp-tag button { appearance: none; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; min-height: 2.1rem; }
.tp-tag-name { padding: 0.3rem 0.2rem 0.3rem 0.8rem; }
.tp-tag-x { padding: 0.3rem 0.7rem 0.3rem 0.35rem; font-size: 1.1em; line-height: 1; opacity: 0.85; }
.tp-tag-x:hover, .tp-tag-x:focus-visible { opacity: 1; }
.tp-tag.is-bad { background: transparent; color: var(--tp-red); box-shadow: inset 0 0 0 2px var(--tp-red); }
.tp-tags input.tp-tag-edit { width: auto; border: 0; border-radius: 999px; padding: 0.35rem 0.8rem; font: inherit; font-weight: 700; background: var(--tp-paper, #fff); color: var(--tp-ink); box-shadow: inset 0 0 0 2px var(--tp-red); outline: none; font-size: 1rem; }

/* ===== OR-SG1 · "Snow drifts" home (body.tp): a night sky over the builder, the preview
   in a snow globe, snow piling up on the panel and the cards, then a snowfield below. ===== */
@font-face { font-family: "Nunito"; src: url("/assets/nunito-latin-wght-normal-8d9cc785.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }
body.storefront-tinsel.tp-home {
  --tp-bg: #0E2142; --tp-paper: rgb(255 255 255 / 0.06); --tp-ink: #F4F7FB; --tp-soft: #A9BCD6; --tp-line: rgb(255 255 255 / 0.16);
  --tp-red: #FFC46B; --tp-red-ink: #3A2208; --tp-green: #FFC46B; --tp-gold: #FFC46B;
  --tp-sky1: #0A1830; --tp-sky2: #16305A;
  background: var(--tp-sky1); color: var(--tp-ink); font-family: "Nunito", "Inter", system-ui, sans-serif;
}
body.storefront-tinsel.tp-home .page { max-width: none; padding: 0; }
body.storefront-tinsel.tp-home .topbar { max-width: none; border-bottom: 0; padding-inline: max(16px, 3vw); position: relative; z-index: 3; }
body.storefront-tinsel.tp-home .topbar, body.storefront-tinsel.tp-home .topbar a, body.storefront-tinsel.tp-home .topbar .btn { color: var(--tp-ink); }
body.storefront-tinsel.tp-home .wordmark span { font: 900 1.5rem/1 "Nunito", sans-serif; }
body.storefront-tinsel.tp-home .site-footer { background: #F4F7FB; color: #4A5E7E; margin: 0; max-width: none; width: 100%; padding-block: 1.5rem 2rem; box-shadow: 0 0 0 100vmax #F4F7FB; clip-path: inset(0 -100vmax -100vmax); }
body.storefront-tinsel.tp-home .site-footer a { color: #12284D; }

.tp-night { position: relative; isolation: isolate; }
.tp-night::before { content: ""; position: absolute; inset: -6rem 0 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70rem 40rem at 75% 0%, #23467E 0%, transparent 60%), linear-gradient(var(--tp-sky1), #0E2142 40rem, var(--tp-sky2) 60rem);
}
.tp-night .tp-build::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.8;
  background-image: radial-gradient(1.5px 1.5px at 12% 8%, #fff, transparent), radial-gradient(1px 1px at 22% 30%, #fff, transparent), radial-gradient(1.5px 1.5px at 38% 12%, #ffe9b8, transparent), radial-gradient(1px 1px at 52% 5%, #fff, transparent), radial-gradient(1.2px 1.2px at 64% 22%, #fff, transparent), radial-gradient(1px 1px at 80% 10%, #fff, transparent), radial-gradient(1.6px 1.6px at 91% 28%, #ffe9b8, transparent), radial-gradient(1px 1px at 6% 40%, #fff, transparent), radial-gradient(1px 1px at 46% 36%, #fff, transparent); }
.tp-cap { position: absolute; pointer-events: none; }
.tp-drifts-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 2; }

.tp-night .tp-build { position: relative; max-width: 76rem; margin: 0 auto; padding: 0.5rem max(16px, 3vw) 0; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(1rem, 3vw, 2.5rem); }
.tp-copy { min-width: 0; padding-top: 1.5rem; display: grid; gap: 0; align-content: start; }
.tp-night .tp-label { color: var(--tp-gold); font: 800 0.8rem/1.3 "Nunito", sans-serif; letter-spacing: 0.16em; margin: 0; }
.tp-night h1 { font: 900 clamp(2.4rem, 5.6vw, 4.3rem)/1.02 "Nunito", sans-serif; letter-spacing: -0.02em; margin: 0.9rem 0 1rem; text-wrap: balance; }
.tp-night h1 em { font-style: normal; color: var(--tp-gold); text-shadow: 0 0 30px rgb(255 196 107 / 0.45); }
.tp-night .tp-lede { font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.55; color: #C6D3E6; margin: 0 0 1.5rem; max-width: 32rem; }
.tp-night .tp-lede em { font-style: normal; color: #fff; font-weight: 800; }

/* the workshop panel */
.tp-night .tp-form { background: linear-gradient(180deg, rgb(255 255 255 / 0.08), rgb(255 255 255 / 0.03)); border: 1px solid var(--tp-line); border-radius: 22px; backdrop-filter: blur(8px); }
.tp-panel-title { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; margin: 0 0 -0.2rem; }
.tp-panel-title strong { font: 900 1.35rem/1 "Nunito", sans-serif; }
.tp-panel-title span { font-size: 0.82rem; color: var(--tp-soft); }
.tp-night .tp-field legend, .tp-night .tp-legend { font-weight: 800; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tp-soft); }
.tp-night .tp-legend small { text-transform: none; letter-spacing: 0; }
.tp-night .tp-text input, .tp-night .tp-tags { background: rgb(0 0 0 / 0.25); border-color: var(--tp-line); color: #fff; }
.tp-night .tp-text input[name="name"] { font: 400 1.5rem/1.2 "Pacifico", cursive; }
.tp-night .tp-chip span { background: rgb(255 255 255 / 0.05); border-color: var(--tp-line); color: var(--tp-ink); font-weight: 700; }
.tp-night .tp-chip input:checked + span { background: rgb(255 196 107 / 0.16); border-color: var(--tp-gold); color: #fff; box-shadow: 0 0 18px rgb(255 196 107 / 0.25); }
/* colours as fairy lights on a wire */
.tp-night .tp-swatches { position: relative; justify-content: space-between; padding: 0.9rem 0.3rem 0; gap: 0.25rem; }
.tp-night .tp-swatches::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1.4rem; border-top: 2px solid #3E5272; border-radius: 0 0 50% 50% / 0 0 100% 100%; pointer-events: none; }
.tp-night .tp-swatch { width: 1.75rem; height: 2.3rem; }
.tp-night .tp-swatch::before { content: ""; position: absolute; left: 50%; top: -0.25rem; width: 0.6rem; height: 0.5rem; transform: translateX(-50%); background: #6D7F99; border-radius: 2px; }
.tp-night .tp-swatch span { position: absolute; inset: 0.25rem 0 0; width: auto; height: auto; border-radius: 50% 50% 48% 48% / 40% 40% 60% 60%; box-shadow: inset -3px -4px 0 rgb(0 0 0 / 0.18), inset 3px 3px 0 rgb(255 255 255 / 0.25); }
.tp-night .tp-swatch input:checked + span { box-shadow: 0 0 0 2px #0E2142, 0 0 0 4px var(--tp-gold), 0 0 22px 4px color-mix(in srgb, var(--c) 70%, transparent); }
.tp-night .tp-buy { border-top-color: var(--tp-line); }
.tp-night .tp-price strong { color: #fff; }
.tp-night .tp-cta { background: linear-gradient(#FFD58C, #F2AE47); color: #3A2208; font-family: "Nunito", sans-serif; font-weight: 800; box-shadow: 0 8px 30px rgb(255 190 90 / 0.35), inset 0 -2px 0 rgb(0 0 0 / 0.12); }
.tp-night .tp-error { color: #FF9AA0; }
.tp-night .tp-tag { background: var(--tp-gold); color: #3A2208; }

/* the globe */
.tp-night .tp-stage { position: sticky; top: 0.5rem; min-width: 0; }
.tp-night .tp-viewer.tp-globe { aspect-ratio: 1 / 1.12; border: 0; border-radius: 0; background: transparent; overflow: visible; }
.tp-globe .tp-globe-canvas, .tp-globe model-viewer { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; outline: none; }
.tp-globe.is-flat { aspect-ratio: 1 / 1; border-radius: 1.5rem; background: radial-gradient(120% 90% at 50% 20%, #23467E, #0E2142); }
.tp-globe .tp-viewer-status { inset: auto 0.75rem 0.75rem; width: fit-content; max-width: calc(100% - 1.5rem); margin: 0 auto; padding: 0.55rem 0.9rem; border-radius: 14px; background: rgb(10 26 54 / 0.88); border: 1px solid rgb(255 255 255 / 0.14); color: #F4F7FC; font-weight: 700; line-height: 1.35; box-shadow: 0 8px 24px rgb(0 0 0 / 0.35); z-index: 3; }
.tp-globe .tp-viewer-status[hidden] { display: none; }
.tp-stage-cap { display: flex; gap: 0.8rem; align-items: center; justify-content: center; flex-wrap: wrap; color: var(--tp-soft); font-size: 0.88rem; margin-top: -0.3rem; position: relative; }
.tp-shake { appearance: none; display: inline-flex; gap: 0.5rem; align-items: center; border: 1.5px solid var(--tp-line); background: rgb(255 255 255 / 0.07); color: #fff; border-radius: 999px; padding: 0.55rem 1.1rem; font: 800 0.9rem/1 "Nunito", sans-serif; cursor: pointer; }
.tp-shake svg { width: 1rem; height: 1rem; }
.tp-shake:focus-visible { outline: 3px solid var(--tp-gold); outline-offset: 2px; }
.tp-night .tp-stage-note { text-align: center; max-width: 34rem; margin: 0.6rem auto 0; }
@media (prefers-reduced-motion: reduce) { .tp-shake { display: none; } }

/* the drift and the snowfield below it (light again, so the cards read as snow) */
.tp-drift { position: relative; height: clamp(4rem, 9vw, 7.5rem); margin-top: 1.5rem; }
.tp-drift svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tp-snowfield { --tp-bg: #F4F7FB; --tp-paper: #FFFFFF; --tp-ink: #12284D; --tp-soft: #4A5E7E; --tp-line: #D8E2EE; --tp-red: #A3161A; --tp-green: #1E4A2C;
  background: #F4F7FB; color: var(--tp-ink); padding: 0.5rem 0 2rem; }
.tp-snowfield h2 { font-family: "Nunito", sans-serif; font-weight: 900; font-size: clamp(1.7rem, 3vw, 2.2rem); }
.tp-snowfield .tp-dates li, .tp-snowfield .tp-how li { border: 0; box-shadow: 0 10px 30px -18px rgb(18 40 77 / 0.5); }
.tp-snowfield .tp-dates li:first-child { box-shadow: inset 4px 0 0 var(--tp-red), 0 10px 30px -18px rgb(18 40 77 / 0.5); }
.tp-snowfield a { color: var(--tp-red); }

@media (max-width: 52rem) {
  .tp-night .tp-build { grid-template-columns: 1fr; padding-top: 0; }
  .tp-night .tp-stage { order: -1; position: sticky; top: 0; z-index: 1; margin: 0 calc(-1 * max(16px, 3vw)); padding-bottom: 0.4rem; background: linear-gradient(#0E2142 85%, transparent); }
  .tp-night .tp-viewer.tp-globe { aspect-ratio: auto; height: min(44vh, 84vw); }
  .tp-night .tp-stage-note, .tp-stage-cap span { display: none; }
  .tp-copy { padding-top: 0.5rem; }
}

/* OR-25: the snow-globe wordmark replaces the icon + text name in the header (light pages get
   navy/red, the night home gets white/gold). */
.wordmark-art { display: inline-flex; align-items: center; line-height: 0; }
.wordmark-art img { height: 46px; width: auto; display: block; }
.wordmark-art .wm-on-dark { display: none; }
body.tp-home .wordmark-art .wm-on-light { display: none; }
body.tp-home .wordmark-art .wm-on-dark { display: block; }
@media (max-width: 30rem) { .wordmark-art img { height: 38px; } }

/* OR-30: dragging the globe is for mouse users only, so is its hint */
.tp-drag-hint { display: none; }
@media (hover: hover) and (pointer: fine) { .tp-drag-hint { display: inline; } }
/* OR-31: share this design (share_controller). Round glass buttons that sit on the night sky. */
.tp-share { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin: 0.25rem 0 1.1rem; }
.tp-share-label { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.02em; opacity: 0.85; }
.tp-share-list { display: flex; gap: 0.45rem; list-style: none; margin: 0; padding: 0; }
.tp-share-btn { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12); color: inherit; cursor: pointer; padding: 0; text-decoration: none; transition: background 0.15s, transform 0.15s; }
.tp-share-btn[hidden] { display: none; }
.tp-share-btn:hover, .tp-share-btn:focus-visible { background: rgba(255, 255, 255, 0.24); transform: translateY(-1px); }
.tp-share-btn:focus-visible { outline: 3px solid var(--tp-gold, #F2AE47); outline-offset: 2px; }
.tp-share-btn svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tp-share-btn svg .fill { fill: currentColor; stroke: none; }
.tp-share-status { font-size: 0.85rem; font-weight: 700; min-height: 1em; }

/* OR-35 (3 Dec): phones get a painted globe (tinsel_globe.js) with the flat proof hanging big; tap it
   for the full-screen proof; a strip keeps it in view down the form. Desktop keeps the 3D globe. */
.tp-globe.is-painted { aspect-ratio: auto !important; height: auto !important; overflow: visible; padding: 0.4rem 0 0; }
.tp-stage.is-painted .tp-drag-hint { display: none; }
@media (max-width: 52rem) {
  .tp-night .tp-stage.is-painted { position: relative; top: auto; background: none; padding-bottom: 0; }
}
.pg { width: min(100%, 22rem); margin: 0 auto; position: relative; user-select: none; -webkit-user-select: none; }
.pg-aura { position: absolute; left: -12%; right: -12%; top: -8%; aspect-ratio: 1; border-radius: 50%; pointer-events: none; z-index: -2;
  background: radial-gradient(circle, rgb(255 196 107 / 0.16), rgb(120 160 230 / 0.08) 45%, transparent 68%); }
.pg-glass { width: 100%; aspect-ratio: 1; border-radius: 50%; position: relative; overflow: hidden; cursor: pointer; touch-action: pan-y; isolation: isolate;
  background: #13305A; box-shadow: 0 22px 44px -18px rgb(0 0 0 / 0.75), 0 0 0 1px rgb(207 226 255 / 0.18); -webkit-mask-image: -webkit-radial-gradient(white, black); }
.pg-layer { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; }
.pg-back, .pg-village { inset: -3%; width: 106%; height: 106%; }
.pg-garland { z-index: 4; pointer-events: none; }
.pg-hang { z-index: 3; }
.pg-snow { inset: -4%; width: 108%; height: 108%; z-index: 5; pointer-events: none; }
.pg-shine { z-index: 6; pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, transparent 58%, rgb(8 18 40 / 0.18) 80%, rgb(8 18 40 / 0.55) 100%);
  box-shadow: inset 12px 16px 22px -14px rgb(235 244 255 / 0.65), inset -10px -14px 22px -14px rgb(255 196 120 / 0.5), inset 0 0 0 1.5px rgb(207 226 255 / 0.3); }
.pg-shine i { position: absolute; border-radius: 40%; background: linear-gradient(160deg, rgb(255 255 255 / 0.4), rgb(255 255 255 / 0.04) 70%); filter: blur(1px); }
.pg-shine i:nth-child(1) { left: 17%; top: 9%; width: 26%; height: 15%; rotate: -32deg; }
.pg-shine i:nth-child(2) { left: 13%; top: 25%; width: 8%; height: 7%; rotate: -32deg; opacity: 0.7; }
.pg-shine b { position: absolute; right: 9%; bottom: 20%; width: 14%; height: 30%; border-radius: 50%; border-right: 2px solid rgb(255 220 170 / 0.35); rotate: 18deg; filter: blur(0.5px); }
.pg-glass.is-shaken .pg-shine { animation: pg-flash 0.9s ease-out; }
@keyframes pg-flash { 30% { box-shadow: inset 14px 18px 26px -12px rgb(255 255 255 / 0.9), inset -12px -16px 26px -12px rgb(255 210 140 / 0.8), inset 0 0 0 2px rgb(220 235 255 / 0.55); } }
.pg-base { width: 84%; margin: -4.5% auto 0; position: relative; z-index: -1; filter: drop-shadow(0 14px 16px rgb(0 0 0 / 0.5)); }
.pg-collar { height: 0; padding-bottom: 7%; width: 78%; margin: 0 auto; border-radius: 6px 6px 0 0;
  background: linear-gradient(#e9c27a, #b07d2c 40%, #7a5418) top / 100% 18% no-repeat, repeating-linear-gradient(90deg, rgb(0 0 0 / 0.07) 0 1px, transparent 1px 6px), linear-gradient(90deg, #2a160b, #6e4224 25%, #a86d3e 47%, #7c4a27 66%, #2a160b); }
.pg-foot { position: relative; height: 0; padding-bottom: 19%; clip-path: polygon(3% 0, 97% 0, 100% 86%, 97% 100%, 3% 100%, 0 86%); container-type: inline-size;
  background: linear-gradient(#f2d38e, #c99a48 50%, #8a6020) top / 100% 5% no-repeat, linear-gradient(#c99a48, #6e4a14) 0 80% / 100% 4% no-repeat,
    repeating-linear-gradient(88deg, rgb(255 255 255 / 0.04) 0 2px, transparent 2px 9px), repeating-linear-gradient(92deg, rgb(0 0 0 / 0.08) 0 1px, transparent 1px 5px),
    linear-gradient(90deg, #24130a, #5e3720 18%, #9c6538 42%, #c08552 50%, #8e5a32 60%, #4e2d18 82%, #24130a); }
.pg-plate { position: absolute; left: 50%; top: 43%; translate: -50% -50%; max-width: 76%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font: 900 clamp(0.6rem, 4.4cqi, 0.95rem)/1.25 "Nunito", sans-serif; letter-spacing: 0.1em; text-transform: uppercase; color: #4a2c0c; text-shadow: 0 1px 0 rgb(255 240 200 / 0.55);
  background: radial-gradient(circle at 6px 50%, #6e4a14 1.6px, transparent 2.2px), radial-gradient(circle at calc(100% - 6px) 50%, #6e4a14 1.6px, transparent 2.2px), linear-gradient(180deg, #fbe2a4, #e2b862 45%, #c4923e 55%, #e8c47a);
  padding: 0.25em 1.4em; border-radius: 4px; box-shadow: 0 1px 0 rgb(255 255 255 / 0.5) inset, 0 -1px 0 rgb(90 55 10 / 0.4) inset, 0 2px 4px rgb(0 0 0 / 0.45); }
.pg-hint { text-align: center; font-size: 0.82rem; color: var(--tp-soft); margin: 0.4rem 0 0; }
.pg-orn { position: absolute; appearance: none; border: 0; padding: 0; background: none; cursor: zoom-in; transform-origin: 50% 0;
  transition: left 0.5s cubic-bezier(0.3, 1.2, 0.4, 1), top 0.5s, width 0.5s, opacity 0.4s; }
.pg-orn:focus-visible { outline: 2px solid var(--tp-gold); outline-offset: 4px; border-radius: 8px; }
.pg-orn.is-side { filter: saturate(0.8); cursor: pointer; }
.pg-sway { display: flow-root; position: relative; transform-origin: 50% 0; animation: pg-sway 5.5s ease-in-out infinite; }
.pg-orn:nth-child(2n) .pg-sway { animation-delay: -1.7s; } .pg-orn:nth-child(3n) .pg-sway { animation-delay: -3.1s; }
@keyframes pg-sway { 0%, 100% { rotate: -2.6deg; } 50% { rotate: 2.6deg; } }
.pg-rib { position: absolute; left: 50%; top: 0; width: 2px; margin-left: -1px; background: linear-gradient(#a3121c, #d23a3f); border-radius: 2px; }
.pg-rib::after { content: ""; position: absolute; left: 50%; bottom: -3px; width: 9px; height: 11px; margin-left: -4.5px; border: 2px solid #c0202a; border-radius: 50%; }
.pg-orn img { display: block; width: 100%; filter: drop-shadow(0 4px 6px rgb(0 0 0 / 0.45)); transition: opacity 0.2s; }
/* Mike 3 Dec: each ornament also twists slowly on its ribbon (a turn about the ribbon, up to 40 degrees
   either way so the name stays readable). transform only, so it stays on the compositor. */
.pg-orn img { transform-origin: 50% 0; animation: pg-twist 10.5s ease-in-out infinite; }
.pg-orn:nth-child(2n) img { animation-duration: 12.5s; animation-delay: -4.2s; } .pg-orn:nth-child(3n) img { animation-duration: 9.5s; animation-delay: -7.3s; }
@keyframes pg-twist { 0%, 100% { transform: perspective(600px) rotateY(-24deg); } 30% { transform: perspective(600px) rotateY(9deg); } 55% { transform: perspective(600px) rotateY(36deg); } 80% { transform: perspective(600px) rotateY(2deg); } }
.tp-build.is-busy .pg-orn img { opacity: 0.6; }

/* the proof strip (4) */
.pg-strip { position: fixed; z-index: 60; left: max(10px, env(safe-area-inset-left, 0px)); right: max(10px, env(safe-area-inset-right, 0px)); bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 18px; background: rgb(14 33 66 / 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgb(255 196 107 / 0.35); box-shadow: 0 10px 30px rgb(0 0 0 / 0.6); color: #F4F7FB; transform: translateY(140%); transition: transform 0.35s cubic-bezier(0.3, 1.3, 0.5, 1); }
.pg-strip.is-on { transform: none; }
.pg-strip-main { appearance: none; border: 0; background: none; color: inherit; font: inherit; display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; padding: 0; text-align: left; cursor: zoom-in; }
.pg-strip-img { width: 46px; height: 46px; object-fit: contain; flex: none; }
.pg-strip-txt { min-width: 0; line-height: 1.2; }
.pg-strip-txt b { display: block; font: 800 0.92rem/1.2 "Nunito", sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-strip-txt span { font-size: 0.76rem; color: #B4C4DB; }
.pg-strip-price { font: 800 0.9rem "Nunito", sans-serif; color: #FFC46B; white-space: nowrap; }
.pg-strip-price strong { font-weight: 900; }

/* the proof (2) and 3D on tap (5) */
html.pg-locked { overflow: hidden; }
.pg-proof { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; color: #F4F7FB; font-family: "Nunito", sans-serif;
  background: radial-gradient(circle at 50% 35%, #1E3D6C, #0A1A38 75%) rgb(14 33 66); padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); }
.pg-proof-top { display: flex; align-items: center; gap: 12px; padding: 14px 16px 6px; max-width: 40rem; width: 100%; margin: 0 auto; }
.pg-proof-title { flex: 1; font-weight: 900; font-size: 1.1rem; }
.pg-btn { appearance: none; border: 1px solid rgb(255 255 255 / 0.18); background: rgb(255 255 255 / 0.07); color: #F4F7FB; border-radius: 999px; font: 800 0.9rem "Nunito", sans-serif; padding: 0.5rem 1rem; cursor: pointer; }
.pg-seg { display: flex; gap: 2px; padding: 3px; margin: 4px auto 0; width: min(100% - 32px, 24rem); border: 1px solid rgb(255 255 255 / 0.16); border-radius: 999px; background: rgb(0 0 0 / 0.3); }
.pg-seg button { flex: 1; appearance: none; border: 0; background: none; color: #B4C4DB; font: 800 0.86rem "Nunito", sans-serif; padding: 0.45rem 0.6rem; border-radius: 999px; cursor: pointer; }
.pg-seg button[aria-pressed="true"] { background: #F4F7FB; color: #0E2142; }
.pg-proof-art { flex: 1; min-height: 0; position: relative; display: grid; place-items: center; touch-action: pan-y; }
.pg-proof-holder { position: relative; }
.pg-proof-holder img { width: 100%; height: 100%; display: block; filter: drop-shadow(0 10px 18px rgb(0 0 0 / 0.5)); }
.pg-rx { position: absolute; left: 0; right: 0; bottom: -28px; border-top: 1.5px solid #FFC46B; color: #FFC46B; font-size: 0.78rem; font-weight: 800; text-align: center; padding-top: 2px; }
.pg-ry { position: absolute; top: 0; bottom: 0; right: -26px; width: 18px; border-left: 1.5px solid #FFC46B; color: #FFC46B; font-size: 0.78rem; font-weight: 800; }
.pg-ry span { position: absolute; top: 50%; left: 5px; translate: 0 -50%; writing-mode: vertical-rl; }
.pg-rx::before, .pg-rx::after { content: ""; position: absolute; top: -6px; width: 1.5px; height: 10px; background: #FFC46B; }
.pg-rx::before { left: 0; } .pg-rx::after { right: 0; }
.pg-ry::before, .pg-ry::after { content: ""; position: absolute; left: -6px; height: 1.5px; width: 10px; background: #FFC46B; }
.pg-ry::before { top: 0; } .pg-ry::after { bottom: 0; }
.pg-three { position: absolute; inset: 0; }
.pg-three canvas { width: 100% !important; height: 100% !important; display: block; cursor: grab; }
.pg-loading { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: #B4C4DB; font-weight: 800; padding: 0 2rem; text-align: center; }
.pg-nav { position: absolute; top: 50%; translate: 0 -50%; appearance: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.2); background: rgb(0 0 0 / 0.3); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.pg-prev { left: 10px; } .pg-next { right: 10px; }
.pg-proof-info { padding: 34px 16px 18px; display: grid; gap: 8px; max-width: 40rem; width: 100%; margin: 0 auto; }
.pg-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pg-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 700; color: #B4C4DB; border: 1px solid rgb(255 255 255 / 0.16); border-radius: 999px; padding: 0.25rem 0.7rem 0.25rem 0.32rem; }
.pg-chip i { width: 15px; height: 15px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.35); }
.pg-proof-note { margin: 0; font-size: 0.84rem; color: #B4C4DB; }
@media (prefers-reduced-motion: reduce) { .pg-sway, .pg-orn img { animation: none; } .pg-orn, .pg-strip { transition: none; } }

/* Older phones (3 Dec 2026): the exact print as a picture when no globe can start (home.html.erb,
   snow_globe_controller), and the button that reloads it with the new choices. */
.tp-static-proof { display: block; width: 78%; height: 78%; margin: 6% auto 0; object-fit: contain; filter: drop-shadow(0 12px 24px rgb(0 0 0 / 0.35)); }
.tp-refresh { justify-self: start; appearance: none; border: 2px solid var(--tp-gold); border-radius: 999px; padding: 0.7rem 1.2rem; background: transparent; color: inherit; font: 800 1rem/1 "Nunito", sans-serif; cursor: pointer; }
.tp-refresh[hidden] { display: none; }

/* ===== OR-40 · one person's own ornament: a tag (or their ornament in the globe) opens this sheet.
   A bottom sheet on phones, a card in the middle on wider screens. ===== */
.tp-tag.is-own { background: #fff; color: #3A2208; box-shadow: inset 0 0 0 2px var(--tp-gold); position: relative; }
.tp-tag.is-own::after { content: ""; position: absolute; right: -2px; top: -2px; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--tp-gold); box-shadow: 0 0 0 2px var(--tp-bg); }
.tp-tag.is-open { outline: 2px solid #fff; outline-offset: 2px; }
.tp-hint strong { color: var(--tp-gold); font-weight: 800; }
dialog.tp-person { --c-ink: #F4F7FB; --c-soft: #A9BCD6; --c-line: rgb(255 255 255 / 0.16); --c-gold: #FFC46B;
  border: 1px solid rgb(255 196 107 / 0.45); border-radius: 1.4rem; padding: 0; width: min(30rem, calc(100vw - 2rem)); max-height: min(44rem, calc(100dvh - 2rem));
  background: linear-gradient(#1A3561, #102447); color: var(--c-ink); font-family: "Nunito", system-ui, sans-serif; box-shadow: 0 24px 70px rgb(0 0 0 / 0.55); overflow: auto; }
dialog.tp-person::backdrop { background: rgb(5 12 26 / 0.6); }
.tp-person-in { display: grid; gap: 0.95rem; padding: 1.1rem 1.15rem 1.2rem; }
.tp-person-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.85rem; align-items: center; }
.tp-person-art { width: 5.2rem; height: 5.2rem; border-radius: 1.1rem; background: radial-gradient(circle at 50% 35%, #2A5590, #0E2142); display: grid; place-items: center; }
.tp-person-art img { max-width: 4.4rem; max-height: 4.4rem; filter: drop-shadow(0 2px 3px rgb(0 0 0 / 0.4)); }
.tp-person-eyebrow { margin: 0; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-gold); }
.tp-person-head h3 { margin: 0.1rem 0 0.45rem; font-size: 1.2rem; font-weight: 900; line-height: 1.15; overflow-wrap: anywhere; }
.tp-person-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgb(0 0 0 / 0.25); }
.tp-person-seg button { appearance: none; border: 0; background: none; border-radius: 999px; padding: 0.3rem 0.75rem; font: 800 0.8rem/1.2 "Nunito", sans-serif; color: var(--c-soft); cursor: pointer; white-space: nowrap; }
.tp-person-seg button[aria-pressed="true"] { background: var(--c-gold); color: #3A2208; }
.tp-person-x { appearance: none; border: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: rgb(255 255 255 / 0.08); color: var(--c-ink); cursor: pointer; align-self: start; font-size: 1rem; }
.tp-person-field { display: grid; gap: 0.4rem; min-width: 0; }
.tp-person-field > span { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-soft); }
.tp-person-field small { text-transform: none; letter-spacing: 0; font-weight: 600; opacity: 0.8; }
.tp-person-field input { border: 1.5px solid var(--c-line); border-radius: 0.8rem; padding: 0.55rem 0.75rem; background: rgb(255 255 255 / 0.06); color: var(--c-ink); font: 700 1rem "Nunito", sans-serif; }
.tp-person-field input:focus { outline: 2px solid var(--c-gold); outline-offset: 1px; }
.tp-pchips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tp-pchip { appearance: none; cursor: pointer; border: 1.5px solid var(--c-line); background: rgb(255 255 255 / 0.05); color: var(--c-ink); border-radius: 999px; padding: 0.4rem 0.75rem; font: 700 0.86rem/1.1 "Nunito", sans-serif; }
.tp-pchip.is-on { background: rgb(255 196 107 / 0.16); border-color: var(--c-gold); color: #fff; box-shadow: 0 0 14px rgb(255 196 107 / 0.22); }
.tp-person-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.tp-plights { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.tp-plight { appearance: none; border: 0; padding: 0; background: none; width: 1.75rem; height: 1.75rem; cursor: pointer; }
.tp-plight span { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--c); box-shadow: inset -3px -4px 0 rgb(0 0 0 / 0.18), inset 3px 3px 0 rgb(255 255 255 / 0.25); }
.tp-plight.is-on span { box-shadow: 0 0 0 2px #0E2142, 0 0 0 4px var(--c-gold), 0 0 14px 3px color-mix(in srgb, var(--c) 70%, transparent); }
.tp-pchip:focus-visible, .tp-plight:focus-visible, .tp-person-step:focus-visible, .tp-person-x:focus-visible, .tp-person-seg button:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 2px; }
.tp-person-note { margin: 0; font-size: 0.82rem; color: var(--c-soft); background: rgb(255 255 255 / 0.05); border-radius: 0.7rem; padding: 0.5rem 0.7rem; }
.tp-person-note b { color: #8FD6A4; }
/* OR-41: the strip of everyone at the top of the sheet; swipe or tap to switch person */
.tp-pstrip { display: flex; gap: 0.5rem; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -1.15rem; padding: 0.15rem calc(50% - 3.4rem) 0.35rem; scrollbar-width: none; overscroll-behavior-x: contain; }
.tp-pstrip::-webkit-scrollbar { display: none; }
.tp-pstrip-item { position: relative; flex: 0 0 6.8rem; scroll-snap-align: center; appearance: none; border: 1.5px solid rgb(255 255 255 / 0.1); border-radius: 1.1rem; background: rgb(255 255 255 / 0.04); color: var(--c-soft); display: grid; justify-items: center; gap: 0.2rem; padding: 0.5rem 0.3rem 0.4rem; cursor: pointer; opacity: 0.55; transform: scale(0.9); transition: opacity 0.2s, transform 0.2s, border-color 0.2s; }
.tp-pstrip-item.is-on { opacity: 1; transform: none; border-color: var(--c-gold); background: radial-gradient(circle at 50% 35%, #2A5590, #0E2142); color: var(--c-ink); }
.tp-pstrip-art { width: 4.6rem; height: 4.6rem; display: grid; place-items: center; }
.tp-pstrip-art img { max-width: 100%; max-height: 100%; filter: drop-shadow(0 2px 3px rgb(0 0 0 / 0.4)); }
.tp-pstrip-item b { font: 800 0.8rem/1.2 "Nunito", sans-serif; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-pstrip-item i { position: absolute; top: 0.45rem; right: 0.5rem; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--c-gold); }
.tp-person-head:not(:has(.tp-person-art)) { grid-template-columns: minmax(0, 1fr) auto; }
.tp-pstrip-item:focus-visible, .tp-person-copy:focus-visible, .tp-person-toast button:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 2px; }
.tp-person-copy { appearance: none; justify-self: start; border: 1.5px solid var(--c-line); background: none; color: var(--c-ink); border-radius: 999px; padding: 0.5rem 0.95rem; font: 800 0.88rem "Nunito", sans-serif; cursor: pointer; }
.tp-person-toast { margin: 0; justify-self: start; display: flex; align-items: center; gap: 0.6rem; border: 1px solid var(--c-gold); border-radius: 999px; padding: 0.3rem 0.35rem 0.3rem 0.85rem; font: 700 0.85rem "Nunito", sans-serif; }
.tp-person-toast button { appearance: none; border: 0; border-radius: 999px; background: rgb(255 196 107 / 0.18); color: var(--c-gold); padding: 0.25rem 0.7rem; font: 800 0.82rem "Nunito", sans-serif; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .tp-pstrip-item { transition: none; } }
.tp-person-foot { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0.5rem; align-items: center; }
.tp-person-step { justify-self: start; max-width: 100%; appearance: none; border: 1.5px solid var(--c-line); background: none; color: var(--c-soft); border-radius: 999px; padding: 0.45rem 0.8rem; font: 800 0.82rem "Nunito", sans-serif; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-person-step:last-child { justify-self: end; }
.tp-person-done { appearance: none; border: 0; border-radius: 999px; padding: 0.65rem 1.6rem; font: 900 1rem "Nunito", sans-serif; background: linear-gradient(#FFD58C, #F2AE47); color: #3A2208; cursor: pointer; box-shadow: 0 6px 20px rgb(255 190 90 / 0.3); }
@media (max-width: 40rem) {
  dialog.tp-person { margin: auto 0 0; width: 100%; max-width: 100%; max-height: 82dvh; border-radius: 1.5rem 1.5rem 0 0; border-width: 1px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
  dialog.tp-person[open] { animation: tp-sheet-up 0.28s cubic-bezier(.2, .8, .2, 1); }
  .tp-person-two { grid-template-columns: 1fr; }
}
@keyframes tp-sheet-up { from { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) { dialog.tp-person[open] { animation: none; } }
/* OR-40: each tag shows that person's ornament, small, on a night-blue disc (as in the mockup) */
.tp-tag-name { display: inline-flex; align-items: center; gap: 0.4rem; }
.tp-tag-mini { flex: none; width: 1.6rem; height: 1.6rem; margin-left: -0.5rem; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #2A5590, #0E2142); display: grid; place-items: center; overflow: hidden; }
.tp-tag-mini img { max-width: 1.3rem; max-height: 1.3rem; display: block; }
/* OR-40: on the proof, the way to change the ornament shown (that person's sheet, or the workshop) */
.pg-customise { appearance: none; border: 0; border-radius: 999px; padding: 0.7rem 1.3rem; margin-top: 0.4rem; font: 900 0.98rem "Nunito", sans-serif; background: linear-gradient(#FFD58C, #F2AE47); color: #3A2208; cursor: pointer; box-shadow: 0 6px 20px rgb(255 190 90 / 0.3); justify-self: center; }
.pg-customise:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.tp-person-print { appearance: none; border: 0; background: none; padding: 0; margin-top: 0.5rem; display: block; color: #FFC46B; font: 800 0.84rem "Nunito", sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tp-person-workshop { appearance: none; justify-self: start; border: 1.5px solid rgb(255 196 107 / 0.6); background: rgb(255 196 107 / 0.1); color: #fff; border-radius: 999px; padding: 0.55rem 1rem; font: 800 0.9rem "Nunito", sans-serif; cursor: pointer; }

/* OR-42: the first name joins the roster. Its Name field folds away (the value still posts) and its
   tag comes first, ringed, with a star: its ornament is the family look. */
.tp-name-folded { display: none !important; }
.tp-row:has(.tp-name-folded) { grid-template-columns: 6.5rem; }
.tp-tag.is-family { box-shadow: 0 0 0 2px var(--tp-bg, #0E2142), 0 0 0 4px var(--tp-gold, #F4B942); }
.tp-tag-star { font-size: 0.85em; margin-left: 0.1rem; opacity: 0.8; }
