/* Clubs, Direction 2 "Every club is a place" (2026-10-28). Shared tokens and pieces; each screen's sheet builds on these:
   imp-clubs-a.css (Discover's clubs, joining, starting, hosting, search), imp-clubs-b.css (a club's page, an event, Today,
   rooms), imp-clubs-c.css (president tools), imp-clubs-d.css (Find a time, New event, published).
   A club's colour is set with data-ctone="peach|emerald|violet|sand|teal" on any element (99zv-club-tone.js clubTone()).
   Tokens under it: --ct1/--ct2 the colour's gradient, --ctInk text on the colour, --ctText the colour as readable text on
   the light ground, --ctTint a soft wash, --ctBlk a selected block, --ch0..--ch5 heat steps, --ctRing the crest ring on
   the colour. Night (data-theme="dark") deepens every colour so paper text stays readable; tickets stay paper. */

html[data-ui="imp"] [data-ctone="peach"]{--ct1:#F6B394;--ct2:#E9875F;--ctInk:#2A1006;--ctText:#A84A22;--ctRGB:233,135,95;--ctRing:rgba(42,16,6,.55);
  --ch0:#F4EEE8;--ch1:#F8DCCB;--ch2:#F3BC9F;--ch3:#EA956E;--ch4:#D86C43;--ch5:#B9502A}
html[data-ui="imp"] [data-ctone="emerald"]{--ct1:#1F6B4F;--ct2:#134734;--ctInk:#FFF7EE;--ctText:#1F6B4F;--ctRGB:31,107,79;--ctRing:rgba(255,247,238,.75);
  --ch0:#EEF3EE;--ch1:#D3E6DA;--ch2:#A9CDB8;--ch3:#6FA98A;--ch4:#3E8564;--ch5:#1F6B4F}
html[data-ui="imp"] [data-ctone="violet"]{--ct1:#C9B9FA;--ct2:#9A82E6;--ctInk:#1A1040;--ctText:#6B4FD0;--ctRGB:154,130,230;--ctRing:rgba(26,16,64,.55);
  --ch0:#F2EFFA;--ch1:#E2DAFB;--ch2:#CBBDF6;--ch3:#AE98EE;--ch4:#8F73E0;--ch5:#6B4FD0}
html[data-ui="imp"] [data-ctone="sand"]{--ct1:#EFDDB8;--ct2:#D4B97E;--ctInk:#2E2410;--ctText:#7A5A1E;--ctRGB:190,160,95;--ctRing:rgba(46,36,16,.55);
  --ch0:#F5F1E8;--ch1:#EFE3C8;--ch2:#E5D2A6;--ch3:#D4B97E;--ch4:#B8974F;--ch5:#8C6A28}
html[data-ui="imp"] [data-ctone="teal"]{--ct1:#2C7C82;--ct2:#1A5257;--ctInk:#FFF7EE;--ctText:#1F6A70;--ctRGB:44,124,130;--ctRing:rgba(255,247,238,.75);
  --ch0:#ECF3F3;--ch1:#CFE4E5;--ch2:#A3CBCE;--ch3:#6CAAAF;--ch4:#3E888E;--ch5:#1F6A70}
html[data-ui="imp"] [data-ctone]{--ctTint:rgba(var(--ctRGB),.13);--ctBlk:rgba(var(--ctRGB),.20);--ctBlk2:rgba(var(--ctRGB),.30)}
/* night: deeper colours, paper text (contrast checked 2026-10-28: paper on each --ct1 at least 4.5:1) */
html[data-ui="imp"][data-theme="dark"] [data-ctone="peach"]{--ct1:#A4583A;--ct2:#7E3B22;--ctInk:#FFF8F0;--ctText:#F2A27E;--ctRing:rgba(255,248,240,.7)}
html[data-ui="imp"][data-theme="dark"] [data-ctone="emerald"]{--ct1:#174F3B;--ct2:#0D3427;--ctInk:#FFF8F0;--ctText:#8FD9B3}
html[data-ui="imp"][data-theme="dark"] [data-ctone="violet"]{--ct1:#6A53B8;--ct2:#4E3A96;--ctInk:#FFF8F0;--ctText:#C9B9FA;--ctRing:rgba(255,248,240,.7)}
html[data-ui="imp"][data-theme="dark"] [data-ctone="sand"]{--ct1:#7A6236;--ct2:#5A4826;--ctInk:#FFF8F0;--ctText:#E5D2A6;--ctRing:rgba(255,248,240,.7)}
html[data-ui="imp"][data-theme="dark"] [data-ctone="teal"]{--ct1:#1F6067;--ct2:#123F44;--ctInk:#FFF8F0;--ctText:#8FD3D8}
html[data-ui="imp"][data-theme="dark"] [data-ctone]{--ctTint:rgba(var(--ctRGB),.18);--ch0:rgba(255,255,255,.06)}

/* the colour as a surface: a club's page, a pass, a published event */
html[data-ui="imp"] .c2-fill{background:radial-gradient(70% 36% at 85% 0%,rgba(255,247,238,.16),transparent 70%),linear-gradient(160deg,var(--ct1),var(--ct2));color:var(--ctInk)}
html[data-ui="imp"] .c2-rings{position:absolute;pointer-events:none;fill:none;stroke:currentColor;opacity:.14}
/* glass controls on the colour */
html[data-ui="imp"] .c2-gl{background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.34);color:inherit;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}

/* the crest: initials in a ring with a small orb */
html[data-ui="imp"] .c2-crest{position:relative;flex:none;width:var(--cs,36px);height:var(--cs,36px);border-radius:50%;display:inline-grid;place-items:center;
  font:400 calc(var(--cs,36px) * .38)/1 var(--imp-serif,'Young Serif',Georgia,serif);color:inherit;box-shadow:inset 0 0 0 1.5px var(--ctRing,currentColor);background:rgba(255,255,255,.14);font-variant-numeric:lining-nums}
html[data-ui="imp"] .c2-crest::after{content:"";position:absolute;right:0;top:0;width:calc(var(--cs,36px) * .24);height:calc(var(--cs,36px) * .24);border-radius:50%;
  background:radial-gradient(circle at 35% 30%,#fff,#FFE3B8 50%,#E8913A);box-shadow:0 0 0 2px var(--ct1,#F6B394)}
html[data-ui="imp"] .c2-crest.fill{background:linear-gradient(160deg,var(--ct1),var(--ct2));color:var(--ctInk);box-shadow:none}
html[data-ui="imp"] .c2-crest.fill::after{box-shadow:0 0 0 2px var(--imp-page,#FAF9F6)}

/* the ticket: two halves notched at the tear, paper in both themes */
html[data-ui="imp"] .c2-tk{filter:drop-shadow(0 12px 26px rgba(18,32,26,.16))}
html[data-ui="imp"] .c2-tk-a,html[data-ui="imp"] .c2-tk-b{background:#fff;color:#12201A;position:relative}
html[data-ui="imp"][data-theme="dark"] .c2-tk-a,html[data-ui="imp"][data-theme="dark"] .c2-tk-b{background:#FFF8F0}
html[data-ui="imp"] .c2-tk-a{border-radius:26px 26px 0 0;-webkit-mask:radial-gradient(circle 12px at 0 100%,transparent 11.5px,#000 12px) left/51% 100% no-repeat,radial-gradient(circle 12px at 100% 100%,transparent 11.5px,#000 12px) right/51% 100% no-repeat;mask:radial-gradient(circle 12px at 0 100%,transparent 11.5px,#000 12px) left/51% 100% no-repeat,radial-gradient(circle 12px at 100% 100%,transparent 11.5px,#000 12px) right/51% 100% no-repeat}
html[data-ui="imp"] .c2-tk-b{border-radius:0 0 26px 26px;-webkit-mask:radial-gradient(circle 12px at 0 0,transparent 11.5px,#000 12px) left/51% 100% no-repeat,radial-gradient(circle 12px at 100% 0,transparent 11.5px,#000 12px) right/51% 100% no-repeat;mask:radial-gradient(circle 12px at 0 0,transparent 11.5px,#000 12px) left/51% 100% no-repeat,radial-gradient(circle 12px at 100% 0,transparent 11.5px,#000 12px) right/51% 100% no-repeat}
html[data-ui="imp"] .c2-tk-b::before{content:"";position:absolute;left:20px;right:20px;top:0;border-top:2px dashed rgba(18,32,26,.16)}
html[data-ui="imp"] .c2-tk.tint .c2-tk-a,html[data-ui="imp"] .c2-tk.tint .c2-tk-b{background:linear-gradient(var(--ctTint),var(--ctTint)),#fff}
/* the date block on a ticket */
html[data-ui="imp"] .c2-date{width:56px;height:68px;flex:none;border-radius:16px;background:linear-gradient(160deg,var(--ct1),var(--ct2));color:var(--ctInk);display:flex;flex-direction:column;align-items:center;justify-content:center;font-variant-numeric:lining-nums}
html[data-ui="imp"] .c2-date small{font:400 11px var(--imp-mono,'DM Mono',monospace);text-transform:uppercase}
html[data-ui="imp"] .c2-date b{font:400 28px/1 var(--imp-serif,'Young Serif',Georgia,serif)}
html[data-ui="imp"] .c2-date b.wk{font-size:18px;margin-top:2px}
@media (prefers-reduced-motion:reduce){html[data-ui="imp"] .c2-tk{filter:none}}
