.cfl-roulette{--orange:#ff6700;--teal:#138c8d;max-width:900px;margin:24px auto;padding:26px;background:#fff;border:1px solid #e5e9e9;border-radius:20px;box-shadow:0 12px 34px #1233;font-family:inherit;color:#26353a}.cfl-r-head{text-align:center;margin-bottom:24px}.cfl-r-eyebrow{font-size:11px;letter-spacing:.18em;font-weight:800;color:var(--teal)}.cfl-r-head h2{font-size:clamp(28px,4vw,40px);line-height:1.2;margin:9px 0;color:#1d343b}.cfl-r-head p{margin:0;color:#637078}.cfl-roulette fieldset{border:0;padding:0;margin:0 0 24px}.cfl-roulette legend{font-size:18px;font-weight:800;margin-bottom:12px}.cfl-roulette legend small{font-size:12px;font-weight:400}.cfl-r-options{display:flex;flex-wrap:wrap;gap:10px}.cfl-r-options label{cursor:pointer;position:relative}.cfl-r-options input{position:absolute;opacity:0;pointer-events:none}.cfl-r-options span{display:block;border:1.5px solid #d6e1e3;border-radius:13px;padding:11px 15px;background:#f8fbfb;font-weight:650;transition:.15s}.cfl-r-options input:checked+span{border-color:var(--teal);background:#e8f7f5;color:#086a6b;box-shadow:inset 0 0 0 1px var(--teal)}.cfl-r-options input:focus-visible+span{outline:3px solid #ffb25f;outline-offset:3px}.cfl-r-location{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px}.cfl-r-location label{font-size:13px;font-weight:700}.cfl-r-location input,.cfl-r-location select{display:block;width:100%;box-sizing:border-box;margin-top:6px;min-height:47px;border:1.5px solid #cbd8db;border-radius:10px;padding:10px 12px;background:#fff;color:#26353a;font:inherit}.cfl-r-hint{color:#758186;font-size:12px;margin:8px 0 0}.cfl-r-pick,.cfl-r-again{display:block;width:100%;background:var(--orange);color:#fff!important;border:0;border-radius:12px;padding:16px;font-size:17px;font-weight:800;cursor:pointer;box-shadow:0 5px 0 #c74e00}.cfl-r-pick:hover,.cfl-r-again:hover{background:#eb5d00}.cfl-r-pick:disabled{opacity:.6;cursor:wait}.cfl-r-status{text-align:center;font-weight:650;margin-top:18px}.cfl-r-result{margin-top:20px;border:2px solid #b5dedc;border-radius:16px;padding:24px;text-align:center;background:linear-gradient(160deg,#f1fbfa,#fff7ef)}.cfl-r-result h3{font-size:clamp(23px,4vw,32px);margin:6px 0}.cfl-r-result .cfl-r-badge{color:#b75000;font-weight:800;font-size:12px;letter-spacing:.07em}.cfl-r-result p{margin:9px 0}.cfl-r-result a{display:inline-block;background:var(--teal);color:#fff!important;text-decoration:none;padding:11px 20px;border-radius:9px;font-weight:750;margin:8px}.cfl-r-result .cfl-r-again{margin:16px auto 0;max-width:280px}.cfl-r-attribution{text-align:center;font-size:11px;color:#65747a;margin-top:24px}@media(max-width:600px){.cfl-roulette{padding:18px 14px;border-radius:14px}.cfl-r-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cfl-r-options span{padding:11px 8px;text-align:center;font-size:13px}.cfl-r-location{grid-template-columns:1fr}.cfl-r-head h2{font-size:29px}}


/* Sitewide floating Restaurant Roulette, isolated from the theme. */
.cfl-r-floating{position:fixed!important;bottom:22px;left:22px;z-index:999990;font-family:inherit}
.cfl-r-launcher{display:flex;align-items:center;gap:10px;background:#ff6700!important;color:#fff!important;border:0!important;border-radius:999px!important;padding:11px 17px 11px 12px!important;box-shadow:0 8px 25px #0003!important;cursor:pointer;font-size:14px!important;line-height:1.2!important}
.cfl-r-launch-icon{font-size:25px;background:#fff3;border-radius:50%;width:43px;height:43px;display:grid;place-items:center}
.cfl-r-launch-label{display:flex;flex-direction:column;text-align:left}.cfl-r-launch-label strong{font-size:16px;color:#fff}
.cfl-r-panel{position:absolute;bottom:74px;left:0;width:min(390px,calc(100vw - 26px));max-height:min(690px,calc(100dvh - 110px));overflow:hidden;background:white;border-radius:20px;box-shadow:0 15px 55px #0004;border:1px solid #dfe8e8;display:flex;flex-direction:column}
.cfl-r-panel[hidden],.cfl-r-chat fieldset[hidden],.cfl-r-chat .cfl-r-pick[hidden],.cfl-r-chat .cfl-r-next[hidden],.cfl-r-chat .cfl-r-back[hidden],.cfl-r-chat form[hidden],.cfl-r-chat .cfl-r-result[hidden]{display:none!important}
.cfl-r-panelbar{background:#138c8d;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:14px 16px;flex:none}
.cfl-r-panelbar strong{display:block;font-size:15px;color:#fff}.cfl-r-panelbar small{display:block;font-size:11px;opacity:.9;margin-top:3px}
.cfl-r-close{background:transparent!important;color:white!important;border:0!important;font-size:19px!important;padding:5px 8px!important;cursor:pointer}
.cfl-r-panel .cfl-roulette{width:100%;max-width:none;margin:0;border:0;box-shadow:none;border-radius:0;overflow-y:auto;padding:16px 17px 18px;min-height:0}
.cfl-r-panel .cfl-r-head{margin-bottom:14px}.cfl-r-panel .cfl-r-head h2{font-size:22px;margin:3px 0}.cfl-r-panel .cfl-r-head p{font-size:12px}
.cfl-r-panel .cfl-r-eyebrow{display:none}.cfl-r-panel .cfl-r-chat-prompt{background:#eff9f8;border-radius:15px 15px 15px 4px;padding:13px;font-size:14px;font-weight:650;margin:8px 0 17px}
.cfl-r-panel .cfl-r-progress{font-size:10px;letter-spacing:.1em;color:#138c8d;font-weight:800}
.cfl-r-panel .cfl-roulette fieldset{margin:0 0 15px}.cfl-r-panel .cfl-roulette legend{font-size:14px;margin-bottom:10px}
.cfl-r-panel .cfl-r-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.cfl-r-panel .cfl-r-options span{font-size:12px;text-align:center;padding:10px 5px}
.cfl-r-panel .cfl-r-location{grid-template-columns:1fr}.cfl-r-panel .cfl-r-location input,.cfl-r-panel .cfl-r-location select{min-height:42px}
.cfl-r-panel .cfl-r-chat-nav{display:flex;justify-content:space-between;gap:10px;margin-top:12px}
.cfl-r-panel .cfl-r-next,.cfl-r-panel .cfl-r-back{border:0;border-radius:10px;padding:12px 16px;cursor:pointer;font-weight:750}
.cfl-r-panel .cfl-r-next{background:#ff6700;color:white;margin-left:auto}.cfl-r-panel .cfl-r-back{background:#eef4f4;color:#325}
.cfl-r-panel .cfl-r-pick{font-size:14px;padding:13px}
.cfl-r-panel .cfl-r-status{font-size:12px;margin:10px 0}.cfl-r-panel .cfl-r-result{padding:14px;margin:8px 0}.cfl-r-panel .cfl-r-result h3{font-size:21px}
.cfl-r-panel .cfl-r-attribution{font-size:10px;margin:14px 0 0}
.cfl-r-reset{display:block;background:none;border:0;color:#138c8d;cursor:pointer;margin:10px auto 0;text-decoration:underline;font-weight:700}
@media(max-width:600px){.cfl-r-floating{left:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px))}.cfl-r-launcher{padding:7px 12px 7px 8px!important}.cfl-r-launch-icon{width:36px;height:36px;font-size:22px}.cfl-r-launch-label{font-size:12px}.cfl-r-launch-label strong{font-size:13px}.cfl-r-panel{bottom:62px;width:calc(100vw - 24px);max-height:calc(100dvh - 100px)}}

/* v0.2.2: Fix content-box overflow and keep all chat controls within the popup. */
.cfl-r-floating,.cfl-r-floating *,.cfl-r-floating *::before,.cfl-r-floating *::after{box-sizing:border-box!important}
.cfl-r-panel{width:min(390px,calc(100vw - 28px))!important}
.cfl-r-panel .cfl-roulette{width:100%!important;min-width:0!important;overflow-x:hidden!important}
.cfl-r-panel .cfl-r-head{display:none!important}
.cfl-r-panel .cfl-r-chat-prompt{margin-top:8px!important}
.cfl-r-panel .cfl-r-chat-nav{width:100%;min-width:0;flex-wrap:wrap}
.cfl-r-panel .cfl-r-next,.cfl-r-panel .cfl-r-back{max-width:100%;white-space:normal;font-size:14px;line-height:1.3}
.cfl-r-panel .cfl-r-options label{min-width:0}
.cfl-r-panel .cfl-r-options span{overflow-wrap:anywhere}
.cfl-r-panel .cfl-r-attribution{overflow-wrap:anywhere}
@media(max-width:600px){.cfl-r-panel{width:calc(100vw - 24px)!important}}

/* v0.2.6: Visible restart action on exhausted / empty results. */
.cfl-r-status .cfl-r-end-message{margin:12px 0 16px;line-height:1.5;}
.cfl-r-status .cfl-r-restart{display:block;width:100%;max-width:230px;margin:12px auto 4px;padding:12px 20px;border:0;border-radius:12px;background:#ff6700;color:white;font-size:15px;font-weight:800;cursor:pointer;box-shadow:0 3px 0 #c74e00;}
.cfl-r-status .cfl-r-restart:hover{background:#e95c00;}

/* Hours selector — friendly, compact choices within chat */
.cfl-r-hours{margin:14px 0 4px;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.cfl-r-hours-title{grid-column:1/-1;font-weight:800;font-size:13px;color:#26353a;margin-bottom:2px}
.cfl-r-hours label{cursor:pointer;position:relative;min-width:0}
.cfl-r-hours input{position:absolute;opacity:0;pointer-events:none}
.cfl-r-hours span{display:flex;align-items:center;justify-content:center;min-height:48px;padding:9px 7px;border:1.5px solid #d6e1e3;border-radius:12px;background:#f8fbfb;text-align:center;font-size:12px;font-weight:700;line-height:1.3;color:#26353a}
.cfl-r-hours input:checked+span{border-color:#138c8d;background:#e8f7f5;color:#086a6b;box-shadow:inset 0 0 0 1px #138c8d}
.cfl-r-hours input:focus-visible+span{outline:3px solid #ffb25f;outline-offset:2px}
@media(max-width:360px){.cfl-r-hours{grid-template-columns:1fr}}

.cfl-r-search-mode{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px}
.cfl-r-search-mode label{padding:9px 12px;border:1px solid #cbd8db;border-radius:12px;cursor:pointer;font-size:13px;font-weight:700;background:#f8fbfb}
.cfl-r-search-mode label:has(input:checked){border-color:#138c8d;background:#e8f7f5;color:#086a6b}
.cfl-r-geolocate{background:#138c8d!important;color:#fff!important;border:0!important;border-radius:10px!important;padding:11px 14px!important;font-weight:700;cursor:pointer}
.cfl-r-geo-status{font-size:12px;color:#267b7a;margin:8px 0}
.cfl-r-city-label[hidden],.cfl-r-geolocate[hidden]{display:none!important}

.cfl-r-dietary-warning{font-size:12px!important;line-height:1.5;background:#fff6df;border:1px solid #eedcaa;border-radius:10px;padding:10px;color:#644a1c!important}

/* v0.4.0: Clearer launcher and a persistent, compact mobile minimize control. */
.cfl-r-floating{display:flex!important;align-items:center;gap:5px}
.cfl-r-launch-label{gap:2px}
.cfl-r-launch-label strong{font-size:14px!important;white-space:nowrap}
.cfl-r-launch-label>span{font-size:11px!important;opacity:.96}
.cfl-r-minimize{display:grid;place-items:center;align-self:flex-start;margin-top:2px;width:27px;height:27px;min-width:27px;border:0!important;border-radius:50%!important;background:#fff!important;color:#a64b00!important;box-shadow:0 2px 9px #0003!important;font-size:22px!important;line-height:1!important;cursor:pointer;padding:0!important}
.cfl-r-restore{width:44px;height:44px;min-width:44px;border:0!important;border-radius:50%!important;background:#ff6700!important;color:white!important;box-shadow:0 6px 18px #0004!important;font-size:23px!important;cursor:pointer;padding:0!important}
.cfl-r-launcher[hidden],.cfl-r-minimize[hidden],.cfl-r-restore[hidden]{display:none!important}
.cfl-r-floating.cfl-r-minimized{gap:0}
@media(max-width:600px){.cfl-r-floating{left:10px!important;bottom:calc(10px + env(safe-area-inset-bottom,0px))!important}.cfl-r-launcher{padding:7px 10px 7px 8px!important}.cfl-r-launch-label strong{font-size:12px!important}.cfl-r-launch-label>span{font-size:10px!important}.cfl-r-launch-icon{width:32px;height:32px;font-size:20px}.cfl-r-minimize{width:25px;height:25px;min-width:25px}.cfl-r-panel{left:0!important}}

/* Teal dice with actual white pips; no CSS masking (which hid the dots). */
.cfl-r-launch-icon.cfl-r-teal-dice{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;flex:0 0 38px;background:rgba(255,255,255,.15)!important;border-radius:50%!important;mask:none!important;-webkit-mask:none!important}
.cfl-r-dice-svg{display:block!important;width:28px!important;height:28px!important;flex-shrink:0}
@media(max-width:600px){.cfl-r-launch-icon.cfl-r-teal-dice{width:32px!important;height:32px!important;flex-basis:32px}.cfl-r-dice-svg{width:25px!important;height:25px!important}}

/* Mobile: keep Clementine above sticky navigation and action buttons. */
@media (max-width:600px){
  .cfl-r-floating{bottom:40dvh!important;left:10px!important;}
  .cfl-r-panel{position:fixed!important;top:max(12px,env(safe-area-inset-top,0px))!important;bottom:auto!important;left:12px!important;max-height:calc(100dvh - 28px)!important;width:calc(100vw - 24px)!important;}
}

/* v0.4.4: Mobile right-side mid-screen compact launcher; original dice emoji. */
@media(max-width:600px){
 .cfl-r-floating{left:auto!important;right:8px!important;top:47dvh!important;bottom:auto!important;align-items:center!important;}
 .cfl-r-launcher{padding:7px 10px 7px 7px!important;gap:6px!important;max-width:205px!important;}
 .cfl-r-launch-icon{background:rgba(255,255,255,.18)!important;width:31px!important;height:31px!important;flex:0 0 31px!important;font-size:22px!important;mask:none!important;-webkit-mask:none!important;}
 .cfl-r-launch-label strong{font-size:11px!important;}
 .cfl-r-launch-label>span{font-size:9px!important;}
 .cfl-r-minimize{width:24px!important;height:24px!important;min-width:24px!important;align-self:center!important;}
 .cfl-r-panel{position:fixed!important;top:12px!important;bottom:auto!important;left:12px!important;right:auto!important;max-height:calc(100dvh - 24px)!important;width:calc(100vw - 24px)!important;}
}
/* v0.4.5: Compact mobile launcher beside the left side of the MENU area. */
@media(max-width:600px){
 .cfl-r-floating{left:8px!important;right:auto!important;top:76dvh!important;bottom:auto!important;}
 .cfl-r-launcher{max-width:195px!important;}
}

/* v0.4.6: Mobile-only vertical edge tab. Desktop remains unchanged. */
@media (max-width:600px) {
  .cfl-r-floating:not(.cfl-r-minimized) {
    position:fixed!important;
    top:50dvh!important;
    bottom:auto!important;
    left:0!important;
    right:auto!important;
    transform:translateY(-50%)!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:6px!important;
  }
  .cfl-r-launcher {
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    gap:9px!important;
    width:56px!important;
    max-width:56px!important;
    min-height:185px!important;
    padding:13px 8px!important;
    border-radius:0 18px 18px 0!important;
    box-shadow:3px 5px 16px #0003!important;
  }
  .cfl-r-launch-icon {
    width:38px!important;
    height:38px!important;
    flex:0 0 38px!important;
    display:grid!important;
    place-items:center!important;
    font-size:26px!important;
    line-height:1!important;
  }
  .cfl-r-launch-label {
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    gap:9px!important;
    writing-mode:vertical-rl!important;
    transform:rotate(180deg)!important;
    text-align:center!important;
  }
  .cfl-r-launch-label strong {
    font-size:13px!important;
    line-height:1.2!important;
    white-space:nowrap!important;
  }
  .cfl-r-launch-label > span {
    font-size:10px!important;
    white-space:nowrap!important;
    line-height:1.2!important;
  }
  .cfl-r-minimize {
    align-self:center!important;
    margin:0 0 0 11px!important;
    width:28px!important;
    height:28px!important;
    min-width:28px!important;
    font-size:20px!important;
  }
  .cfl-r-floating.cfl-r-minimized {
    position:fixed!important;
    top:50dvh!important;
    bottom:auto!important;
    left:0!important;
    right:auto!important;
    transform:translateY(-50%)!important;
  }
  .cfl-r-restore {
    border-radius:0 16px 16px 0!important;
    width:42px!important;
    height:48px!important;
  }
  .cfl-r-panel {
    position:fixed!important;
    top:50dvh!important;
    bottom:auto!important;
    left:12px!important;
    right:auto!important;
    transform:translateY(-50%)!important;
    max-height:calc(100dvh - 32px)!important;
    width:calc(100vw - 24px)!important;
    border-radius:18px!important;
  }
}

/* v0.4.7: Keep the vertical mobile tab; move minimize directly above it. */
@media (max-width:600px) {
  .cfl-r-floating:not(.cfl-r-minimized) {
    gap:3px!important;
  }
  .cfl-r-floating:not(.cfl-r-minimized) .cfl-r-minimize {
    order:-1!important;
    align-self:center!important;
    margin:0!important;
    width:30px!important;
    height:30px!important;
    min-width:30px!important;
    flex:0 0 30px!important;
  }
  .cfl-r-floating:not(.cfl-r-minimized) .cfl-r-launcher {
    order:0!important;
  }
}

/* v0.4.8: The launcher uses a translated vertical edge position.
   Remove that containing-block transform ONLY while the popup is open,
   so the fixed dialog is positioned relative to the viewport. */
@media(max-width:600px){
  .cfl-r-floating.cfl-r-chat-open {
    transform:none!important;
    top:0!important;
    left:0!important;
    bottom:auto!important;
    right:auto!important;
  }
  .cfl-r-floating.cfl-r-chat-open .cfl-r-panel {
    position:fixed!important;
    top:calc(12px + env(safe-area-inset-top,0px))!important;
    bottom:auto!important;
    left:12px!important;
    right:12px!important;
    transform:none!important;
    width:calc(100vw - 24px)!important;
    max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))!important;
    overflow:hidden!important;
    z-index:2147483000!important;
  }
  .cfl-r-floating.cfl-r-chat-open .cfl-r-panel .cfl-roulette {
    overflow-y:auto!important;
    overscroll-behavior:contain;
  }
}

/* CFL branded orange graphic and matching teal floating controls (v0.4.9). */
.cfl-r-orange-graphic{display:inline-block!important;width:1.15em!important;height:1.15em!important;object-fit:contain!important;vertical-align:-.19em!important;margin:0 .08em!important;background:transparent!important;border:0!important;box-shadow:none!important}
#cfl-r-floating .cfl-r-restore{background:#259389!important;background-image:none!important}
#cfl-r-floating .cfl-r-launcher{background:#259389!important}
#cfl-r-floating .cfl-r-restore .cfl-r-orange-graphic{width:31px!important;height:31px!important;margin:0!important;vertical-align:middle!important;visibility:visible!important}

/* v0.4.12: Hide entire widget including minimized icon while menu is open.
   The theme adds fixedmenu-open to <html> while its mobile drawer is open.
   Display none prevents the minimized orange image from overriding inherited visibility. */
@media (max-width:969px) {
  html.fixedmenu-open #cfl-r-floating,
  body.fixedmenu-open #cfl-r-floating {
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
}

/* v0.4.13: Invisible click shield while Clementine's panel is open. */
