/* Light · Minimal glow: discover (2026-10-28). Scoped to html[data-ui="imp"]; foundation in impresses.css.
   Boards (Design canvas "Resonate — Ships vs. Impresses", page "Every screen — Minimal glow"): M-Tab-Discover (the
   interest doors as a bento), M-Interest (an interest's page: the door grown into an emerald hero, the glass people card),
   M-Events (Discover → Clubs & events → Events), M-Club (a club's page: the peach hero, next / later events).
   Same language, no board: the Clubs list and its directory, Host an event (the page), the open-a-room and QR sheets,
   the Discover ask, the club's ••• sheet, Manage club, Members and its requests, the Club Mirror consent.
   Markup: parts/31-discover-doors.js (doors, hero, rows), parts/92-club.js (club page), base.js community code
   (cmEventCard, erSpacesTop, erHostRow, erHostSheet: class hooks only). Only transform and opacity animate; live blur only
   where content scrolls under glass (the search field over the doors). Inline geometry the older markup writes
   (border-radius on community cards) needs !important; everything else wins on the html[data-ui="imp"] scope. */

/* ================================================================ shared: the five orb tones on spans that are not av() */
html[data-ui="imp"] :is(#s-discover,#community) [data-tone]:is(.dd-ini,.dd-faces span,.dd-pfaces span,.v2-clface){
  background:radial-gradient(circle at 32% 28%,#F4FFF2 0%,#CFE7C9 38%,#7FB08A 78%,#3E7556 100%);color:#12301F;font-family:var(--serif);font-weight:400}
html[data-ui="imp"] :is(#s-discover,#community) [data-tone="peach"]:is(.dd-ini,.dd-faces span,.dd-pfaces span,.v2-clface){background:radial-gradient(circle at 32% 28%,#FFF0EC 0%,#F2B8A8 55%,#C27767 100%);color:#3A1408}
html[data-ui="imp"] :is(#s-discover,#community) [data-tone="lilac"]:is(.dd-ini,.dd-faces span,.dd-pfaces span,.v2-clface){background:radial-gradient(circle at 32% 28%,#F4E1FF 0%,#B39CFF 55%,#6E55C9 100%);color:#1A1040}
html[data-ui="imp"] :is(#s-discover,#community) [data-tone="gold"]:is(.dd-ini,.dd-faces span,.dd-pfaces span,.v2-clface){background:radial-gradient(circle at 32% 28%,#FFF8D6 0%,#F5D36B 55%,#B98F1F 100%);color:#3A2A04}
html[data-ui="imp"] :is(#s-discover,#community) [data-tone="sky"]:is(.dd-ini,.dd-faces span,.dd-pfaces span,.v2-clface){background:radial-gradient(circle at 32% 28%,#E6F7FF 0%,#9DD3EE 55%,#4F94BC 100%);color:#0C2A3C}

/* the bento tones (board M-Tab-Discover's own gradients; --ring is the tile's colour behind the faces) */
html[data-ui="imp"] #s-discover .dd-t-emerald{--dd-bg:linear-gradient(160deg,#1F6B4F 0%,#134734 100%);--dd-fg:#FFF7EE;--dd-ring:#1F6B4F}
html[data-ui="imp"] #s-discover .dd-t-peach{--dd-bg:linear-gradient(160deg,#F6B394,#E9875F);--dd-fg:#2A1006;--dd-ring:#F2A07D}
html[data-ui="imp"] #s-discover .dd-t-violet{--dd-bg:linear-gradient(160deg,#6E5BD6,#3A2D8C);--dd-fg:#FFF7EE;--dd-ring:#5B4BC4}
html[data-ui="imp"] #s-discover .dd-t-sand{--dd-bg:linear-gradient(160deg,#EFE0BE,#D4BC88);--dd-fg:#2A2010;--dd-ring:#E2CFA2}
html[data-ui="imp"] #s-discover .dd-t-teal{--dd-bg:linear-gradient(160deg,#23A39B,#126A64);--dd-fg:#FFF7EE;--dd-ring:#1E8C86}

/* ================================================================ Discover (M-Tab-Discover) */
html[data-ui="imp"][data-theme] #s-discover{--edgeRGB:250,249,246;--dd-line:var(--imp-line);--dd-line2:rgba(18,32,26,.14);--dd-card:#FFFFFF}
html[data-ui="imp"][data-theme="dark"] #s-discover{--edgeRGB:30,42,16;--dd-line2:rgba(255,248,240,.2);--dd-card:rgba(255,255,255,.16)}
/* the head: "Discover" (Young Serif 40) and a glass round ••• at the other screens' right edge (16 px); content at 56 px */
html[data-ui="imp"] #s-discover .dd-top{margin-top:max(16px,calc(56px - max(12px,env(safe-area-inset-top,0px) - 16px)));min-height:46px}
html[data-ui="imp"] #s-discover .dd-title{font:400 40px/46px var(--serif);letter-spacing:-.5px;color:var(--imp-ink)}
html[data-ui="imp"][data-theme] #s-discover .dd-more{margin-right:-4px;background:var(--imp-glass);color:var(--imp-ink);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair)}
html[data-ui="imp"] #s-discover .dd-more svg{width:20px;height:20px}
html[data-ui="imp"] #s-discover .dd-more svg circle{r:2px}
html[data-ui="imp"] #s-discover .dd-sub{margin:6px 0 0;max-width:340px;font:400 15px/21px var(--sans,'Figtree',sans-serif);color:var(--imp-dim);text-wrap:balance}
/* People | Clubs & events: a glass segmented control (board M-Events); the hit area reaches into the padding (44 px) */
html[data-ui="imp"][data-theme] #s-discover .dd-seg{margin:14px -4px 0;height:46px;box-sizing:border-box;padding:4px;gap:4px;border-radius:23px;background:var(--imp-glass);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair)}
html[data-ui="imp"] #s-discover .dd-seg button{position:relative;min-height:0;height:38px;border-radius:19px;font:600 15px/1.2 var(--sans,'Figtree',sans-serif);color:var(--imp-dim)}
html[data-ui="imp"] #s-discover .dd-seg button::after{content:"";position:absolute;inset:-4px -2px}
html[data-ui="imp"][data-theme] #s-discover .dd-seg button[aria-selected="true"]{background:#FFFFFF;color:var(--imp-ink);font-weight:700;box-shadow:var(--imp-hair)}
html[data-ui="imp"][data-theme="dark"] #s-discover .dd-seg button[aria-selected="true"]{background:rgba(255,255,255,.16)}
html[data-ui="imp"] #s-discover .dd-seg+.dd-sub{margin-top:12px}

/* the bento: the biggest interest full width (170 px), then two columns of 148 px tiles, radius 30, gap 12 */
html[data-ui="imp"] #s-discover .dd-doors{margin:0 -4px;padding-top:14px;gap:12px}
html[data-ui="imp"] #s-discover .dd-door{position:relative;height:148px;box-sizing:border-box;padding:16px;border-radius:30px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:0;
  color:var(--dd-fg);box-shadow:var(--imp-hair);-webkit-tap-highlight-color:transparent}
html[data-ui="imp"] #s-discover .dd-door.dd-big{grid-column:span 2;height:170px}
/* the colour layer is its own element: it is what flies into the interest's hero */
html[data-ui="imp"] #s-discover .dd-dimg{position:absolute;inset:0;z-index:0;aspect-ratio:auto;border-radius:30px;background:var(--dd-bg);color:inherit;overflow:hidden}
html[data-ui="imp"] #s-discover .dd-faces{position:relative;left:auto;bottom:auto;z-index:1;display:flex;min-height:36px}
/* the orbs overlap by 4 px (2026-10-30, iPhone stress test S3: at 8 px the next orb hid the first one's second initial, "HO" read "HC") */
html[data-ui="imp"] #s-discover .dd-faces span{width:36px;height:36px;margin:0 -4px 0 0;font-size:12px;letter-spacing:0;box-shadow:0 0 0 2px var(--dd-ring)}
html[data-ui="imp"] #s-discover .dd-faces span+span{margin-left:0}
html[data-ui="imp"] #s-discover .dd-dtx{position:relative;z-index:1;display:flex;flex-direction:column;gap:2px;max-width:100%}
html[data-ui="imp"] #s-discover .dd-dname{font:400 28px/1 var(--serif);color:inherit;padding-bottom:2px}
html[data-ui="imp"] #s-discover .dd-big .dd-dname{font-size:40px}
/* a name still too wide at 18 px (31-discover-doors.js ddFitNames, V-22) wraps at word breaks, two lines at most */
html[data-ui="imp"] #s-discover .dd-dname.dd-wrap{white-space:normal;overflow-wrap:normal;line-height:1.08;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
html[data-ui="imp"] #s-discover .dd-dn{margin:0;font:400 13px/1.3 var(--mono);color:inherit;opacity:.85}
html[data-ui="imp"][data-theme] #s-discover .dd-addtile{grid-column:span 2;aspect-ratio:auto;height:148px;border:0;border-radius:30px;background:rgba(255,255,255,.55);outline:1.5px dashed rgba(21,74,54,.35);outline-offset:-1.5px;color:var(--imp-forest);font:700 16px/1.25 var(--sans,'Figtree',sans-serif)}
html[data-ui="imp"][data-theme="dark"] #s-discover .dd-addtile{background:var(--imp-glass);outline-color:rgba(196,208,177,.4)}

/* search results: a small tile of the door's colour, then the name */
html[data-ui="imp"] #s-discover .dd-lab{font:400 12.5px/1.3 var(--mono);color:var(--imp-dim)}
html[data-ui="imp"] #s-discover .dd-ithumb{border-radius:14px;background:var(--dd-bg,#1F6B4F)}

/* ================================================================ an interest's page (M-Interest) */
html[data-ui="imp"] #s-discover.dd-pg [data-ddmain]{padding-top:0}
/* an interest's page leaves horizontal pans to the edge swipe back (V-24; the F08 rule in resonate-v2.css for the others) */
html[data-ui="imp"][data-theme] #s-discover.dd-pg{touch-action:pan-y pinch-zoom}
html[data-ui="imp"] #s-discover .dd-ptop{margin-top:max(16px,calc(56px - max(12px,env(safe-area-inset-top,0px) - 16px)))}
html[data-ui="imp"][data-theme] #s-discover .dd-back{margin-left:-4px;background:var(--imp-glass);color:var(--imp-ink);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair)}
html[data-ui="imp"] #s-discover .dd-back svg{width:20px;height:20px;stroke-width:2.2}
/* the hero: 296 px, radius 34. It does not clip (the colour layer flies in from the door); the drawing clips itself */
html[data-ui="imp"] #s-discover .dd-phead{position:relative;height:296px;margin:10px -4px 0;padding:0;color:var(--dd-fg)}
html[data-ui="imp"] #s-discover .dd-pbg{position:absolute;inset:0;width:auto;z-index:0}
html[data-ui="imp"] #s-discover .dd-pimg{position:absolute;inset:0;width:auto;height:auto;border-radius:34px;background:var(--dd-bg);box-shadow:var(--imp-hair);overflow:hidden}
html[data-ui="imp"] #s-discover .dd-hart{position:absolute;inset:0;z-index:1;border-radius:34px;overflow:hidden;pointer-events:none}
html[data-ui="imp"] #s-discover .dd-hart svg{position:absolute;display:block}
html[data-ui="imp"] #s-discover .dd-hart.holds svg{right:-6px;top:-4px}
/* the rings sit in the hero's top right, clear of the name at the bottom (2026-10-30, S3: their dots landed on "Running•") */
html[data-ui="imp"] #s-discover .dd-hart.rings svg{right:-60px;top:-70px;color:rgba(255,247,238,.9)}
html[data-ui="imp"] #s-discover :is(.dd-t-peach,.dd-t-sand) .dd-hart.rings svg{color:rgba(255,247,238,.95)}
html[data-ui="imp"] #s-discover .dd-pfaces{position:absolute;left:20px;top:20px;z-index:2;display:flex}
html[data-ui="imp"] #s-discover .dd-pfaces span{width:40px;height:40px;margin-right:-6px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;box-shadow:0 0 0 2px var(--dd-ring)}
html[data-ui="imp"] #s-discover .dd-hbot{position:absolute;left:20px;right:20px;bottom:20px;z-index:2;display:flex;flex-direction:column;gap:4px}
html[data-ui="imp"] #s-discover .dd-pnx{margin:0}
html[data-ui="imp"] #s-discover .dd-pname{font:400 46px/50px var(--serif);letter-spacing:-.5px;color:inherit}
html[data-ui="imp"] #s-discover .dd-pline{margin:0;font:400 13px/1.3 var(--mono);color:inherit;opacity:.85}
/* the people: one glass card, rows of 72 px with a glass "Ask Marcus" */
html[data-ui="imp"][data-theme] #s-discover .dd-prows{margin:14px -4px 0;padding:4px 16px;border-radius:30px;background:var(--imp-card);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair)}
html[data-ui="imp"] #s-discover .dd-row{min-height:72px;padding:10px 0;box-sizing:border-box;border-bottom:1px solid var(--imp-line)}
html[data-ui="imp"] #s-discover .dd-prows .dd-row:last-child{border-bottom:0}
html[data-ui="imp"] #s-discover .dd-rowmain{min-height:52px;border-radius:14px}
html[data-ui="imp"] #s-discover .dd-ini{width:46px;height:46px;font-size:15px;box-shadow:var(--imp-hair)}
html[data-ui="imp"] #s-discover .dd-rown{font:600 16px/21px var(--sans,'Figtree',sans-serif);color:var(--imp-ink)}
html[data-ui="imp"] #s-discover .dd-rows{font:400 14px/18px var(--sans,'Figtree',sans-serif);color:var(--imp-dim)}
html[data-ui="imp"][data-theme] #s-discover .dd-ask{min-height:44px;padding:0 16px;border:0;border-radius:22px;background:rgba(255,255,255,.75);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair);color:var(--imp-forest);font:700 15px/1 var(--sans,'Figtree',sans-serif)}
html[data-ui="imp"][data-theme="dark"] #s-discover .dd-ask{background:var(--imp-glass)}
html[data-ui="imp"][data-theme] #s-discover .dd-ask.on{background:transparent;box-shadow:inset 0 0 0 1px var(--imp-line);color:var(--imp-dim);font-weight:600}
html[data-ui="imp"] #s-discover .dd-prows .dd-none{margin:18px 0;font-size:18px}
html[data-ui="imp"] #s-discover .dd-res .dd-row:last-child{border-bottom:0}
/* closing: the hero's faces and drawing leave with the rows */
html[data-ui="imp"] #s-discover .dd-ghost.dd-closing :is(.dd-pfaces,.dd-hart){animation:ddOut 200ms ease-out both}

/* ================================================================ the dock: glass search + forest + (52 px), 36 px over the tab bar */
html[data-ui="imp"] #s-discover .dd-dock{--dd-tb:max(24px,env(safe-area-inset-bottom,0px))}
html[data-ui="imp"] #s-discover .dd-sbar{bottom:calc(var(--dd-tb) + 104px)}
/* the room under the raised bar (V-21): the last tile or row scrolls fully clear of it (bar top = tb + 156, plus 16), and the
   fade starts above the bar so rows scrolling under it fade out instead of running under the glass */
html[data-ui="imp"]:not(.v2-desk) #s-discover{--dd-tb:max(24px,env(safe-area-inset-bottom,0px))}
html[data-ui="imp"]:not(.v2-desk) #s-discover .dd-spacer{height:calc(var(--dd-tb) + 172px)}
html[data-ui="imp"]:not(.v2-desk) #s-discover .dd-dock{height:calc(var(--dd-tb) + 204px);margin-top:calc(-204px - var(--dd-tb))}
html[data-ui="imp"]:not(.v2-desk) #s-discover .dd-dock::before{background:linear-gradient(to bottom,rgba(var(--edgeRGB,255,248,240),0) 0,rgba(var(--edgeRGB,255,248,240),1) 52px)}
/* the words swap one after the other (S3: the 240 ms cross-fade showed "Search poker…" over "…and interests"): out in 100 ms, in after it */
html[data-ui="imp"] #s-discover .dd-ph{transition:opacity 100ms ease-out}
html[data-ui="imp"] #s-discover .dd-ph.on{transition:opacity 180ms ease-out 100ms}
html[data-ui="imp"][data-theme] #s-discover .dd-search{height:52px;box-sizing:border-box;padding:0 18px;border-radius:26px;background:var(--imp-glass);color:var(--imp-dim);
  box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair);-webkit-backdrop-filter:blur(20px) saturate(160%);backdrop-filter:blur(20px) saturate(160%)}
html[data-ui="imp"][data-theme] #s-discover .dd-search:focus-within{box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair),0 0 0 2px #2F8F68}
html[data-ui="imp"] #s-discover .dd-sic svg{width:18px;height:18px;stroke-width:2.2}
html[data-ui="imp"] #s-discover .dd-sfield input,html[data-ui="imp"] #s-discover .dd-ph{font:400 16px/1.2 var(--sans,'Figtree',sans-serif)}
html[data-ui="imp"][data-theme] #s-discover .dd-sfield input{background:transparent;color:var(--imp-ink)}
html[data-ui="imp"] #s-discover .dd-ph{color:var(--imp-dim)}
/* the ask's draft: the card's own rounded ring is its focus mark, not a square outline inside it (S3) */
html[data-ui="imp"] #sheet .iz-dtext:focus-visible{outline:none}
html[data-ui="imp"][data-theme] #s-discover .dd-add{width:52px;height:52px;border-radius:26px;background:var(--imp-forest);color:#FFFFFF;box-shadow:var(--imp-hair)}
html[data-ui="imp"][data-theme="dark"] #s-discover .dd-add{color:#1E2A10}
html[data-ui="imp"] #s-discover .dd-add svg{width:22px;height:22px;stroke-width:2.6}
html[data-ui="imp"] #s-discover .dd-cancel{color:var(--imp-forest)}

/* the locked state (fewer than 3 of your people here): orbs, the line in Young Serif, a forest pill */
html[data-ui="imp"] #s-discover .dd-lock{padding-top:32px}
html[data-ui="imp"] #s-discover .dd-lring.here{box-shadow:inset 0 0 0 2px var(--imp-forest)}
html[data-ui="imp"] #s-discover .dd-lname{color:var(--imp-ink)}
html[data-ui="imp"] #s-discover .dd-lstate{font-size:12.5px;color:var(--imp-dim)}
html[data-ui="imp"] #s-discover .dd-lline{font-size:24px;line-height:30px;color:var(--imp-ink)}
html[data-ui="imp"][data-theme] #s-discover .dd-lbtn{min-height:54px;border-radius:27px;background:var(--imp-forest);color:#FFFFFF;font-weight:700;box-shadow:var(--imp-hair)}
html[data-ui="imp"][data-theme="dark"] #s-discover .dd-lbtn{color:#1E2A10}

/* ••• and What you're into (sheets) */
html[data-ui="imp"] #sheet [data-ddsheet] .h2{font:400 28px/34px var(--serif);color:var(--imp-ink)}
html[data-ui="imp"] #sheet .dd-srow{border-bottom-color:var(--imp-line)}
html[data-ui="imp"][data-theme] #sheet .dd-chip{border:0;background:var(--imp-glass);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair);color:var(--imp-ink)}
html[data-ui="imp"][data-theme] #sheet .dd-chip[aria-pressed="true"]{background:var(--imp-forest);color:#FFFFFF;box-shadow:var(--imp-hair)}
html[data-ui="imp"][data-theme="dark"] #sheet .dd-chip[aria-pressed="true"]{color:#1E2A10}

/* the Discover ask ("Let people find you in Discover?") */
html[data-ui="imp"] #sheet [data-v2discask] .h2{font:400 28px/34px var(--serif);letter-spacing:-.3px;color:var(--imp-ink);text-wrap:balance}
html[data-ui="imp"] #sheet [data-v2discask] .small{font-size:15px;line-height:21px;color:var(--imp-dim)}
html[data-ui="imp"] #sheet [data-v2discask] .v2-discmore{color:var(--imp-forest);font-weight:700}
html[data-ui="imp"] #sheet [data-v2discask] .tiny{font-size:13px;line-height:1.45;color:var(--imp-dim)}

/* ================================================================ Clubs & events (M-Events) */
/* Clubs | Events · 2: two chips, the selected one forest (40 px drawn, 44 px to tap) */
html[data-ui="imp"][data-theme] #s-discover .dd-clubs>.seg{margin:8px -4px 0!important;min-height:0!important;height:48px;padding:0;gap:8px;display:flex;justify-content:flex-start;background:none;box-shadow:none;border-radius:0}
html[data-ui="imp"][data-theme] #s-discover .dd-clubs>.seg button{position:relative;flex:none;height:48px;min-height:0;padding:0 18px;border-radius:20px;background:none;box-shadow:none;color:var(--imp-ink);font:600 15px/1 var(--sans,'Figtree',sans-serif)}
html[data-ui="imp"][data-theme] #s-discover .dd-clubs>.seg button::before{content:"";position:absolute;left:0;right:0;top:4px;bottom:4px;z-index:-1;border-radius:20px;background:var(--imp-glass);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair)}
html[data-ui="imp"][data-theme] #s-discover .dd-clubs>.seg button{isolation:isolate}
html[data-ui="imp"][data-theme] #s-discover .dd-clubs>.seg button[aria-pressed="true"]{color:#FFFFFF;font-weight:700}
html[data-ui="imp"][data-theme] #s-discover .dd-clubs>.seg button[aria-pressed="true"]::before{background:var(--imp-forest);box-shadow:none}
html[data-ui="imp"][data-theme="dark"] #s-discover .dd-clubs>.seg button[aria-pressed="true"]{color:#1E2A10}
/* every community card in the view: glass, radius 26 (the older markup writes 22 inline) */
html[data-ui="imp"][data-theme] #s-discover .dd-clubs .card{border-radius:26px!important}
/* Host an event: a glass card, the link in a soft forest square, Young Serif 22, a forest button */
html[data-ui="imp"][data-theme] #s-discover .cm-host{margin:10px -4px 0!important;padding:18px!important;border-radius:28px!important;gap:14px}
html[data-ui="imp"] #s-discover .cm-host .srcicon{width:44px;height:44px;border-radius:15px;background:rgba(var(--imp-forestRGB),.10);color:var(--imp-forest);box-shadow:none}
html[data-ui="imp"] #s-discover .cm-host .srcicon svg{width:20px;height:20px;stroke-width:2.2}
html[data-ui="imp"] #s-discover .cm-host .cm-hostt{font:400 22px/27px var(--serif)!important;color:var(--imp-ink)}
html[data-ui="imp"] #s-discover .cm-host .small{margin-top:3px;font-size:15px;line-height:21px!important;color:var(--imp-dim)}
html[data-ui="imp"][data-theme] #s-discover .cm-host .pill{min-height:50px;height:50px;border-radius:25px;font-size:16px;gap:8px}
html[data-ui="imp"] #s-discover .cm-host .pill svg{width:18px;height:18px;stroke-width:2.6}
/* section heads: Young Serif 22, the count in forest */
html[data-ui="imp"] #s-discover .dd-clubs .sechead{margin-top:14px!important}
html[data-ui="imp"] #s-discover .dd-clubs .sechead h2{font:400 22px/28px var(--serif)!important;color:var(--imp-ink);letter-spacing:0;text-transform:none}
html[data-ui="imp"] #s-discover .cm-evsec h2 span{color:var(--imp-forest)}
html[data-ui="imp"] #s-discover .dd-clubs .sechead .link{font-weight:700}
/* an event: the club in DM Mono with a peach dot, the title in Young Serif 22, the time, Going / Not going (44 px) */
html[data-ui="imp"][data-theme] #s-discover [data-evcard]{margin:0 -4px;padding:14px 16px 16px!important;gap:12px}
html[data-ui="imp"] :is(#s-discover,#community) .link.cm-evclub{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin:-12px 0 -14px;padding:0;font:400 12px/1 var(--mono);text-transform:lowercase;letter-spacing:0;color:var(--imp-dim)}
html[data-ui="imp"] :is(#s-discover,#community) .cm-evclub i{width:8px;height:8px;border-radius:4px;background:#E9875F}
html[data-ui="imp"] .cm-evt{margin:4px 0 0;font:400 22px/28px var(--serif);color:var(--imp-ink)}
html[data-ui="imp"] [data-evcard] .small{margin-top:2px;font-size:14px;line-height:19px;color:var(--imp-dim)}
html[data-ui="imp"] [data-evcard] .tiny{font-weight:600}
html[data-ui="imp"] :is([data-evcard],.v2-clev) :is(.cm-rsvp,.v2-clrsvp){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
html[data-ui="imp"][data-theme] :is([data-evcard] .cm-rsvp .pill,.v2-clrsvp .v2-btn){min-height:44px;height:44px;border-radius:22px;padding:0 10px;gap:6px;font:600 15px/1 var(--sans,'Figtree',sans-serif)}
/* not answered: Going is white with a forest check and a forest hairline, Not going is glass; the answer you gave is forest */
html[data-ui="imp"][data-theme="light"] :is([data-evcard] .cm-rsvp .pill,.v2-clrsvp .v2-btn)[data-a="going"][aria-pressed="false"]{background:rgba(255,255,255,.8);color:var(--imp-forest);font-weight:700;box-shadow:inset 0 0 0 1px rgba(21,74,54,.16)}
html[data-ui="imp"][data-theme="light"] :is([data-evcard] .cm-rsvp .pill,.v2-clrsvp .v2-btn)[data-a="not_going"][aria-pressed="false"]{background:rgba(255,255,255,.6);color:var(--imp-ink);box-shadow:inset 0 0 0 1px rgba(18,32,26,.12)}
html[data-ui="imp"][data-theme] :is([data-evcard] .cm-rsvp .pill,.v2-clrsvp .v2-btn)[aria-pressed="true"]{background:var(--imp-forest);color:#FFFFFF;font-weight:700;box-shadow:var(--imp-hair)}
html[data-ui="imp"][data-theme="dark"] :is([data-evcard] .cm-rsvp .pill,.v2-clrsvp .v2-btn)[aria-pressed="false"]{background:var(--imp-glass);color:var(--imp-ink);font-weight:600;box-shadow:inset 0 0 0 1px var(--imp-edge)}
html[data-ui="imp"][data-theme="dark"] :is([data-evcard] .cm-rsvp .pill,.v2-clrsvp .v2-btn)[data-a="going"][aria-pressed="false"]{color:var(--imp-forest);font-weight:700}
html[data-ui="imp"][data-theme="dark"] :is([data-evcard] .cm-rsvp .pill,.v2-clrsvp .v2-btn)[aria-pressed="true"]{color:#1E2A10}
html[data-ui="imp"] :is(.cm-rsvp .pill,.v2-clrsvp .v2-btn)[data-a="not_going"] svg{display:none}
html[data-ui="imp"] :is(.cm-rsvp .pill,.v2-clrsvp .v2-btn)[data-a="going"]:not([aria-pressed="true"]) svg{color:var(--imp-forest)}
/* the event room's button: a soft forest pill with the QR mark */
html[data-ui="imp"][data-theme] .pill.cm-hostroom{min-height:46px;border-radius:23px;gap:8px;background:rgba(var(--imp-forestRGB),.07);color:var(--imp-ink);font:600 15px/1 var(--sans,'Figtree',sans-serif);box-shadow:inset 0 0 0 1px var(--imp-edge)}
html[data-ui="imp"] .cm-hostroom svg{color:var(--imp-forest)}
html[data-ui="imp"][data-theme] :is(#s-discover,#community) [data-er="room"].pill{min-height:46px;border-radius:23px}
/* spaces you've been in, the one-line "not going" rows */
html[data-ui="imp"] #s-discover .dd-clubs .card.row p:first-child{color:var(--imp-ink)}
html[data-ui="imp"] #s-discover .dd-clubs .empty{border-radius:26px;border-color:rgba(21,74,54,.25);background:rgba(255,255,255,.4)}
html[data-ui="imp"][data-theme="dark"] #s-discover .dd-clubs .empty{background:var(--imp-glass)}
html[data-ui="imp"] #s-discover .dd-clubs .tiny{color:var(--imp-dim)}

/* the Clubs list: each club a bento tile (peach, like the club's page), Start a community glass, the directory glass */
html[data-ui="imp"][data-theme] #s-discover .v2-club,html[data-ui="imp"][data-theme] #s-orbit .v2-club{margin:0 -4px;width:calc(100% + 8px);min-height:132px;padding:18px 20px;border-radius:30px;
  background:linear-gradient(160deg,#F6B394,#E9875F);color:#2A1006;box-shadow:var(--imp-hair)}
html[data-ui="imp"][data-theme] :is(#s-discover,#s-orbit) .v2-club.tan{background:linear-gradient(160deg,#EFE0BE,#D4BC88);color:#2A2010}
html[data-ui="imp"] :is(#s-discover,#s-orbit) .v2-club .v2-label{font:400 12.5px/1.2 var(--mono);text-transform:lowercase;letter-spacing:0;color:inherit;opacity:.72}
html[data-ui="imp"] :is(#s-discover,#s-orbit) .v2-clubnm{margin-top:2px;font:400 28px/33px var(--serif);letter-spacing:-.3px;color:inherit}
html[data-ui="imp"] :is(#s-discover,#s-orbit) .v2-clubsb,html[data-ui="imp"] :is(#s-discover,#s-orbit) .v2-clubnx{color:inherit;opacity:.8;font-size:15px}
html[data-ui="imp"] :is(#s-discover,#s-orbit) .v2-clubnx{font-weight:600;opacity:.9}
/* the club tile's faint rings (the club page's, drawn in the background; the old disc art steps aside) */
html[data-ui="imp"] :is(#s-discover,#s-orbit) .v2-club .v2-clubart{display:none}
html[data-ui="imp"][data-theme] :is(#s-discover,#s-orbit) .v2-club{background:radial-gradient(circle at calc(100% - 39px) calc(100% + 15px),transparent 33.5px,rgba(255,247,238,.35) 34px,transparent 35px,transparent 57.5px,rgba(255,247,238,.4) 58px,transparent 59px,transparent 81.5px,rgba(255,247,238,.45) 82px,transparent 83px),linear-gradient(160deg,#F6B394,#E9875F)}
html[data-ui="imp"][data-theme] :is(#s-discover,#s-orbit) .v2-club.tan{background:radial-gradient(circle at calc(100% - 39px) calc(100% + 15px),transparent 33.5px,rgba(255,247,238,.35) 34px,transparent 35px,transparent 57.5px,rgba(255,247,238,.4) 58px,transparent 59px,transparent 81.5px,rgba(255,247,238,.45) 82px,transparent 83px),linear-gradient(160deg,#EFE0BE,#D4BC88)}
html[data-ui="imp"][data-theme] #s-discover .v2-startcomm{margin:12px -4px 0!important;width:calc(100% + 8px);min-height:54px;border-radius:27px;background:var(--imp-glass);color:var(--imp-ink);font-weight:700;box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair)}
html[data-ui="imp"] #s-discover .dd-clubs .v2-link{color:var(--imp-forest);font-weight:700}
html[data-ui="imp"] #s-discover .dd-clubs .listrow{border-color:var(--imp-line)}
html[data-ui="imp"] #s-discover .dd-clubs .srcicon{background:rgba(var(--imp-forestRGB),.10);color:var(--imp-forest);box-shadow:none}

/* ================================================================ a club's page (M-Club), #community */
html[data-ui="imp"][data-theme] #community{background:var(--imp-wash),var(--imp-page);background-repeat:no-repeat}
html[data-ui="imp"] #community .v2-cl2.v2-er{padding:max(16px,calc(56px - max(12px,env(safe-area-inset-top,0px) - 16px) + 12px)) 0 0}
html[data-ui="imp"] #community .v2-cl2 .v2-ertop{padding:54px 16px 0}
html[data-ui="imp"] #community .v2-cl2 .v2-ertop .v2-cltopbar{left:16px;right:16px}
html[data-ui="imp"][data-theme] #community .v2-cl2 .v2-cltopbar .v2-ib{background:var(--imp-glass);color:var(--imp-ink);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}
html[data-ui="imp"] #community .v2-cl2 .v2-cltopbar .v2-ib svg{width:20px;height:20px;stroke-width:2.2}
/* the hero: peach, radius 32, faint rings at the lower right, the members chip in glass */
html[data-ui="imp"] #community .v2-clhero{position:relative;overflow:hidden;min-height:176px;box-sizing:border-box;padding:18px 20px 68px;border-radius:32px;
  background:linear-gradient(160deg,#F6B394,#E9875F);color:#2A1006;box-shadow:var(--imp-hair)}
html[data-ui="imp"] #community .v2-clrings{position:absolute;right:-46px;bottom:-70px;color:#FFF7EE;pointer-events:none}
html[data-ui="imp"] #community .v2-cl2 .v2-clhero .v2-label{position:relative;display:block;padding-top:0;font:400 12.5px/19px var(--mono);text-transform:lowercase;letter-spacing:0;color:rgba(42,16,6,.72)}
html[data-ui="imp"] #community .v2-cl2 .v2-clhero h1{position:relative;margin:2px 0 0;font:400 31px/37px var(--serif);letter-spacing:-.4px;color:#2A1006;overflow-wrap:anywhere}
html[data-ui="imp"] #community .v2-clhero .v2-clmeta{position:relative;padding-top:2px;font-size:15px;line-height:20px;color:rgba(42,16,6,.78)}
html[data-ui="imp"] #community .v2-clhero .v2-clblurb{position:relative;margin-top:6px;font-size:15px;line-height:20px;color:rgba(42,16,6,.78)}
html[data-ui="imp"] #community .v2-clhero .v2-clfaces{position:absolute;left:20px;bottom:18px;margin:0;height:34px;box-sizing:border-box;padding:0 12px;gap:6px;border-radius:17px;max-width:calc(100% - 40px);
  background:rgba(255,247,238,.42);box-shadow:inset 0 0 0 1px rgba(255,247,238,.6);color:#2A1006;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
html[data-ui="imp"] #community .v2-clhero .v2-clfaces:has(.v2-clface){padding-left:4px}
html[data-ui="imp"] #community .v2-clhero .v2-clfi{display:flex}
html[data-ui="imp"] #community .v2-clhero .v2-clface{width:26px;height:26px;margin-right:-10px;font-size:10px;box-shadow:0 0 0 1.5px rgba(255,247,238,.8)}
html[data-ui="imp"] #community .v2-clhero .v2-clfaces .v2-sb{margin:0 0 0 2px;font:700 14px/1 var(--sans,'Figtree',sans-serif);color:#2A1006;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-ui="imp"] #community .v2-clhero .v2-clface+.v2-sb,html[data-ui="imp"] #community .v2-clhero .v2-clfaces .v2-clface:last-of-type+.v2-sb{margin-left:14px}
/* the events: glass cards, radius 28; "next" or the title shares its line with Edit and Cancel event */
html[data-ui="imp"][data-theme] #community .v2-cl2 .v2-clnext{margin-top:12px;padding:14px 16px 16px 18px;border-radius:28px;background:var(--imp-card);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair)}
html[data-ui="imp"][data-theme] #community .v2-cl2 .v2-ersheet .v2-clev{padding:14px 16px 16px 18px;border-radius:28px;background:var(--imp-card);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair)}
html[data-ui="imp"] #community .v2-clnext .v2-clev1{margin:0;padding:0;background:none}
html[data-ui="imp"] #community .v2-clevhd{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:22px}
html[data-ui="imp"] #community .v2-clevhd .v2-label{padding-top:0;font:400 12.5px/1.2 var(--mono);text-transform:lowercase;letter-spacing:0;color:var(--imp-dim)}
html[data-ui="imp"] #community .v2-clacts{display:flex;gap:12px;margin:-11px -8px -11px 0;flex:none}
html[data-ui="imp"] #community .v2-clacts .v2-link{min-height:44px;padding:0 8px;color:var(--imp-forest);font:700 14px/1 var(--sans,'Figtree',sans-serif)}
html[data-ui="imp"] #community .v2-clevt{margin:0;font:400 22px/28px var(--serif);color:var(--imp-ink);overflow-wrap:anywhere}
html[data-ui="imp"] #community .v2-clev1 .v2-clevt{margin-top:4px;font:400 26px/32px var(--serif)}
html[data-ui="imp"] #community .v2-clev>.v2-sb{margin-top:2px;font-size:14px;line-height:19px;color:var(--imp-dim)}
html[data-ui="imp"] #community .v2-clev .v2-cltc{color:var(--imp-ink);font-weight:600}
html[data-ui="imp"] #community .v2-clev .v2-clrsvp{margin-top:12px}
html[data-ui="imp"][data-theme] #community .v2-clev .v2-clrsvp .v2-btn{height:46px;border-radius:23px}
html[data-ui="imp"] #community .v2-clev .v2-clcal{flex-wrap:wrap;margin-top:8px}
html[data-ui="imp"] #community .v2-clev .cm-hostroom{margin-top:8px}
html[data-ui="imp"] #community .v2-clev .v2-clcnt{font:400 12.5px/1.4 var(--mono)}
/* Manage club: the forest button, 52 px; then "later" */
html[data-ui="imp"][data-theme] #community .v2-clmanage{margin-top:14px;min-height:52px;border-radius:26px;background:var(--imp-forest);color:#FFFFFF;font:700 17px/1 var(--sans,'Figtree',sans-serif);box-shadow:var(--imp-hair)}
html[data-ui="imp"][data-theme="dark"] #community .v2-clmanage{color:#1E2A10}
html[data-ui="imp"][data-theme] #community .v2-cl2 .v2-ersheet{margin-top:10px;padding:0 16px 120px;background:none;box-shadow:none;border-radius:0}
html[data-ui="imp"] #community .v2-cl2 .v2-erlbl{margin:4px 4px 4px}
html[data-ui="imp"] #community .v2-cl2 .v2-erlbl .v2-label{display:block;line-height:17px!important}
html[data-ui="imp"] #community .v2-cl2 .v2-erlbl .v2-label{font:400 12.5px/1.2 var(--mono);text-transform:lowercase;letter-spacing:0;color:var(--imp-dim)}
html[data-ui="imp"][data-theme] #community .v2-clwait{border-radius:26px;background:var(--imp-card);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair);color:var(--imp-ink)}
html[data-ui="imp"] #community .v2-clwait span{color:var(--imp-forest);font-weight:700}
html[data-ui="imp"][data-theme] #community .v2-cl2 .v2-ersheet>.card,html[data-ui="imp"][data-theme] #community .v2-cl2 .v2-empty{border-radius:26px!important}
html[data-ui="imp"] #community .v2-cl2 .v2-empty{background:var(--imp-card);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair)}
/* the Club Mirror card and its consent text */
html[data-ui="imp"][data-theme] #community [data-cmrcard]{margin-top:0!important;margin-bottom:12px;padding:16px 18px!important;border-radius:28px!important}
html[data-ui="imp"] #community [data-cmrcard] p[style*="font-weight:600"],html[data-ui="imp"] #community [data-cmrprompt]>p:first-of-type{font:400 20px/26px var(--serif)!important;color:var(--imp-ink)}
html[data-ui="imp"] #community [data-cmrcard] .v2-label{font:400 12.5px/1.2 var(--mono);text-transform:lowercase;letter-spacing:0;color:var(--imp-dim)}
html[data-ui="imp"] #community [data-cmrcard] .small{font-size:14px;line-height:20px!important;color:var(--imp-dim)}
html[data-ui="imp"] #community [data-cmrcard] .v2-link,html[data-ui="imp"] #community [data-cmrcard] a{color:var(--imp-forest)!important;font-weight:700}
html[data-ui="imp"] #community [data-cmrcard] .pill.sm{min-height:46px;border-radius:23px;padding:0 20px}
html[data-ui="imp"] #community [data-cmrcard] hr{border-top-color:var(--imp-line)!important}

/* the overlay's other pages (Manage club, Members and its requests, Find a time, plans): glass, Young Serif heads */
html[data-ui="imp"] #community .cm{padding-top:max(16px,calc(56px - max(12px,env(safe-area-inset-top,0px) - 16px)))}
html[data-ui="imp"] #community .cm-top{align-items:center;gap:12px}
html[data-ui="imp"][data-theme] #community .cm-top .cbtn{width:44px!important;height:44px!important;border-radius:22px;background:var(--imp-glass);color:var(--imp-ink);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair)}
html[data-ui="imp"] #community .cm-top .cbtn svg{width:20px;height:20px;stroke-width:2.2}
html[data-ui="imp"] #community .cm-title{font:400 32px/38px var(--serif);letter-spacing:-.3px;color:var(--imp-ink)}
html[data-ui="imp"] #community .cm .sub{font-size:15px;color:var(--imp-dim)}
html[data-ui="imp"] #community .cm .sechead h2{font:400 22px/28px var(--serif);text-transform:none;letter-spacing:0;color:var(--imp-ink)}
html[data-ui="imp"][data-theme] #community .cm .card{border-radius:26px!important}
html[data-ui="imp"] #community .cm .listrow{min-height:64px;border-color:var(--imp-line)}
html[data-ui="imp"] #community .cm .stats{border-radius:26px}
html[data-ui="imp"] #community .cm .stats b{font:400 26px/1 var(--serif);color:var(--imp-ink)}
html[data-ui="imp"] #community .cm .stats span{font:400 12.5px/1.3 var(--mono);text-transform:lowercase;letter-spacing:0;color:var(--imp-dim)}
html[data-ui="imp"] #community .cm .tiny{color:var(--imp-dim)}
html[data-ui="imp"] #community .cm .link{color:var(--imp-forest);font-weight:700}
html[data-ui="imp"][data-theme] #community .cm .pill.sm{min-height:44px;border-radius:22px}

/* the club's ••• sheet */
html[data-ui="imp"] #sheet .v2-line[data-v2leave] .v2-setn,html[data-ui="imp"] #sheet .v2-line[data-cm="editclub"] .v2-setn{font-weight:700}

/* ================================================================ Host an event (the page) and the room sheets */
html[data-ui="imp"] #sheet.v2-full:has([data-er="spacesave"]) .v2-title{font:400 40px/46px var(--serif);letter-spacing:-.5px;color:var(--imp-ink)}
html[data-ui="imp"] #sheet.v2-full:has([data-er="spacesave"]) .v2-ital{font:400 17px/23px var(--sans,'Figtree',sans-serif)!important;color:var(--imp-dim)}
html[data-ui="imp"] #sheet.v2-full:has([data-er="spacesave"]) .v2-flab{font:400 12.5px/1.3 var(--mono);text-transform:lowercase;letter-spacing:0;color:var(--imp-dim)}
html[data-ui="imp"][data-theme] #sheet.v2-full:has([data-er="spacesave"]) .v2-field{min-height:52px;border:0;border-radius:26px;background:var(--imp-glass);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair);color:var(--imp-ink)}
html[data-ui="imp"][data-theme] #sheet.v2-full:has([data-er="spacesave"]) .v2-field:focus{box-shadow:inset 0 0 0 1px var(--imp-edge),0 0 0 2px #2F8F68}
html[data-ui="imp"] #sheet.v2-full:has([data-er="spacesave"]) .v2-whenrow label{font:400 12.5px/1.3 var(--mono);text-transform:lowercase;color:var(--imp-dim)}
html[data-ui="imp"][data-theme] #sheet.v2-full:has([data-er="spacesave"]) .v2-chip.on{background:var(--imp-forest);color:#FFFFFF;box-shadow:var(--imp-hair)}
html[data-ui="imp"][data-theme="dark"] #sheet.v2-full:has([data-er="spacesave"]) .v2-chip.on{color:#1E2A10}
html[data-ui="imp"][data-theme] #sheet.v2-full:has([data-er="spacesave"]) .v2-hostroom{border:0;border-radius:26px;background:var(--imp-card);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair)}
html[data-ui="imp"] #sheet.v2-full:has([data-er="spacesave"]) .v2-hostroom svg{color:var(--imp-forest)}
html[data-ui="imp"][data-theme] #sheet.v2-full:has([data-er="spacesave"]) .v2-fpbar .v2-btn{min-height:54px;border-radius:27px;background:var(--imp-forest);color:#FFFFFF;font:700 17px/1 var(--sans,'Figtree',sans-serif)}
html[data-ui="imp"][data-theme="dark"] #sheet.v2-full:has([data-er="spacesave"]) .v2-fpbar .v2-btn{color:#1E2A10}
html[data-ui="imp"][data-theme] #sheet.v2-full:has([data-er="spacesave"]) .v2-fptop .v2-ib{background:var(--imp-glass);color:var(--imp-ink);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair)}
/* Open an event room? and the QR: the tag in DM Mono, Young Serif heads, the code on a white glass card */
html[data-ui="imp"] #sheet .er-hostsheet .tag{align-self:flex-start;gap:6px;padding:0 12px;height:30px;border-radius:15px;background:rgba(var(--imp-forestRGB),.10);color:var(--imp-forest);font:400 12.5px/1 var(--mono);text-transform:lowercase;letter-spacing:0}
html[data-ui="imp"] #sheet .er-hostsheet .h2{font:400 28px/34px var(--serif);letter-spacing:-.3px;color:var(--imp-ink);text-wrap:balance}
html[data-ui="imp"] #sheet .er-hostsheet .small{font-size:15px;line-height:21px!important;color:var(--imp-dim)}
html[data-ui="imp"] #sheet .er-hostsheet .tiny{font-size:13px;line-height:19px!important;color:var(--imp-dim)}
html[data-ui="imp"] #sheet .er-hostsheet .link{min-height:44px;color:var(--imp-forest);font-weight:700}
html[data-ui="imp"] #sheet .er-hostsheet .erqr{border-radius:28px!important;padding:18px!important;box-shadow:inset 0 0 0 1px var(--imp-edge),0 1px 3px rgba(18,32,26,.08)}
html[data-ui="imp"][data-theme] #sheet .er-hostsheet .field{min-height:52px;border:0;border-radius:26px;padding:0 18px;background:var(--imp-glass);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair);color:var(--imp-ink);font:400 15px/1 var(--sans,'Figtree',sans-serif)}

/* ================================================================ dark: the tiles keep their colour, the glass turns to moss glass */
html[data-ui="imp"][data-theme="dark"] #community .v2-clhero{box-shadow:none}
html[data-ui="imp"][data-theme="dark"] :is(#s-discover,#community) .dd-ask:not(.on),html[data-ui="imp"][data-theme="dark"] .cm-hostroom{color:var(--imp-forest)}
html[data-ui="imp"][data-theme="dark"] .pill.cm-hostroom{background:var(--imp-glass);color:var(--imp-ink)}
html[data-ui="imp"][data-theme="dark"] .cm-evclub i{background:#F2A07D}

/* ================================================================ motion: presses only (transform), hover behind a pointer */
html[data-ui="imp"] #s-discover .dd-door,html[data-ui="imp"] :is(#s-discover,#s-orbit) .v2-club,html[data-ui="imp"] #s-discover .dd-ask,html[data-ui="imp"] #s-discover .dd-add,
html[data-ui="imp"] #s-discover .dd-clubs>.seg button,html[data-ui="imp"] :is(.cm-rsvp .pill,.v2-clrsvp .v2-btn,.cm-hostroom,.v2-clmanage){transition:transform 160ms cubic-bezier(.23,1,.32,1)}
html[data-ui="imp"] #s-discover .dd-door:active{transform:scale(.97)}
html[data-ui="imp"] #s-discover .dd-door.dd-big:active,html[data-ui="imp"] :is(#s-discover,#s-orbit) .v2-club:active{transform:scale(.985)}
html[data-ui="imp"] #s-discover .dd-clubs>.seg button:active,html[data-ui="imp"] :is(.cm-rsvp .pill,.v2-clrsvp .v2-btn,.cm-hostroom,.v2-clmanage):active{transform:scale(.97)}
@media (hover:hover) and (pointer:fine){
  html[data-ui="imp"][data-theme="light"] #s-discover .dd-ask:not(:disabled):not(.on):hover{background:#FFFFFF}
}
@media (prefers-reduced-motion:reduce){
  html[data-ui="imp"] #s-discover .dd-door:active,html[data-ui="imp"] :is(#s-discover,#s-orbit) .v2-club:active,html[data-ui="imp"] #s-discover .dd-clubs>.seg button:active,
  html[data-ui="imp"] :is(.cm-rsvp .pill,.v2-clrsvp .v2-btn,.cm-hostroom,.v2-clmanage):active{transform:none}
  html[data-ui="imp"] #s-discover .dd-ghost.dd-closing :is(.dd-pfaces,.dd-hart){animation:ddOut 200ms ease-out both}
}
@media (prefers-contrast:more){
  html[data-ui="imp"][data-theme="light"] #s-discover :is(.dd-search,.dd-prows,.dd-seg),html[data-ui="imp"][data-theme="light"] :is(#s-discover,#community) .card,
  html[data-ui="imp"][data-theme="light"] #community :is(.v2-clnext,.v2-clev){box-shadow:inset 0 0 0 1px rgba(18,32,26,.34),0 1px 2px rgba(18,32,26,.1)!important}
  html[data-ui="imp"] #s-discover .dd-dn,html[data-ui="imp"] #s-discover .dd-pline{opacity:1}
  html[data-ui="imp"] #community .v2-clhero :is(.v2-label,.v2-clmeta){color:#2A1006}
  html[data-ui="imp"] #s-discover .dd-dimg{outline:0}
}
@media (prefers-reduced-transparency:reduce){
  html[data-ui="imp"][data-theme="light"] #s-discover .dd-search{background:#FFFFFF;-webkit-backdrop-filter:none;backdrop-filter:none}
}

/* ================================================================ Discover photos (2026-10-28) */
/* A starter interest's door, its search thumb and its hero show its photo (parts/31-discover-doors.js, DD_PHOTOS).
   Light text and rings on every photo; --dd-bg is the photo's own darkened colour, shown while it loads. The window
   (.dd-pw) is shaped like the hero and centred in the door, so the door → hero glide is a plain zoom (ddFly counter-scales
   it). A photo that fails to load drops .dd-hasph and the colour tile comes back. */
html[data-ui="imp"] #s-discover .dd-hasph{--dd-fg:#FFF7EE;--dd-ring:rgba(255,247,238,.92);--dd-bg:var(--dd-phc,#2B2A24)}
html[data-ui="imp"] #s-discover .dd-pw{position:absolute;inset:0;transform-origin:50% 50%;pointer-events:none}
html[data-ui="imp"] #s-discover .dd-door .dd-pw{left:-3px;right:-3px}
html[data-ui="imp"] #s-discover .dd-door.dd-big .dd-pw{left:0;right:0;top:calc(50% - 148px);bottom:auto;height:296px}
html[data-ui="imp"] #s-discover .dd-pw img{display:block;width:100%;height:100%;object-fit:cover;opacity:1}
/* the shade: a little at the top for the faces, more at the bottom for the name and count (both ride the layer's scale) */
html[data-ui="imp"] #s-discover .dd-hasph :is(.dd-dimg,.dd-pimg)::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,rgba(10,18,14,.26) 0%,rgba(10,18,14,0) 30%,rgba(10,18,14,0) 42%,rgba(10,18,14,.68) 100%)}
html[data-ui="imp"] #s-discover .dd-hasph :is(.dd-dtx,.dd-hbot){text-shadow:0 1px 12px rgba(10,18,14,.35)}
html[data-ui="imp"] #s-discover .dd-ithumb.dd-hasph{position:relative;overflow:hidden}
@media (prefers-contrast: more){html[data-ui="imp"] #s-discover .dd-hasph :is(.dd-dimg,.dd-pimg)::after{background:linear-gradient(180deg,rgba(0,0,0,.4) 0%,rgba(0,0,0,.15) 40%,rgba(0,0,0,.85) 100%)}}
/* a name of 10+ letters on a half door (Photography, or one typed in): 21 px so it fits 141 px instead of truncating */
html[data-ui="imp"] #s-discover .dd-door.dd-long:not(.dd-big) .dd-dname{font-size:21px}

/* ---- Discover: your people (2026-10-29, boards DP-*; 31p-discover-people.js). Your own people into an interest sit under
   the hero in one row of faces; tapping a face picks it (a forest ring and a check: shape as well as colour), and the
   search bar becomes × · Plan · Text N. The friends-of-friends list follows under its own label. */
html[data-ui="imp"] #s-discover .dd-mine{margin:18px -4px 0}
html[data-ui="imp"] #s-discover .dd-mhead{display:flex;align-items:center;justify-content:space-between;padding:0 0 0 4px;min-height:44px;margin-bottom:2px}
html[data-ui="imp"] #s-discover .dd-mhead .dd-lab{margin:0;font-weight:400}
html[data-ui="imp"] #s-discover .dd-mall{min-height:44px;padding:0 6px;border:0;background:transparent;color:var(--imp-forest);font:700 15px/1 var(--sans,'Figtree',sans-serif);cursor:pointer}
html[data-ui="imp"] #s-discover .dd-mrow{display:flex;gap:4px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;margin:0 -16px;padding:4px 12px 6px;-webkit-overflow-scrolling:touch}
html[data-ui="imp"] #s-discover .dd-mrow::-webkit-scrollbar{display:none}
html[data-ui="imp"] #s-discover .dd-mface{flex:0 0 76px;min-height:92px;scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;gap:7px;padding:4px 0 0;border:0;background:transparent;color:var(--imp-ink);cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform 160ms cubic-bezier(.23,1,.32,1)}
html[data-ui="imp"] #s-discover .dd-mface:active{transform:scale(.96)}
html[data-ui="imp"] #s-discover .dd-mav{position:relative;width:56px;height:56px;border-radius:50%;box-shadow:var(--imp-hair);transition:box-shadow 180ms cubic-bezier(.23,1,.32,1)}
html[data-ui="imp"] #s-discover .dd-mface.on .dd-mav{box-shadow:0 0 0 3px var(--imp-page),0 0 0 5.5px var(--imp-forest)}
html[data-ui="imp"] #s-discover .dd-mcheck{position:absolute;right:-4px;bottom:-4px;width:22px;height:22px;border-radius:50%;background:var(--imp-forest);color:#FFFFFF;box-shadow:0 0 0 2px var(--imp-page);display:flex;align-items:center;justify-content:center;opacity:0;transform:scale(.6);transition:opacity 160ms ease-out,transform 200ms cubic-bezier(.23,1,.32,1)}
html[data-ui="imp"][data-theme="dark"] #s-discover .dd-mcheck{color:#13201A}
html[data-ui="imp"] #s-discover .dd-mface.on .dd-mcheck{opacity:1;transform:none}
html[data-ui="imp"] #s-discover .dd-mname{max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:500 14px/18px var(--sans,'Figtree',sans-serif)}
html[data-ui="imp"] #s-discover .dd-mface.on .dd-mname{font-weight:700}
html[data-ui="imp"] #s-discover .dd-mface:focus-visible{outline:2px solid var(--imp-forest);outline-offset:2px;border-radius:14px}
html[data-ui="imp"] #s-discover .dd-newlab{margin:14px 0 -4px 0;padding-left:0}
/* the picks' bar sits exactly where the search bar sits */
html[data-ui="imp"] #s-discover .dd-pbar{gap:8px}
html[data-ui="imp"] #s-discover .dd-pbar>button{pointer-events:auto;cursor:pointer;border:0;display:flex;align-items:center;justify-content:center;gap:8px;font:700 16px/1 var(--sans,'Figtree',sans-serif);white-space:nowrap;transition:transform 160ms cubic-bezier(.23,1,.32,1)}
html[data-ui="imp"] #s-discover .dd-pbar>button:active{transform:scale(.97)}
html[data-ui="imp"][data-theme] #s-discover .dd-pclear{flex:none;width:48px;height:48px;border-radius:24px;background:var(--imp-glass);color:var(--imp-ink);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}
html[data-ui="imp"][data-theme] #s-discover .dd-pplan{flex:1;min-width:0;height:52px;border-radius:26px;background:var(--imp-glass);color:var(--imp-ink);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}
html[data-ui="imp"][data-theme] #s-discover .dd-ptext{flex:1.25;min-width:0;height:52px;border-radius:26px;background:var(--imp-forest);color:#FFFFFF;box-shadow:0 8px 20px rgba(21,74,54,.22)}
html[data-ui="imp"][data-theme="dark"] #s-discover .dd-ptext{color:#13201A;box-shadow:var(--imp-hair)}
html[data-ui="imp"][data-theme="light"] #s-discover .dd-pplan{background:#FFFFFF}
html[data-ui="imp"] #s-discover .dd-pbar svg{width:18px;height:18px;flex:none}
html[data-ui="imp"] #s-discover .dd-swapin{animation:ddPbIn 200ms cubic-bezier(.23,1,.32,1) both}
@keyframes ddPbIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

/* ---- Text them / the invite (#sheet .gt): Write's page language (glass round Back and Close, step dots, serif heads,
   one full-width primary). The send step shows one message at a time; "Did you send it?" follows each hand-off. */
#sheet .v2-fp:has(.gt){padding:max(20px,calc(env(safe-area-inset-top) + 8px)) 16px 0}
#sheet .gt{flex:1;display:flex;flex-direction:column;min-height:0;color:var(--imp-ink)}
#sheet .gt-nav{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;min-height:44px}
html[data-ui="imp"][data-theme] #sheet .gt-nav .v2-ib{width:44px;height:44px;border-radius:22px;background:var(--imp-glass);color:var(--imp-ink);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair)}
#sheet .gt-nav .gt-off{visibility:hidden;pointer-events:none}
#sheet .gt-dots{justify-self:center;display:flex;gap:6px}
#sheet .gt-dots i{width:30px;height:4px;border-radius:2px;background:rgba(var(--imp-forestRGB),.16)}
#sheet .gt-dots i.on{background:var(--imp-forest)}
#sheet .gt-body{flex:1;display:flex;flex-direction:column;gap:14px;padding:10px 0 18px;animation:gtIn 280ms cubic-bezier(.23,1,.32,1) both}
@keyframes gtIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
#sheet .gt-hero{display:flex;flex-direction:column;align-items:center;text-align:center;padding:6px 8px 4px}
#sheet .gt-donehero{flex:1;justify-content:center}
#sheet .gt-stack{display:flex}
#sheet .gt-sav,#sheet .gt-more{border-radius:50%;box-shadow:0 0 0 3px var(--imp-page)}
#sheet .gt-sav+.gt-sav,#sheet .gt-sav+.gt-more{margin-left:-10px}
#sheet .gt-more{display:flex;align-items:center;justify-content:center;background:var(--imp-glass);font:700 15px/1 var(--sans,'Figtree',sans-serif)}
#sheet .gt-eye{font:400 12.5px/1.35 var(--mono);color:var(--imp-dim)}
#sheet .gt-hero .gt-eye{margin-top:12px}
#sheet .gt-name{margin:2px 0 0;font:400 30px/1.2 var(--serif);letter-spacing:-.3px;text-wrap:balance}
#sheet .gt-name.gt-sm{font-size:26px}
#sheet .gt-sec{display:flex;flex-direction:column;gap:10px}
#sheet .gt-lab{padding-left:4px;font:400 12.5px/1.35 var(--mono);color:var(--imp-dim)}
#sheet .gt-opts{display:flex;flex-direction:column;gap:10px}
html[data-ui="imp"][data-theme] #sheet .gt-opt{appearance:none;border:0;cursor:pointer;display:flex;align-items:center;gap:12px;min-height:74px;padding:14px 17px 14px 19px;border-radius:24px;text-align:left;background:var(--imp-glass);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair);color:var(--imp-ink);transition:transform 160ms cubic-bezier(.23,1,.32,1)}
html[data-ui="imp"][data-theme] #sheet .gt-opt.on{background:rgba(255,255,255,.85);box-shadow:inset 0 0 0 2px var(--imp-forest),var(--imp-hair)}
html[data-ui="imp"][data-theme="dark"] #sheet .gt-opt.on{background:rgba(255,255,255,.1)}
#sheet .gt-opt:active{transform:scale(.985)}
#sheet .gt-optx{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
#sheet .gt-optt{font:400 20px/25px var(--serif)}
#sheet .gt-optsub{font:400 14px/19px var(--sans,'Figtree',sans-serif);color:var(--imp-dim);display:block}
#sheet .gt-radio{flex:none;width:24px;height:24px;border-radius:50%;box-sizing:border-box;border:1.5px solid rgba(var(--imp-forestRGB),.4)}
#sheet .gt-opt.on .gt-radio{width:26px;height:26px;border:0;background:var(--imp-forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17l9-10'/%3E%3C/svg%3E") center/14px no-repeat}
html[data-theme="dark"] #sheet .gt-opt.on .gt-radio{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2313201A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17l9-10'/%3E%3C/svg%3E")}
#sheet .gt-note{display:flex;gap:10px;margin:6px 4px 0;font:400 14px/20px var(--sans,'Figtree',sans-serif);color:var(--imp-dim)}
#sheet .gt-note svg{flex:none;margin-top:2px;width:16px;height:16px}
html[data-ui="imp"][data-theme] #sheet .gt-msg{width:100%;box-sizing:border-box;min-height:150px;resize:none;border:0;outline:none;border-radius:26px;padding:16px 18px;background:rgba(255,255,255,.75);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair);color:var(--imp-ink);font:400 17px/25px var(--sans,'Figtree',sans-serif)}
html[data-ui="imp"][data-theme="dark"] #sheet .gt-msg{background:rgba(255,255,255,.08)}
#sheet .gt-msg:focus-visible{box-shadow:inset 0 0 0 2px var(--imp-forest)}
/* 2026-10-29: Claude's group draft (31p dpAiDraft): the sparkle on Claude's words; the box breathes while it writes */
#sheet .gt-msgw{position:relative}
#sheet .gt-mark{position:absolute;top:14px;right:16px;color:var(--imp-forest);pointer-events:none}
#sheet .gt-mark[hidden]{display:none}
#sheet .gt-msgw:has(.gt-mark:not([hidden])) .gt-msg{padding-right:40px}
#sheet .gt-msg.is-writing{cursor:progress;animation:gtWrite .9s cubic-bezier(.23,1,.32,1) infinite alternate}
#sheet .gt-msg.is-writing::placeholder{color:var(--imp-dim);font-style:italic}
@keyframes gtWrite{from{opacity:1}to{opacity:.62}}
#sheet .gt-chips .v2-chip.busy{opacity:.55}
#sheet .gt-chips .v2-chip:disabled{opacity:.45}
@media (prefers-reduced-motion:reduce){#sheet .gt-msg.is-writing{animation:none}}
#sheet .gt-chips{display:flex;gap:8px}
html[data-ui="imp"][data-theme] #sheet .gt-chips .v2-chip{min-height:44px;flex:1;justify-content:center;border-radius:22px;background:var(--imp-glass);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair);color:var(--imp-ink);font-weight:600}
html[data-ui="imp"][data-theme] #sheet .gt-chips .gt-undo{flex:none;width:44px;padding:0}
#sheet .gt-chips [hidden]{display:none!important}
html[data-ui="imp"][data-theme] #sheet .gt-plan{appearance:none;border:0;cursor:pointer;display:flex;align-items:center;gap:12px;min-height:64px;padding:10px 14px 10px 16px;border-radius:22px;text-align:left;background:var(--imp-glass);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair);color:var(--imp-ink)}
#sheet .gt-planic{width:36px;height:36px;flex:none;border-radius:12px;background:rgba(var(--imp-forestRGB),.1);color:var(--imp-forest);display:flex;align-items:center;justify-content:center}
#sheet .gt-planx{flex:1;min-width:0;display:flex;flex-direction:column}
#sheet .gt-plant{font:700 15px/20px var(--sans,'Figtree',sans-serif)}
#sheet .gt-plans{font:400 14px/19px var(--sans,'Figtree',sans-serif);color:var(--imp-dim)}
html[data-ui="imp"][data-theme] #sheet .gt-seg{display:flex;gap:4px;height:52px;box-sizing:border-box;padding:4px;border-radius:26px;background:var(--imp-glass);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair)}
html[data-ui="imp"][data-theme] #sheet .gt-seg button{flex:1 1 0;min-width:0;min-height:44px;display:flex;align-items:center;justify-content:center;padding:0 12px;border:0;border-radius:22px;background:transparent;box-shadow:none;color:var(--imp-ink);font:600 15px/1 var(--sans,'Figtree',sans-serif);cursor:pointer}
html[data-ui="imp"][data-theme] #sheet .gt-seg button[aria-checked="true"]{background:var(--imp-forest);color:#FFFFFF;font-weight:700}
html[data-ui="imp"][data-theme="dark"] #sheet .gt-seg button[aria-checked="true"]{color:#13201A}
html[data-ui="imp"][data-theme] #sheet .gt-card{display:flex;flex-direction:column;gap:8px;padding:16px 18px 18px;border-radius:26px;background:rgba(255,255,255,.75);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair)}
html[data-ui="imp"][data-theme="dark"] #sheet .gt-card{background:rgba(255,255,255,.08)}
#sheet .gt-cardt{margin:0;font:400 17px/25px var(--sans,'Figtree',sans-serif);white-space:pre-wrap;overflow-wrap:anywhere}
#sheet .gt-sub{margin:0 4px;font:400 14px/20px var(--sans,'Figtree',sans-serif);color:var(--imp-dim)}
#sheet .gt-hero .gt-place{margin-top:2px}
html[data-ui="imp"][data-theme] #sheet .gt-next{display:flex;align-items:center;gap:12px;min-height:64px;padding:10px 14px;border-radius:22px;background:var(--imp-glass);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair)}
#sheet .gt-nextx{flex:1;min-width:0;display:flex;flex-direction:column}
#sheet .gt-nextt{font:600 15px/20px var(--sans,'Figtree',sans-serif)}
#sheet .gt-strip{display:flex;justify-content:center;gap:18px;padding-top:8px}
#sheet .gt-sp{display:flex;flex-direction:column;align-items:center;gap:5px;font:500 13px/1.2 var(--sans,'Figtree',sans-serif);color:var(--imp-dim)}
#sheet .gt-sp>*:first-child{border-radius:50%}
#sheet .gt-sp.now{color:var(--imp-ink);font-weight:700}
#sheet .gt-sp.now>*:first-child{box-shadow:0 0 0 3px var(--imp-page),0 0 0 5.5px var(--imp-forest)}
#sheet .gt-sp.past>*:first-child{opacity:.55}
#sheet .gt-count{text-align:center}
#sheet .gt-q{margin:10px 0 0;text-align:center;font:400 28px/1.2 var(--serif)}
#sheet .gt-ticket{position:relative;overflow:hidden;display:flex;flex-direction:column;gap:6px;padding:22px;border-radius:30px;background:radial-gradient(90% 70% at 20% 0%,rgba(44,74,46,.75) 0%,rgba(44,74,46,0) 70%),#13201A;color:#FFF8F0;box-shadow:0 14px 26px rgba(19,32,26,.26)}
#sheet .gt-teye{font:400 12.5px/1.3 var(--mono);color:#A8DDBE}
#sheet .gt-tname{margin:0;font:400 36px/1.15 var(--serif);letter-spacing:-.5px}
#sheet .gt-twhen{font:700 16px/1.3 var(--sans,'Figtree',sans-serif)}
html[data-ui="imp"][data-theme] #sheet .gt-list{display:flex;flex-direction:column;padding:4px 16px;border-radius:26px;background:var(--imp-glass);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair)}
#sheet .gt-lrow{display:flex;align-items:center;gap:12px;min-height:56px;border-bottom:1px solid var(--imp-line)}
#sheet .gt-lrow:last-child{border-bottom:0}
#sheet .gt-lname{flex:1;min-width:0;font:600 16px/1.3 var(--sans,'Figtree',sans-serif)}
#sheet .gt-bar{position:sticky;bottom:0;display:flex;flex-direction:column;align-items:stretch;gap:4px;padding:10px 0 max(22px,calc(env(safe-area-inset-bottom) + 10px));background:linear-gradient(to bottom,rgba(var(--edgeRGB,250,249,246),0),var(--imp-page) 18px)}
#sheet .gt-bar .v2-btn{min-height:54px}
#sheet .gt-bar .v2-link{min-height:44px;align-self:center}
#sheet .gt-bar .v2-btn svg{width:18px;height:18px;flex:none}
/* Host an event, opened from Plan: who gets the invite */
#sheet .dp-inv{display:flex;align-items:center;gap:12px;min-height:56px;padding:8px 6px 8px 14px;border-radius:22px;background:var(--imp-glass);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair)}
#sheet .dp-invx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
#sheet .dp-invn{font:600 15px/20px var(--sans,'Figtree',sans-serif)}
#sheet .dp-invs{font:400 14px/19px var(--sans,'Figtree',sans-serif);color:var(--imp-dim)}
#sheet .dp-invc{min-height:44px;padding:0 12px}
@media (prefers-reduced-motion:reduce){
  html[data-ui="imp"] #s-discover :is(.dd-mface,.dd-mav,.dd-mcheck,.dd-pbar>button){transition:none}
  html[data-ui="imp"] #s-discover .dd-swapin,#sheet .gt-body{animation:ddIn 160ms ease-out both}
}
@media (prefers-contrast:more){
  html[data-ui="imp"] #s-discover .dd-mface.on .dd-mav{box-shadow:0 0 0 3px var(--imp-page),0 0 0 6px var(--imp-ink)}
  #sheet .gt-opt,#sheet .gt-card,#sheet .gt-msg{box-shadow:inset 0 0 0 1.5px var(--imp-ink)!important}
}
