/* COOL BUTTON ONE on the Hungry Muse site — host tokens first (the sheet
   rules read the host's --cc-* tokens, per the package README), then the
   package CSS verbatim, then two host overrides at the end, labeled. */
:root{
  --cc-card:#ffffff; --cc-ink:#182230; --cc-mut:#54667c; --cc-line:#c9d3e0;
  --cc-amber:#d9a441; --cc-amber-ink:#14100a; --cc-on-bg:#182230; --cc-on-fg:#ffffff; --cc-bad:#c23a2e;
}
:root[data-resolved="night"]{
  --cc-card:#161d27; --cc-ink:#e8edf4; --cc-mut:#93a1b5; --cc-line:#2a3648;
  --cc-on-bg:#d9a441; --cc-on-fg:#14100a; --cc-bad:#e56b6b;
}
:root[data-resolved="glass"]{
  --cc-card:#101827; --cc-ink:#f4f7fb; --cc-mut:#d9e3f0; --cc-line:#263d66;
  --cc-on-bg:#d9a441; --cc-on-fg:#14100a; --cc-bad:#e56b6b;
}

/* COOL BUTTON ONE — the droplet's furniture CSS.
   Lifted verbatim from the PHP string returned by cc_furniture_css() in the
   Switchboard console's auth.php (staging md5 9cab644fddf3a0c336c84a7c0866c14e).
   This header comment is the only addition; everything below it is the exact
   CSS the function returns: the #cc-fb-float droplet (96px disc open, 52px
   round bubble collapsed) and the feedback sheet (.cc-scrim / .cc-sheet). */
#cc-fb-float{position:fixed;right:14px;bottom:22px;z-index:60;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:96px;height:96px;min-width:96px;min-height:96px;padding:12px;border:1px solid rgba(255,255,255,.55);border-radius:50%;background:radial-gradient(circle at 36% 30%,rgba(255,255,255,.16),rgba(255,255,255,0) 46%),radial-gradient(circle at 50% 50%,rgba(255,255,255,.10) 0%,rgba(255,255,255,.03) 52%,rgba(130,130,130,.06) 72%,rgba(60,60,60,.28) 81%,rgba(228,228,228,.55) 87%,rgba(255,255,255,.85) 92%,rgba(205,205,205,.38) 97%,rgba(150,150,150,.26) 100%);-webkit-backdrop-filter:blur(1px) saturate(1.25);backdrop-filter:blur(1px) saturate(1.25);color:#14314e;font-size:14.5px;font-weight:700;font-family:inherit;cursor:pointer;touch-action:none;user-select:none;-webkit-user-select:none;box-shadow:inset 0 0 0 1px rgba(255,255,255,.22),inset 0 0 14px rgba(110,110,110,.14),0 10px 22px rgba(20,20,20,.28);transition:left .5s cubic-bezier(.34,1.56,.64,1),top .5s cubic-bezier(.34,1.56,.64,1),width .38s cubic-bezier(.34,1.56,.64,1),height .38s cubic-bezier(.34,1.56,.64,1),min-width .38s cubic-bezier(.34,1.56,.64,1),min-height .38s cubic-bezier(.34,1.56,.64,1),padding .38s cubic-bezier(.34,1.56,.64,1),border-radius .38s cubic-bezier(.34,1.56,.64,1)}#cc-fb-float::before{content:"";position:absolute;top:7%;left:19%;width:58%;height:30%;border-radius:50%;background:radial-gradient(ellipse at center,rgba(255,255,255,.85),rgba(255,255,255,.28) 55%,rgba(255,255,255,0) 75%);transform:rotate(-14deg);pointer-events:none}#cc-fb-float .cc-fb-bubble{flex:0 0 auto;filter:drop-shadow(0 1px 0 rgba(255,255,255,.5))}#cc-fb-float .cc-fb-word{line-height:1.05;text-shadow:0 1px 0 rgba(255,255,255,.55),0 0 6px rgba(255,255,255,.35)}#cc-fb-float.cc-fb-dragging{cursor:grabbing}#cc-fb-float.cc-fb-collapsed{min-width:52px;min-height:52px;width:52px;height:52px;padding:0;border-radius:50%}#cc-fb-float.cc-fb-collapsed .cc-fb-word{display:none}#cc-fb-float.cc-fb-collapsed .cc-fb-bubble{width:26px;height:26px}.cc-scrim{position:fixed;inset:0;background:rgba(15,22,40,.55);z-index:70;display:flex;align-items:flex-end;justify-content:center}.cc-scrim[hidden]{display:none}.cc-sheet{position:relative;background:var(--cc-card);color:var(--cc-ink);width:100%;max-width:480px;max-height:92vh;overflow:auto;border-radius:18px 18px 0 0;padding:18px 16px calc(18px + env(safe-area-inset-bottom));font-family:Georgia,serif}@media (min-width:700px){.cc-sheet{border-radius:18px;margin-bottom:24px}}.cc-sheet h2{margin:0 0 8px;padding-right:40px;font-size:21px;border:0}.cc-sheet p{line-height:1.45}.cc-sheet-x{position:absolute;top:10px;right:10px;width:34px;height:34px;border-radius:50%;border:1px solid var(--cc-line);background:var(--cc-card);color:var(--cc-mut);font-size:15px;line-height:1;cursor:pointer;z-index:3;padding:0}.cc-flabel{display:block;font-size:14px;font-weight:700;margin:14px 0 6px}.cc-fbchips{display:flex;flex-wrap:wrap;gap:7px;margin:4px 0 2px}.cc-fbchip{border:1.5px solid var(--cc-line);background:var(--cc-card);color:var(--cc-ink);border-radius:999px;padding:7px 12px;font-size:13.5px;font-weight:600;cursor:pointer;font-family:inherit}.cc-fbchip[aria-pressed="true"]{border-color:var(--cc-on-bg);background:var(--cc-on-bg);color:var(--cc-on-fg)}.cc-sheet textarea{width:100%;box-sizing:border-box;border:1.5px solid var(--cc-line);border-radius:10px;padding:11px 12px;font-size:16px;background:var(--cc-card);color:var(--cc-ink);font-family:inherit}.cc-fb-send{font-size:16px;padding:12px 14px;width:100%;border:0;border-radius:14px;background:var(--cc-amber);color:var(--cc-amber-ink);font-weight:700;cursor:pointer;font-family:inherit}.cc-fb-err{color:var(--cc-bad);font-size:13.5px;line-height:1.4;margin-top:10px;white-space:pre-wrap}


/* HOST OVERRIDES (this site only; the package CSS above is untouched):
   in Glass mode the feedback sheet itself wears the site's glass. */
:root[data-resolved="glass"] .cc-sheet{
  background:var(--glass-fill);
  backdrop-filter:blur(calc(var(--glass-blur)*1.22)) saturate(1.35);
  -webkit-backdrop-filter:blur(calc(var(--glass-blur)*1.22)) saturate(1.35);
  border:1px solid rgba(255,255,255,.22); border-bottom:0;
}
:root[data-resolved="glass"] .cc-sheet textarea,
:root[data-resolved="glass"] .cc-fbchip{
  background:color-mix(in srgb, var(--glass-fill-full) 55%, transparent);
  color:var(--cc-ink);
}

/* MARK SWITCH — Rob's canon, 2026-11-15 (fleet rollout wave 0). The mark
   (the Feedback word and the bubble, both currentColor) stays readable on
   every background: navy #14314e on bright backgrounds, white on dark
   ones, never etched. The switch is the measured one proven on the
   Switchboard the same day: every scene's art in the library was sampled
   and the navy/white contrast computed — white wins on the dark and
   mid-tone scenes, navy on the bright ones, and yellow never beat both
   on any scene, so no scene takes yellow. Night takes white. In Glass
   the scene decides: this site's dark scenes (universe, falls, volcano,
   sunrise) take white; the bright ski slope (the default scene) keeps
   navy, as do Day and every bright background. */
:root[data-resolved="night"] #cc-fb-float{color:#fff}
:root[data-resolved="glass"][data-glass-scene="universe"] #cc-fb-float,
:root[data-resolved="glass"][data-glass-scene="falls"] #cc-fb-float,
:root[data-resolved="glass"][data-glass-scene="volcano"] #cc-fb-float,
:root[data-resolved="glass"][data-glass-scene="sunrise"] #cc-fb-float{color:#fff}
:root[data-resolved="glass"][data-glass-scene="universe"] #cc-fb-float .cc-fb-word,
:root[data-resolved="glass"][data-glass-scene="falls"] #cc-fb-float .cc-fb-word,
:root[data-resolved="glass"][data-glass-scene="volcano"] #cc-fb-float .cc-fb-word,
:root[data-resolved="glass"][data-glass-scene="sunrise"] #cc-fb-float .cc-fb-word{text-shadow:0 1px 0 rgba(0,0,0,.45),0 0 6px rgba(0,0,0,.30)}
