/* Kitchen Feedback v11 — countdowns, "Something ran out?", menu board, Ideas/Countdowns links on every design */
.kfx{--ac:#1665d8;--ac2:#ffd23f;--ink:#0d2340;--card:#fff;--line:rgba(13,35,64,.12);--soft:rgba(13,35,64,.06);--out1:#ff6b3d;--out2:#e63946;--outInk:#fff;--live:#16a34a;font-family:inherit}
.kfx-t0{--ac:#d6ae67;--ac2:#f1d49a;--ink:#f6ecdb;--card:rgba(24,16,10,.62);--line:rgba(241,212,154,.35);--soft:rgba(255,248,235,.08);--out1:#c98a3a;--out2:#9a5b1f;--outInk:#fff8ec}
.kfx-t1{--ac:#1665d8;--ac2:#ffd23f;--ink:#0d2340;--out1:#ff7a3d;--out2:#ef3b4f}
.kfx-t2{--ac:#d9622b;--ac2:#f3c46b;--ink:#3b2416;--card:#fff7ea;--line:rgba(59,36,22,.15);--soft:rgba(217,98,43,.08);--out1:#e2763c;--out2:#c2461a}
.kfx-t3{--ac:#7b5cff;--ac2:#ff8a3d;--ink:#1d1640;--line:rgba(123,92,255,.18);--soft:rgba(123,92,255,.08);--out1:#ff5a5f;--out2:#ff8a3d}
.kfx-t4{--ac:#ffd166;--ac2:#38f1ff;--ink:#fff;--card:rgba(255,255,255,.16);--line:rgba(255,255,255,.35);--soft:rgba(255,255,255,.12);--out1:#ff5fd2;--out2:#ff8a3d}
.kfx-t5{--ac:#0b2152;--ac2:#d9b862;--ink:#0b2152;--line:rgba(11,33,82,.14);--soft:rgba(217,184,98,.12);--out1:#0b2152;--out2:#1b3a7a;--outInk:#f1d78a}
#kfx-top{position:relative;z-index:2;padding:6px 18px 4px;display:grid;gap:12px;color:var(--ink)}
#kfx-top:empty{display:none}
.kfx-t1#kfx-top{margin-top:-30px}
.kfx-t0#kfx-top{padding:0;margin:22px auto 0;max-width:460px;text-align:left}

/* countdown strip */
.kfx-cd{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:10px 12px 12px;box-shadow:0 6px 18px rgba(0,0,0,.06)}
.kfx-t4 .kfx-cd,.kfx-t0 .kfx-cd{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:none}
.kfx-cd-h{display:flex;justify-content:space-between;align-items:center;font-size:12.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;opacity:.85;margin:0 2px 8px}
.kfx-cd-h a{color:inherit;text-transform:none;letter-spacing:0;font-weight:700;font-size:13.5px;text-decoration:none;opacity:.9}
.kfx-chips{display:grid;gap:8px}
.kfx-chip{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:var(--soft);color:inherit;text-decoration:none;font-size:16px;line-height:1.25;-webkit-tap-highlight-color:transparent}
.kfx-chip .kfx-ce{font-size:24px;line-height:1;flex:none}
.kfx-chip .kfx-ct b{font-weight:800;color:var(--ac);font-variant-numeric:tabular-nums}
.kfx-t4 .kfx-chip .kfx-ct b,.kfx-t0 .kfx-chip .kfx-ct b{color:var(--ac2)}
.kfx-t5 .kfx-chip .kfx-ct b{color:#9a7424}
.kfx-chip.live{background:linear-gradient(90deg,#16a34a,#22c55e);color:#fff}
.kfx-chip.live .kfx-ct b{color:#fff}
.kfx-chip.live .kfx-ce{animation:kfx-bob 1.6s ease-in-out infinite}
@keyframes kfx-bob{50%{transform:translateY(-3px) rotate(-6deg)}}

/* "Something ran out?" */
.kfx-out{display:flex;align-items:center;gap:14px;width:100%;border:0;margin:0;cursor:pointer;text-align:left;font:inherit;border-radius:18px;padding:14px 18px;color:var(--outInk);background:linear-gradient(100deg,var(--out1),var(--out2));box-shadow:0 8px 22px rgba(230,57,70,.25);-webkit-tap-highlight-color:transparent;transition:transform .15s}
.kfx-t5 .kfx-out{box-shadow:0 8px 22px rgba(11,33,82,.25);border:1px solid #d9b862}
.kfx-t0 .kfx-out{box-shadow:0 8px 22px rgba(0,0,0,.35);border:1px solid rgba(241,212,154,.5)}
.kfx-out:active{transform:scale(.98)}
.kfx-out .kfx-oe{font-size:30px;line-height:1}
.kfx-out .kfx-otx{flex:1;display:grid;gap:2px}.kfx-out b{font-size:19px;font-weight:800}.kfx-out small{font-size:13.5px;opacity:.9}
.kfx-out .kfx-ogo{font-size:22px;font-weight:800}
.kfx-out:focus-visible,.kfx-link:focus-visible,.kfx-chip:focus-visible{outline:3px solid #ffb703;outline-offset:2px}

/* menu board (Kitchen Café keeps its chalkboard) */
.kfx-menu{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:14px 16px 10px;box-shadow:0 6px 18px rgba(0,0,0,.05)}
.kfx-menu h3{margin:0 0 6px;font-size:15px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--ac)}
.kfx-menu ul{list-style:none;margin:0;padding:0}
.kfx-menu li{display:flex;align-items:baseline;gap:8px;padding:7px 0;border-top:1px dashed var(--line);font-size:16px}
.kfx-menu li:first-child{border-top:0}
.kfx-menu .kfx-mn{font-weight:700}
.kfx-menu .kfx-dots{flex:1}
.kfx-menu .kfx-mw{font-size:14px;opacity:.8;text-align:right}
.kfx-t1 .kfx-menu{border-top:5px solid var(--ac2)}
.kfx-t3 .kfx-menu{border:2px solid var(--line)}.kfx-t3 .kfx-menu h3{background:linear-gradient(90deg,#7b5cff,#ff5a5f);-webkit-background-clip:text;background-clip:text;color:transparent}
.kfx-t4 .kfx-menu{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:none}.kfx-t4 .kfx-menu h3{color:#fff}
.kfx-t5 .kfx-menu{border:1px solid #d9b862;border-radius:6px;box-shadow:0 0 0 4px #fff,0 0 0 5px rgba(217,184,98,.5)}
.kfx-t5 .kfx-menu h3{font-family:"Playfair Display",Georgia,serif;text-transform:none;letter-spacing:.02em;font-size:20px;text-align:center;color:#0b2152}
.kfx-t5 .kfx-menu .kfx-dots{border-bottom:1px dotted rgba(11,33,82,.35);transform:translateY(-4px)}
.kfx-t0 .kfx-menu{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:none}
.kfx-t0 .kfx-menu h3{font-family:"Fraunces",Georgia,serif;font-weight:400;font-style:italic;text-transform:none;letter-spacing:0;font-size:21px;color:var(--ac2)}
.kfx-t0 .kfx-menu .kfx-dots{border-bottom:1px dotted rgba(241,212,154,.4);transform:translateY(-4px)}

/* Ideas board / Countdowns links next to Announcements */
#kfx-nav{display:flex;gap:10px;margin-top:10px}
#kfx-nav:empty{display:none}
.kfx-link{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:12px 10px;border-radius:14px;background:#fff;color:#0d2340;text-decoration:none;font-weight:800;font-size:15.5px;box-shadow:0 4px 14px rgba(0,0,0,.07);-webkit-tap-highlight-color:transparent}
.kfx-t4 .kfx-link{background:rgba(255,255,255,.18);color:#fff;border:1px solid rgba(255,255,255,.35);box-shadow:none}
.kfx-t5 .kfx-link{border:1px solid #d9b862;color:#0b2152}
.kfx-t2 .kfx-link{background:#fff7ea;color:#3b2416;border:1px solid rgba(59,36,22,.15)}
.kfx-t0#kfx-nav{justify-content:center;margin-top:12px}
.kfx-t0 .kfx-link{flex:none;background:rgba(255,248,235,.1);color:#f6ecdb;border:1px solid rgba(241,212,154,.35);box-shadow:none;font-weight:600;padding:10px 16px}

/* sheet */
body.kfx-lock{overflow:hidden}
.kfx-modal{position:fixed;inset:0;z-index:1000;background:rgba(10,14,25,.55);display:flex;align-items:flex-end;justify-content:center;opacity:0;transition:opacity .2s}
.kfx-modal.on{opacity:1}
.kfx-modal[hidden]{display:none}
.kfx-sheet{position:relative;width:100%;max-width:520px;max-height:92vh;overflow:auto;background:#fff;color:#14213d;border-radius:24px 24px 0 0;padding:22px 18px calc(20px + env(safe-area-inset-bottom));font-family:"Inter",system-ui,-apple-system,sans-serif;transform:translateY(30px);transition:transform .25s}
.kfx-modal.on .kfx-sheet{transform:none}
@media (min-width:600px){.kfx-modal{align-items:center}.kfx-sheet{border-radius:24px}}
.kfx-sheet h2{margin:0 36px 4px 0;font-size:24px;font-weight:800;color:#14213d;font-family:inherit;text-align:left;letter-spacing:0}
.kfx-sub{margin:0 0 14px;color:#5b6475;font-size:15px;text-align:left}
.kfx-x{position:absolute;right:12px;top:12px;width:40px;height:40px;border-radius:50%;border:0;background:#f0f2f6;font-size:26px;line-height:1;color:#333;cursor:pointer}
.kfx-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
@media (max-width:360px){.kfx-grid{grid-template-columns:repeat(3,1fr)}}
.kfx-item{display:grid;justify-items:center;gap:4px;padding:12px 4px;border-radius:16px;border:2px solid #e3e7ef;background:#f8f9fc;font-family:inherit;font-weight:600;font-size:14px;line-height:1.15;color:#14213d;cursor:pointer;-webkit-tap-highlight-color:transparent;word-break:break-word}
.kfx-item span{font-size:28px;line-height:1}
.kfx-item[aria-pressed=true]{border-color:var(--out2,#e63946);background:#fff1ee;box-shadow:0 0 0 3px rgba(230,57,70,.15)}
.kfx-t5 .kfx-item[aria-pressed=true]{border-color:#0b2152;background:#f4efe0}
.kfx-note{display:grid;gap:6px;margin:14px 0 4px;font-size:14px;font-weight:700;color:#3a4356;text-align:left}
.kfx-note textarea{font-family:inherit;font-size:16px;line-height:1.4;padding:10px 12px;border-radius:12px;border:1.5px solid #d6dbe5;resize:vertical;width:100%;box-sizing:border-box;color:#14213d;background:#fff}
.kfx-msg{min-height:1.2em;margin:6px 0;font-size:14.5px;font-weight:600;text-align:left}.kfx-msg.bad{color:#c62828}
.kfx-send{width:100%;border:0;border-radius:16px;padding:16px;font-family:inherit;font-weight:800;font-size:18px;color:#fff;background:linear-gradient(100deg,var(--out1,#ff6b3d),var(--out2,#e63946));cursor:pointer}
.kfx-t5 .kfx-send{color:#f1d78a}
.kfx-send:disabled{opacity:.5;cursor:default}
.kfx-done{text-align:center;padding:10px 0 0}.kfx-done h2{margin:6px 0;text-align:center}.kfx-done .kfx-big{font-size:52px}.kfx-done p{font-size:17px;color:#3a4356;margin:6px 0 18px}
.kfx-modal .kf-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.kfx-menu h3 span,.kfx-cd-h span{font-style:normal}
.kfx-t0 .kfx-menu h3 span{font-family:system-ui,"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:18px}
.kfx-sheet,.kfx-sheet *{box-sizing:border-box}
.kfx-t4 .kfx-chip{background:rgba(255,255,255,.14)}
.kfx-out b,.kfx-out small{color:inherit}
