/* the menu item: the same look as the upload items (glance-upload.css li.gu-item), own class so their redraw leaves it */
.cm-sheet li.gc-item a { display: grid !important; grid-template-columns: 34px 1fr; column-gap: 12px; align-items: center; }
.cm-sheet li.gc-item a b, .cm-sheet li.gc-item a span { grid-column: 2; }
.cm-sheet li.gc-item .gc-ic { grid-row: 1 / span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(245,211,107,.75); color: #F4F1EE; }
.cm-sheet li.gc-item .gc-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
@media (max-width: 380px), (max-height: 700px) {
  body .cm .cm-sheet li.gc-item a { column-gap: 10px; grid-template-columns: 30px 1fr; }
  body .cm .cm-sheet li.gc-item .gc-ic { width: 30px; height: 30px; }
  body .cm .cm-sheet li.gc-item .gc-ic svg { width: 16px; height: 16px; }
}
/* glance-curate.css: the Curate sheet and its swipe stack (glance-curate.js). Mobile first: the whole screen on a
   phone, a centred column on a desk. Site tokens (common.css): --ink, --ink-2, --ink-3, --hairline, --focus. */
body.gc-open { overflow: hidden; }
body.gc-open .cm-btn { display: none !important; }
.gc {
  position: fixed; inset: 0; z-index: 40; display: none; flex-direction: column;
  background: rgba(14, 13, 18, .92);
  -webkit-backdrop-filter: saturate(1.2) blur(22px); backdrop-filter: saturate(1.2) blur(22px);
  color: var(--ink, #F4F1EE); font-family: var(--font-ui, system-ui, sans-serif);
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
  overscroll-behavior: contain;
}
body.gc-open .gc { display: flex; }
.gc-top { position: relative; display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 56px; }
.gc-top h2 { margin: 0; font-size: 17px; font-weight: 500; letter-spacing: .01em; color: var(--ink, #F4F1EE); }
.gc-x, .gc-back {
  position: absolute; top: 6px; min-width: 44px; height: 44px; border: 0; background: none; color: inherit;
  font: inherit; font-size: 15px; cursor: pointer; border-radius: 22px;
}
.gc-x { right: 6px; font-size: 26px; line-height: 1; }
.gc-back { left: 6px; padding: 0 10px; color: var(--ink-2, #D9D5D0); }
.gc-x:focus-visible, .gc-back:focus-visible, .gc button:focus-visible { outline: 2px solid var(--focus, #3a5cc0); outline-offset: 2px; }
.gc-body { flex: 1; display: flex; flex-direction: column; min-height: 0; width: min(520px, 100%); margin: 0 auto; padding: 0 16px 12px; overflow-y: auto; }
.gc-sub, .gc-wait, .gc-empty { color: var(--ink-3, #B4B4B4); font-size: 14px; margin: 6px 4px 14px; }
.gc-test { color: var(--ink-3, #B4B4B4); font-size: 12.5px; margin: 18px 4px 0; padding: 10px 12px; border: 1px dashed var(--hairline, rgba(244,241,238,.16)); border-radius: 10px; }

/* events */
.gc-events { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gc-events button {
  width: 100%; min-height: 64px; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; text-align: left;
  padding: 12px 16px; border-radius: 14px; border: 1px solid var(--hairline, rgba(244,241,238,.16));
  background: rgba(244,241,238,.05); color: inherit; font: inherit; cursor: pointer;
}
.gc-events button b { font-weight: 500; font-size: 16px; }
.gc-events button span { grid-column: 1; color: var(--ink-2, #D9D5D0); font-size: 13.5px; }
.gc-events button em { grid-column: 2; grid-row: 1 / span 2; font-style: normal; font-size: 12px; color: var(--ink-3, #B4B4B4); }
.gc-events button[disabled] { opacity: .5; cursor: default; }
@media (hover: hover) { .gc-events button:not([disabled]):hover { background: rgba(244,241,238,.09); } }

/* no active invite */
.gc-none { margin: 9vh auto 0; text-align: center; max-width: 340px; }
.gc-none i svg { width: 44px; height: 44px; fill: none; stroke: var(--ink-3, #B4B4B4); stroke-width: 1.4; }
.gc-none h3 { margin: 12px 0 8px; font-weight: 500; font-size: 19px; }
.gc-none p { color: var(--ink-2, #D9D5D0); font-size: 14.5px; line-height: 1.45; margin: 0 0 12px; }
.gc-ended { list-style: none; padding: 0; margin: 14px 0; font-size: 14px; color: var(--ink-2, #D9D5D0); }
.gc-ended li { padding: 8px 0; border-top: 1px solid var(--hairline, rgba(244,241,238,.16)); }
.gc-ended span { color: var(--ink-3, #B4B4B4); margin-left: 6px; }

/* the stack */
.gc-stage { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.gc-cards { position: relative; flex: 1; min-height: 260px; margin: 6px 0 4px; }
.gc-card {
  position: absolute; inset: 0; border-radius: 18px; overflow: hidden; background: #1b1a20;
  border: 1px solid var(--hairline, rgba(244,241,238,.16)); box-shadow: 0 18px 50px rgba(0,0,0,.45);
  transform: translateY(calc(var(--d, 0) * 10px)) scale(calc(1 - var(--d, 0) * .04));
  transition: transform .26s cubic-bezier(.2,.8,.2,1), opacity .22s ease;
  touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab;
  --no: 0; --yes: 0; --top: 0;
}
.gc-card.gc-under .gc-cred, .gc-card.gc-under .gc-stamp { display: none; }
.gc-card.gc-under { pointer-events: none; opacity: calc(1 - var(--d, 0) * .25); }
.gc-card.gc-drag { transition: none; cursor: grabbing; }
.gc-card.gc-fly { transition: transform .22s ease-in, opacity .22s ease-in; opacity: 0; }
.gc-card img { width: 100%; height: 100%; object-fit: contain; display: block; background: #121116; -webkit-user-drag: none; }
.gc-cred { position: absolute; left: 12px; bottom: 10px; margin: 0; padding: 4px 10px; border-radius: 12px; font-size: 12.5px; background: rgba(10,10,14,.6); color: var(--ink, #F4F1EE); }
.gc-stamp { position: absolute; top: 18px; padding: 4px 12px; border-radius: 8px; border: 2px solid; font-style: normal; font-weight: 600; font-size: 20px; letter-spacing: .08em; pointer-events: none; background: rgba(10,10,14,.35); }
.gc-s-no { right: 16px; color: #ff7a7a; opacity: var(--no); transform: rotate(10deg); }
.gc-s-yes { left: 16px; color: #8ee0a0; opacity: var(--yes); transform: rotate(-10deg); }
.gc-s-top { top: 46%; left: 50%; transform: translate(-50%, -50%); font-size: 26px; color: #f5d36b; opacity: var(--top); }
.gc-hint { display: flex; justify-content: space-between; margin: 4px 6px 0; font-size: 12px; color: var(--ink-3, #B4B4B4); }
.gc-fin { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 14px; }
.gc-fin p { margin: 0; font-size: 18px; }
.gc-fin button { min-height: 44px; padding: 0 18px; border-radius: 22px; border: 1px solid var(--hairline, rgba(244,241,238,.16)); background: rgba(244,241,238,.07); color: inherit; font: inherit; cursor: pointer; }

.gc-bar { display: flex; justify-content: center; align-items: center; gap: 18px; padding: 10px 0 4px; }
.gc-b { flex: 0 0 58px; min-width: 0; padding: 0; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; border: 1px solid var(--hairline, rgba(244,241,238,.16)); background: rgba(244,241,238,.06); color: var(--ink, #F4F1EE); }
.gc-b svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gc-undo { flex-basis: 44px; width: 44px; height: 44px; }
.gc-undo svg { width: 20px; height: 20px; }
.gc-no { color: #ff8f8f; } .gc-yes { color: #9be6ad; } .gc-top { color: #f5d36b; }
.gc-b[disabled] { opacity: .35; cursor: default; }
@media (hover: hover) { .gc-b:not([disabled]):hover { background: rgba(244,241,238,.12); } }
.gc-count { text-align: center; margin: 4px 0 0; font-size: 13px; color: var(--ink-2, #D9D5D0); min-height: 18px; }
@media (min-width: 900px) { .gc-cards { max-height: 64vh; } }
@media (prefers-reduced-motion: reduce) { .gc-card, .gc-card.gc-fly { transition: none; } }
