/* Fruit Up Smoothies x Juice Junkii Co-Op + Plus Kitchen Studio (120fps · iOS/Android parity) */
.coop-pill-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.plus-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(217, 119, 6, 0.45);
  background: linear-gradient(135deg, rgba(245, 183, 49, 0.16), rgba(39, 132, 62, 0.1));
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
}
.plus-pill:hover { transform: translateY(-1px); }
.plus-pill:active { transform: scale(0.97); }
.plus-pill.is-unlocked {
  border-color: rgba(39, 132, 62, 0.55);
  background: rgba(39, 132, 62, 0.14);
}
.tile-plus-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tile.is-plus-locked::after {
  content: "🔒 Plus";
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(23, 32, 28, 0.82);
  color: #fde68a;
  pointer-events: none;
}
.tile { position: relative; }

/* =========================================================================
   OFFICIAL JUICE JUNKII (TIFF MOORE) BRAND WORLD
   Exact Juice Junkii Palette:
   --jj-linen: #FAF7F2 | --jj-warm: #F3EDE2 | --jj-espresso: #181512
   --jj-forest: #235334 | --jj-lime: #84CC16 | --jj-lime-bright: #A3E635
   ========================================================================= */

.jj-coop-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  margin: 0 0 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, #181512 0%, #235334 62%, #1b3f28 100%);
  color: #FAF7F2;
  border: 2px solid #84CC16;
  box-shadow: 0 18px 42px rgba(24, 21, 18, 0.28);
}
.jj-coop-visual {
  display: flex;
  align-items: center;
  gap: 12px;
}
.jj-coop-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #A3E635;
  background: #FAF7F2;
}
.jj-coop-logo {
  width: 78px;
  height: auto;
  border-radius: 14px;
  background: #FAF7F2;
  padding: 6px;
  border: 2px solid #84CC16;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
.jj-coop-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #A3E635;
  margin: 0 0 4px;
}
.jj-coop-banner h4 {
  margin: 0 0 6px;
  font-size: clamp(19px, 2.3vw, 24px);
  line-height: 1.15;
  color: #FAF7F2;
}
.jj-coop-banner p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.48;
  color: rgba(250, 247, 242, 0.92);
}
.jj-coop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.jj-btn-gold,
.jj-btn-lime {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #A3E635;
  color: #181512;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  border: 1.5px solid #84CC16;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background 0.18s ease;
}
.jj-btn-gold:hover,
.jj-btn-lime:hover { background: #bef264; transform: translateY(-1px); }
.jj-btn-gold:active,
.jj-btn-lime:active { transform: scale(0.97); }
.jj-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 15px;
  border-radius: 999px;
  border: 1.5px solid rgba(163, 230, 53, 0.55);
  color: #FAF7F2;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}
.jj-btn-dark-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 15px;
  border-radius: 999px;
  border: 1.5px solid #235334;
  color: #235334;
  background: #FFFDF9;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}

/* Tool tab & Chapter tab Juice Junkii Mini Logo Lockup */
.jj-tab-logo {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #FAF7F2;
  padding: 2px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 6px;
  box-shadow: 0 1px 4px rgba(24, 21, 18, 0.2);
}
.tool-tab[data-tool="juicer"] {
  display: inline-flex;
  align-items: center;
  border-color: rgba(132, 204, 22, 0.45);
}
.tool-tab[data-tool="juicer"][aria-selected="true"] {
  background: linear-gradient(135deg, #181512, #235334) !important;
  color: #A3E635 !important;
  border-color: #84CC16 !important;
  box-shadow: 0 8px 22px rgba(35, 83, 52, 0.28);
}

/* Complete Juice Junkii Juicer Studio Surface */
.jj-juicer-theme {
  background: linear-gradient(180deg, #FAF7F2 0%, #F3EDE2 100%);
  color: #181512;
  border: 2px solid #235334;
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 20px 48px rgba(24, 21, 18, 0.14);
}
[data-theme="dark"] .jj-juicer-theme {
  background: linear-gradient(180deg, #181512 0%, #16241b 100%);
  color: #FAF7F2;
  border-color: #84CC16;
}
.jj-juicer-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1.5px solid rgba(35, 83, 52, 0.2);
}
.jj-juicer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
}
.jj-juicer-logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
  border-radius: 16px;
  background: #FFFDF9;
  padding: 6px;
  border: 2px solid #84CC16;
  box-shadow: 0 8px 20px rgba(24, 21, 18, 0.18);
}
.jj-juicer-avatar {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  border: 2.5px solid #235334;
  background: #FAF7F2;
}
.jj-eyebrow {
  color: #235334 !important;
  font-weight: 800;
  letter-spacing: 0.08em;
}
[data-theme="dark"] .jj-eyebrow {
  color: #A3E635 !important;
}
.jj-headline { color: #181512; }
[data-theme="dark"] .jj-headline { color: #FAF7F2; }
.jj-sub { color: #3F3931; }
[data-theme="dark"] .jj-sub { color: rgba(250, 247, 242, 0.85); }
.jj-juicer-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.jj-stage-card {
  background: linear-gradient(160deg, #181512 0%, #1e3b28 100%) !important;
  border: 2px solid #84CC16 !important;
  color: #FAF7F2 !important;
}
.jj-telemetry {
  background: rgba(24, 21, 18, 0.72) !important;
  border-bottom: 1px solid rgba(163, 230, 53, 0.28) !important;
  color: #A3E635 !important;
}
.jj-telemetry .telemetry-dot { background: #A3E635 !important; box-shadow: 0 0 10px #A3E635 !important; }
.jj-press-btn {
  background: linear-gradient(135deg, #235334 0%, #2f7046 100%) !important;
  color: #FAF7F2 !important;
  border: 2px solid #A3E635 !important;
  box-shadow: 0 10px 26px rgba(35, 83, 52, 0.35) !important;
}
.jj-press-btn:not(:disabled):hover {
  background: linear-gradient(135deg, #2b6640 0%, #388553 100%) !important;
}
.jj-snap-btn {
  background: #A3E635 !important;
  color: #181512 !important;
  font-weight: 800 !important;
}
.jj-clear-btn {
  color: #FAF7F2 !important;
  border-color: rgba(250, 247, 242, 0.35) !important;
}
.jj-dock {
  background: #FFFDF9 !important;
  border: 1.5px solid rgba(35, 83, 52, 0.26) !important;
  color: #181512 !important;
}
[data-theme="dark"] .jj-dock {
  background: #1d2720 !important;
  border-color: rgba(163, 230, 53, 0.32) !important;
  color: #FAF7F2 !important;
}
.jj-dock .dock-tab[aria-selected="true"] {
  background: #235334 !important;
  color: #A3E635 !important;
}
.jj-dock .dock-step {
  background: #A3E635 !important;
  color: #181512 !important;
}

/* Chapter 10 (Juice Junkii Juices) & Juice Bar (#bar) full brand immersion */
#ch-juices {
  background: linear-gradient(180deg, rgba(250, 247, 242, 0.92), rgba(243, 237, 226, 0.92));
  border: 2px solid #235334;
  border-radius: 24px;
  padding: 20px;
}
[data-theme="dark"] #ch-juices {
  background: linear-gradient(180deg, rgba(24, 21, 18, 0.9), rgba(24, 46, 32, 0.9));
  border-color: #84CC16;
}
#ch-juices .tile-juice {
  border-color: rgba(35, 83, 52, 0.28);
  background: #FFFDF9;
}
[data-theme="dark"] #ch-juices .tile-juice {
  border-color: rgba(163, 230, 53, 0.3);
  background: rgba(24, 21, 18, 0.85);
}
#ch-juices .tile-plus-tag {
  background: linear-gradient(135deg, #235334, #65a30d);
  color: #FAF7F2;
}
#bar.jj-bar-section {
  background: linear-gradient(160deg, #181512 0%, #235334 100%);
  color: #FAF7F2;
  border-top: 3px solid #84CC16;
  border-bottom: 3px solid #84CC16;
}
#bar.jj-bar-section .eyebrow { color: #A3E635; }
#bar.jj-bar-section h2,
#bar.jj-bar-section .sub { color: #FAF7F2; }
.jj-bar-brand-strip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(250, 247, 242, 0.1);
  border: 1.5px solid rgba(163, 230, 53, 0.5);
}
.jj-bar-brand-strip img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #FAF7F2;
  padding: 3px;
  object-fit: contain;
}

@media (max-width: 680px) {
  .jj-juicer-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Kitchen Studio Upgrades: Mode Switch, Photo Button, Plan Builder, Lab */
.fu-studio-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0;
}
.fu-seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(23, 32, 28, 0.08);
  border: 1px solid rgba(23, 32, 28, 0.12);
}
[data-theme="dark"] .fu-seg {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}
.fu-seg button {
  border: none;
  background: transparent;
  color: inherit;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.16s ease;
}
.fu-seg button[aria-pressed="true"] {
  background: #155e3a;
  color: #fff;
}
.fu-photo-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1.5px dashed rgba(21, 94, 58, 0.5);
  background: rgba(21, 94, 58, 0.08);
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.fu-photo-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-size: 13px;
}
.fu-photo-preview img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #27843e;
}
.fu-result-card {
  margin-top: 14px;
  padding: 16px;
  border-radius: 16px;
  border: 1.5px solid rgba(21, 94, 58, 0.25);
  background: rgba(255, 255, 255, 0.92);
  color: #17201c;
}
[data-theme="dark"] .fu-result-card {
  background: rgba(16, 28, 22, 0.92);
  color: #f4f2ec;
  border-color: rgba(140, 232, 168, 0.24);
}
.fu-result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 10px;
}
.fu-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 10px;
}
.fu-chip-tag {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(39, 132, 62, 0.14);
  color: #155e3a;
}
[data-theme="dark"] .fu-chip-tag {
  background: rgba(110, 231, 183, 0.16);
  color: #a7f3d0;
}

/* Blender & Juicer Lab Drawer */
.fu-lab-box {
  margin-top: 16px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(23, 32, 28, 0.14);
  background: rgba(255, 255, 255, 0.65);
}
[data-theme="dark"] .fu-lab-box {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
}
.fu-lab-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.fu-lab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.fu-lab-tile {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(23, 32, 28, 0.12);
  background: rgba(255, 255, 255, 0.85);
  color: #17201c;
}
[data-theme="dark"] .fu-lab-tile {
  background: rgba(14, 24, 19, 0.85);
  color: #f4f2ec;
  border-color: rgba(255, 255, 255, 0.12);
}
.fu-lab-tile select,
.fu-lab-tile input,
.plus-modal-input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  font-size: max(16px, 1rem);
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(23, 32, 28, 0.22);
  background: #fff;
  color: #17201c;
}
.fu-day-card {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(23, 32, 28, 0.12);
  background: rgba(247, 245, 239, 0.85);
  color: #17201c;
}
[data-theme="dark"] .fu-day-card {
  background: rgba(255, 255, 255, 0.06);
  color: #f4f2ec;
}
.fu-grocery-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.fu-grocery-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(23, 32, 28, 0.16);
  font-size: 13px;
  cursor: pointer;
}
.fu-grocery-item input:checked + span {
  text-decoration: line-through;
  opacity: 0.55;
}

/* Plus Upgrade Modal */
.plus-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 20, 14, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.plus-modal-backdrop[hidden] { display: none; }
.plus-modal-card {
  width: min(500px, 100%);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  border-radius: 22px;
  background: #f7f5ef;
  color: #17201c;
  padding: 22px;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.38);
}
.plus-perks-list {
  margin: 12px 0 16px;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.55;
}
.plus-divider {
  margin: 16px 0;
  border: 0;
  border-top: 1px solid rgba(23, 32, 28, 0.12);
}

@media (max-width: 680px) {
  .jj-coop-banner {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
