/* Little Lights · Conference Survival Kit. Every class is prefixed .cf- ; the app's styles.css supplies the variables and .btn/.card/.note. */
.cf{max-width:640px;margin:0 auto;overflow-x:hidden}
.cf *{box-sizing:border-box}
.cf button,.cf a{-webkit-tap-highlight-color:transparent}
.cf-top{margin:0 0 8px}
.cf-h{margin:4px 0 4px}
.cf-sub{color:var(--muted);font-weight:700;margin:0}
.cf-help{margin:0 0 12px}
.cf-hero{display:flex;gap:12px;align-items:center;background:linear-gradient(135deg,#FFE7B3,#FFD7A8)}
.cf-badge{font-size:42px;line-height:1;flex:none}
.cf-tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.cf-tile{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-height:118px;padding:14px;border:2px solid var(--line);border-radius:var(--r);background:var(--card);box-shadow:var(--shadow);text-align:left;min-width:0}
.cf-tile:active{transform:scale(.97)}
.cf-tile-ic{font-size:34px;line-height:1}
.cf-tile-t{font-weight:800;font-size:16px;line-height:1.2;overflow-wrap:anywhere}
.cf-tile-d{font-size:13px;color:var(--muted);line-height:1.25;overflow-wrap:anywhere}
.cf-lbl{display:block;font-weight:800;font-size:15px;margin:6px 0 6px}
.cf-seg{display:flex;gap:6px;flex-wrap:wrap}
.cf-segb{flex:1 1 0;min-width:0;min-height:48px;border:2px solid var(--line);background:#fff;border-radius:999px;font-weight:800;font-size:14.5px;padding:6px 8px}
.cf-segb[aria-pressed="true"]{background:var(--teal);border-color:var(--teal);color:#fff}
.cf-freenote{margin:8px 0 0}
.cf-sticky{position:sticky;top:64px;z-index:5;background:rgba(255,248,236,.97);border:2px solid var(--line);border-radius:14px;padding:8px 10px;margin:0 0 10px;display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between}
.cf-count{font-size:15px;min-width:0;flex:1 1 160px}
.cf-actions{margin-top:10px}
.cf-bank{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 14px}
@media (min-width:480px){ .cf-bank{grid-template-columns:repeat(4,minmax(0,1fr))} }
.cf-word{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:84px;padding:6px 4px;border:2px solid var(--line);border-radius:14px;background:#fff;font-weight:700;font-size:13.5px;line-height:1.15;text-align:center;min-width:0;position:relative}
.cf-word[aria-pressed="true"]{border-color:var(--teal);background:var(--teal-l);box-shadow:inset 0 0 0 2px var(--teal)}
.cf-word[aria-pressed="true"]::after{content:"✓";position:absolute;top:3px;right:6px;color:var(--teal);font-weight:900}
.cf-ic{display:flex;align-items:center;justify-content:center;font-size:30px;line-height:1;height:34px;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif}
.cf-ic svg{width:34px;height:34px}
.cf-w{display:block;max-width:100%;overflow-wrap:anywhere;hyphens:auto;-webkit-hyphens:auto}
.cf-num{width:84px;min-height:48px;font:inherit;font-size:18px;font-weight:800;text-align:center;border:2px solid var(--line);border-radius:12px;padding:6px}
.cf-printbox{margin-top:14px;border-top:1px dashed var(--line);padding-top:8px}
.cf-dis{opacity:.45}
.cf .btn[disabled]{opacity:.45;cursor:not-allowed}
/* card grid */
.cf-board{position:relative}
.cf-grid{display:grid;gap:5px;background:var(--brand);padding:5px;border-radius:16px;width:100%}
.cf-g3{grid-template-columns:repeat(3,minmax(0,1fr))}
.cf-g4{grid-template-columns:repeat(4,minmax(0,1fr))}
.cf-g5{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:4px}
.cf-cell{position:relative;aspect-ratio:1/1;min-height:44px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:0;border-radius:11px;background:#fff;padding:3px;text-align:center;font-weight:800;line-height:1.1;color:var(--ink);overflow:hidden}
.cf-g3 .cf-cell{font-size:16px}.cf-g3 .cf-ic{font-size:44px;height:50px}.cf-g3 .cf-ic svg{width:50px;height:50px}
.cf-g4 .cf-cell{font-size:12.5px}.cf-g4 .cf-ic{font-size:30px;height:34px}
.cf-g5 .cf-cell{font-size:9.5px;padding:2px;border-radius:8px}.cf-g5 .cf-ic{font-size:22px;height:25px}.cf-g5 .cf-ic svg{width:25px;height:25px}
.cf-long .cf-w{font-size:.84em}.cf-xlong .cf-w{font-size:.72em}
.cf-g5 .cf-long .cf-w{font-size:.8em}.cf-g5 .cf-xlong .cf-w{font-size:.66em}
.cf-cell.cf-free{background:#FFF1D6;color:var(--brand-d)}
.cf-play .cf-cell.cf-on:not(.cf-free)::after{content:"";position:absolute;inset:8%;border-radius:50%;background:rgba(232,93,117,.38);border:3px solid var(--rose)}
.cf-play .cf-cell.cf-on:not(.cf-free){background:#FFF6F7}
.cf-play .cf-cell.cf-line{background:#FFF1A8;animation:cf-glow 1s ease-in-out infinite alternate}
@keyframes cf-glow{from{box-shadow:inset 0 0 0 2px #F2C14E}to{box-shadow:inset 0 0 0 5px #F28C28}}
.cf-cheer{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(255,248,236,.72);border-radius:16px;z-index:3}
.cf-cheer[hidden]{display:none}
.cf-cheer-in{background:#fff;border:3px solid var(--ok);border-radius:20px;padding:16px 20px;text-align:center;box-shadow:0 8px 30px rgba(0,0,0,.18);animation:cf-pop .5s cubic-bezier(.2,1.6,.4,1)}
.cf-cheer-big{font-size:38px;font-weight:900;color:var(--ok)}
.cf-cheer-in p{margin:4px 0 10px;font-weight:700}
@keyframes cf-pop{from{transform:scale(.4);opacity:0}to{transform:scale(1);opacity:1}}
/* sample (locked) */
.cf-sample{max-width:260px;margin:12px auto;filter:blur(2.5px) grayscale(.5);opacity:.75;pointer-events:none;user-select:none}
.cf-sample .cf-cell{font-size:12px}.cf-sample .cf-ic{font-size:30px;height:34px}
.cf-actlist{list-style:none;padding:0;margin:0}
.cf-actlist li{padding:7px 0;border-bottom:1px dashed var(--line)}
.cf-actlist li:last-child{border-bottom:0}
/* tally */
.cf-trow{display:flex;align-items:center;gap:10px;padding:10px 12px;margin-bottom:10px}
.cf-ic-big{font-size:38px;height:44px;flex:none;width:46px}.cf-ic-big svg{width:42px;height:42px}
.cf-tmid{flex:1;min-width:0}
.cf-tw{font-weight:800;overflow-wrap:anywhere}
.cf-marks{font-family:Georgia,serif;font-size:22px;letter-spacing:2px;color:var(--teal);min-height:28px;overflow-wrap:anywhere}
.cf-five{text-decoration:line-through;text-decoration-thickness:3px;text-decoration-color:var(--rose)}
.cf-tbtns{display:flex;align-items:center;gap:6px;flex:none}
.cf-plus{width:60px;height:60px;border-radius:50%;border:0;background:var(--brand);color:#fff;font-size:20px;font-weight:900;box-shadow:0 3px 0 var(--brand-d)}
.cf-plus:active{transform:translateY(2px);box-shadow:0 1px 0 var(--brand-d)}
.cf-minus{width:44px;height:44px;border-radius:50%;border:2px solid var(--line);background:#fff;font-size:22px;font-weight:900;color:var(--muted)}
.cf-n{min-width:26px;text-align:center;font-size:20px}
.cf-pop{animation:cf-bump .25s}
@keyframes cf-bump{50%{transform:scale(1.03)}}
/* draw */
.cf-drawbar{justify-content:space-between}
.cf-swatches{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.cf-sw{width:44px;height:44px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 2px var(--line)}
.cf-sw[aria-pressed="true"]{box-shadow:0 0 0 3px var(--ink)}
.cf-canvas{display:block;width:100%;aspect-ratio:1/1;height:auto;border:2px dashed var(--line);border-radius:14px;touch-action:none;background:#fff}
/* notes */
.cf-nrow{align-items:center}
.cf-note .cf-lbl{margin:10px 0 4px}
.cf-ta{display:block;width:100%;min-height:56px;font:inherit;font-size:16px;border:2px solid var(--line);border-radius:12px;padding:8px 10px;resize:vertical;background:#fffdf8}
.cf-note input.cf-num{font-size:16px}
/* i spy + coloring */
.cf-scene,.cf-color{display:block;width:100%;height:auto;border-radius:14px}
.cf-lamp{cursor:pointer}
.cf-lamp .cf-ring{opacity:0;transition:opacity .2s}
.cf-lamp.cf-got .cf-ring{opacity:1}
.cf-found{font-size:17px;margin:10px 0 0}
.cf-dots{color:var(--rose);letter-spacing:3px}
.cf-colorwrap{max-width:420px;margin:0 auto}
.cf-color .cf-fill{cursor:pointer;transition:fill .15s}
/* stars */
.cf-stars{display:grid;gap:10px;margin-top:12px}
.cf-star{display:flex;align-items:center;gap:12px;min-height:60px;padding:8px 14px;border:2px solid var(--line);border-radius:16px;background:#fff;font-weight:800;text-align:left}
.cf-star[aria-pressed="true"]{background:#FFF6D6;border-color:var(--sun)}
.cf-star-ic{font-size:34px;line-height:1;width:40px;text-align:center;color:#d9b45a}
/* tips */
.cf-tips{margin:0;padding-left:20px}
.cf-tips li{margin:0 0 10px}
/* confetti */
.cf-confetti{position:fixed;inset:0;pointer-events:none;z-index:9999;overflow:hidden}
.cf-confetti i{position:absolute;top:-14px;width:9px;height:14px;border-radius:2px;animation:cf-fall linear forwards}
@keyframes cf-fall{to{top:105%;transform:rotate(720deg) translateX(30px)}}
@media (prefers-reduced-motion:reduce){ .cf-confetti{display:none} .cf-cheer-in,.cf-play .cf-cell.cf-line,.cf-pop{animation:none} }

/* Listening Bingo board fits one phone screen, no scrolling (James, Nov 1, 2026 5:24 PM: "for BINGO in Little Lights, I'd like it to fit without having to scroll").
   ← Back + title on one row, a one-line hint, the square board sized from the room left above the bottom nav (conference.js fitBoard),
   one row of buttons under it. Words stay ≥ 12 px (long ones break at soft hyphens); every square and button stays ≥ 44 px. */
.cf-bingo-play{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:12px;align-items:center}
.cf-bingo-play>.cf-top{margin:0}
.cf-bingo-play>.cf-top .cf-back{min-height:44px;padding:4px 14px}
.cf-bingo-play>.cf-h{margin:0;font-size:20px;line-height:1.08;min-width:0;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.cf-bingo-play>.cf-help{grid-column:1/-1;margin:6px 0 8px;font-size:13px;line-height:1.25}
.cf-bingo-play>.cf-board{grid-column:1/-1;display:flex;justify-content:center}
.cf-bingo-play .cf-grid{margin:0 auto}
.cf-bingo-play>.cf-below{grid-column:1/-1;margin:8px 0 0;display:flex;flex-wrap:nowrap;gap:6px}
.cf-bingo-play>.cf-below .btn{flex:1 1 0;min-width:0;min-height:44px;padding:2px 6px;font-size:13px;line-height:1.1;white-space:normal;text-align:center;justify-content:center}
.cf-bingo-play .cf-cell .cf-w{hyphens:manual;-webkit-hyphens:manual;overflow-wrap:normal;word-break:normal;line-height:1.05}
.cf-bingo-play .cf-g3 .cf-cell .cf-w{font-size:16px}.cf-bingo-play .cf-g3 .cf-long .cf-w,.cf-bingo-play .cf-g3 .cf-xlong .cf-w{font-size:14px}
.cf-bingo-play .cf-g4 .cf-cell .cf-w{font-size:13px}.cf-bingo-play .cf-g4 .cf-long .cf-w,.cf-bingo-play .cf-g4 .cf-xlong .cf-w{font-size:12px}
.cf-bingo-play .cf-g5 .cf-cell{padding:2px 1px;gap:1px}
.cf-bingo-play .cf-g5 .cf-cell .cf-w,.cf-bingo-play .cf-g5 .cf-long .cf-w,.cf-bingo-play .cf-g5 .cf-xlong .cf-w{font-size:12px;letter-spacing:-.02em}
.cf-bingo-play .cf-g5 .cf-ic{font-size:18px;height:20px}.cf-bingo-play .cf-g5 .cf-ic svg{width:20px;height:20px}

/* Kit coloring picker (Nov 1, 2026 5:40 PM): this week's lesson pages (or the conference-weekend set) + "I can be a light!" (my avatar, Candie, Wick) */
.cf-cpick{display:flex;gap:8px;overflow-x:auto;padding:4px 2px 8px;margin:0 0 6px;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity}
.cf-cthumb{flex:none;width:68px;min-height:44px;display:flex;flex-direction:column;align-items:center;gap:3px;border:3px solid transparent;border-radius:12px;background:#fff;padding:3px;box-shadow:0 1px 4px rgba(0,0,0,.12);scroll-snap-align:start;font:inherit;font-size:12px;font-weight:800;color:var(--ink)}
.cf-cthumb[aria-pressed="true"]{border-color:var(--brand)}
.cf-cthumb img,.cf-cthumb-svg{display:block;width:56px;height:84px;object-fit:contain;background:#fff;border-radius:6px}
.cf-cthumb-svg svg{width:56px;height:72px;margin-top:6px;pointer-events:none}
.cf-cthumb-t{max-width:60px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.1}
.cf-cpage{text-align:center}
.cf-cprev{display:block;width:auto;max-width:100%;height:auto;max-height:44vh;margin:0 auto;border-radius:10px;border:1px solid #eee}
.cf-ccap{font-weight:800;margin:8px 0 2px}
.cf-confnote{margin:0 0 6px;font-weight:700}
