/* App Tabs 1.3.0 — Learning deck (WWST-2) + Want to try list (WWST-3). Mobile-first.
   Uses !important on button/link colors and backgrounds so Elementor theme button rules cannot wash them out.
   Does not touch consent, ads settings, or BWG globals. */

.wtf-deck__personal{
  order:7;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:8px 12px;
  width:100%;
  margin:4px 0 0;
  padding:8px 10px;
  box-sizing:border-box;
  border-radius:12px;
  background:#fff7ed;
  border:1px solid #e6d3c3;
  font-family:system-ui,sans-serif;
}
.wtf-deck.is-fullscreen .wtf-deck__personal{display:none!important}

/* Want to try trigger pill */
.wtf-wtt-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:44px;
  padding:8px 14px!important;
  margin:0;
  border:1.5px solid #9b3b0b!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#7b2e08!important;
  -webkit-text-fill-color:#7b2e08;
  font:700 .95rem/1.2 system-ui,sans-serif;
  cursor:pointer;
  appearance:none;
  -webkit-appearance:none;
  box-shadow:none!important;
}
.wtf-wtt-btn:hover{background:#fdeee2!important;color:#1a1a1a!important;-webkit-text-fill-color:#1a1a1a}
.wtf-wtt-btn:focus-visible{outline:3px solid #ffc72c;outline-offset:2px}
.wtf-wtt-btn__icon{display:inline-flex;align-items:center;color:#e04848!important}
.wtf-wtt-btn__label{color:inherit!important}
.wtf-wtt-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:22px;
  height:22px;
  padding:0 6px;
  border-radius:999px;
  background:#9b3b0b!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff;
  font:800 .78rem/1 system-ui,sans-serif;
}
.wtf-wtt-count[hidden]{display:none}

/* Fullscreen topbar pill */
.wtf-fs-wtt{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-height:44px;
  padding:0 12px!important;
  margin:0;
  border:0!important;
  border-radius:999px!important;
  cursor:pointer;
  appearance:none;
  -webkit-appearance:none;
  background:rgba(0,0,0,.6)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff;
  font:700 .88rem/1 system-ui,sans-serif;
  box-shadow:0 1px 4px rgba(0,0,0,.5),0 0 0 1px rgba(255,255,255,.28)!important;
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
}
.wtf-fs-wtt .wtf-wtt-btn__icon{color:#ff6b6b!important}
.wtf-fs-wtt .wtf-wtt-count{background:#ffc72c!important;color:#1a1a1a!important;-webkit-text-fill-color:#1a1a1a}
.wtf-fs-wtt:focus-visible{outline:3px solid #ffc72c;outline-offset:2px}

/* Unobtrusive taste summary + Reset my taste control */
.wtf-taste-bar{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:4px 8px;
  flex:1 1 auto;
  min-width:0;
  font-size:.82rem;
  line-height:1.35;
  color:#4a3f39;
}
.wtf-taste-summary{color:#4a3f39}
.wtf-taste-reset{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:4px 8px!important;
  margin:0;
  border:0!important;
  border-radius:6px!important;
  background:transparent!important;
  color:#7b2e08!important;
  -webkit-text-fill-color:#7b2e08;
  font:700 .82rem/1.3 system-ui,sans-serif;
  text-decoration:underline!important;
  cursor:pointer;
  box-shadow:none!important;
  appearance:none;
  -webkit-appearance:none;
}
.wtf-taste-reset:hover:not(:disabled){background:#f5e5d8!important;color:#1a1a1a!important;-webkit-text-fill-color:#1a1a1a}
.wtf-taste-reset:disabled{opacity:.45;cursor:default;text-decoration:none!important;color:#66554b!important;-webkit-text-fill-color:#66554b}
.wtf-taste-reset:focus-visible{outline:2px solid #9b3b0b;outline-offset:2px}
.wtf-taste-status{font-size:.82rem;color:#1f7a3a;font-weight:700}
.wtf-taste-status:empty{display:none}
.wtf-fs-taste-row{
  margin-top:12px;
  padding-top:10px;
  border-top:1px solid #e6d3c3;
  display:flex;
  justify-content:center;
}
.wtf-taste-reset--fs{min-height:44px;font-size:.9rem}

/* Inline reveal confirmation button */
.wtf-tabs-reveal .wtf-btn--wtt-inline{
  background:#fff7ed!important;
  color:#7b2e08!important;
  -webkit-text-fill-color:#7b2e08;
  border:1.5px solid #9b3b0b!important;
}
.wtf-tabs-reveal .wtf-btn--wtt-inline:hover{background:#fdeee2!important;color:#1a1a1a!important;-webkit-text-fill-color:#1a1a1a}

@media (max-width:600px){
  .wtf-deck__personal{
    padding:8px 10px;
    gap:8px;
  }
  .wtf-taste-bar{
    justify-content:flex-start;
  }
  .wtf-fs-wtt__label,.wtf-fs-wtt .wtf-wtt-btn__label{
    font-size:.82rem;
  }
}

/* Want to try drawer / modal */
html.wtf-wtt-open,html.wtf-wtt-open body{overflow:hidden!important}
.wtf-wtt-modal{
  position:fixed;
  inset:0;
  z-index:100020;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  font-family:system-ui,sans-serif;
}
.wtf-wtt-modal[hidden]{display:none!important}
.wtf-wtt-modal__dim{
  position:absolute;
  inset:0;
  border:0!important;
  margin:0;
  padding:0;
  background:rgba(15,12,10,.58)!important;
  cursor:pointer;
}
.wtf-wtt-modal__panel{
  position:relative;
  z-index:1;
  width:100%;
  max-width:540px;
  max-height:88vh;
  max-height:88dvh;
  display:flex;
  flex-direction:column;
  background:#fff;
  color:#1a1a1a;
  border-radius:18px 18px 0 0;
  box-shadow:0 -6px 28px rgba(0,0,0,.28);
  padding-bottom:env(safe-area-inset-bottom,0px);
  overflow:hidden;
}
@media (min-width:640px){
  .wtf-wtt-modal{align-items:center;padding:16px}
  .wtf-wtt-modal__panel{border-radius:18px;max-height:82vh}
}
.wtf-wtt-modal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  border-bottom:1px solid #eadcd1;
  background:#fffaf6;
}
.wtf-wtt-modal__titlewrap{display:flex;align-items:baseline;gap:8px;min-width:0}
.wtf-wtt-modal__title{margin:0;font:800 1.25rem/1.2 system-ui,sans-serif;color:#1a1a1a!important}
.wtf-wtt-modal__count{font:600 .88rem/1.2 system-ui,sans-serif;color:#5c4d44}
.wtf-wtt-modal__close{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  min-height:44px;
  padding:0!important;
  margin:0;
  border:1px solid #d6b8a5!important;
  border-radius:999px!important;
  background:#efe4dc!important;
  color:#1a1a1a!important;
  -webkit-text-fill-color:#1a1a1a;
  font:700 1.5rem/1 system-ui,sans-serif;
  cursor:pointer;
  box-shadow:none!important;
  appearance:none;
  -webkit-appearance:none;
}
.wtf-wtt-modal__close:hover{background:#e2d1c5!important;color:#1a1a1a!important}
.wtf-wtt-modal__close:focus-visible{outline:3px solid #9b3b0b;outline-offset:2px}
.wtf-wtt-modal__live{
  margin:0;
  padding:6px 16px 0;
  font:600 .85rem/1.3 system-ui,sans-serif;
  color:#1f7a3a;
}
.wtf-wtt-modal__live:empty{display:none}
.wtf-wtt-modal__body{
  overflow-y:auto;
  padding:12px 16px 20px;
  -webkit-overflow-scrolling:touch;
}

/* List items */
.wtf-wtt-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.wtf-wtt-item{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:12px;
  border:1px solid #e6d5c8;
  border-radius:14px;
  background:#fff;
  box-shadow:0 1px 4px rgba(0,0,0,.05);
}
.wtf-wtt-item__top{display:flex;align-items:center;gap:12px;min-width:0}
.wtf-wtt-item__thumb{
  flex:none;
  width:72px;
  height:72px;
  border-radius:10px;
  object-fit:cover;
  background:#f4ebe3;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.5rem;
}
.wtf-wtt-item__info{flex:1 1 auto;min-width:0}
.wtf-wtt-item__name{
  margin:0 0 4px;
  font:700 1.02rem/1.3 system-ui,sans-serif;
  color:#1a1a1a!important;
  overflow-wrap:anywhere;
}
.wtf-wtt-item__meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.wtf-wtt-item__tag{
  display:inline-block;
  padding:3px 8px;
  border-radius:999px;
  background:#fff3e6;
  color:#7b2e08;
  border:1px solid #e6c6ad;
  font:700 .78rem/1.2 system-ui,sans-serif;
}
.wtf-wtt-item__area{font:500 .82rem/1.3 system-ui,sans-serif;color:#5c4d44}
.wtf-wtt-item__actions{display:flex;flex-wrap:wrap;gap:8px}
.wtf-wtt-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:8px 12px!important;
  border-radius:10px!important;
  font:700 .88rem/1.2 system-ui,sans-serif;
  text-decoration:none!important;
  cursor:pointer;
  box-sizing:border-box;
  box-shadow:none!important;
  appearance:none;
  -webkit-appearance:none;
}
.wtf-wtt-action--primary{
  flex:1 1 auto;
  background:#ffc72c!important;
  color:#1a1a1a!important;
  -webkit-text-fill-color:#1a1a1a;
  border:1.5px solid #7b2e08!important;
}
.wtf-wtt-action--primary:hover{background:#ffd85c!important;color:#1a1a1a!important}
.wtf-wtt-action--secondary{
  background:#f7efe8!important;
  color:#1a1a1a!important;
  -webkit-text-fill-color:#1a1a1a;
  border:1px solid #d6b8a5!important;
}
.wtf-wtt-action--secondary:hover{background:#efe2d6!important;color:#1a1a1a!important}
.wtf-wtt-action--remove{
  background:#fff!important;
  color:#8b1e1e!important;
  -webkit-text-fill-color:#8b1e1e;
  border:1px solid #dfb4b4!important;
}
.wtf-wtt-action--remove:hover{background:#fdf0f0!important;color:#6e1414!important}
.wtf-wtt-action:focus-visible{outline:3px solid #9b3b0b;outline-offset:2px}

/* Empty state */
.wtf-wtt-empty{
  text-align:center;
  padding:28px 16px;
}
.wtf-wtt-empty__title{margin:0 0 8px;font:800 1.2rem/1.3 system-ui,sans-serif;color:#1a1a1a!important}
.wtf-wtt-empty__copy{margin:0 0 18px;font:400 .98rem/1.45 system-ui,sans-serif;color:#4a3f39}
.wtf-wtt-empty__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 20px!important;
  border:0!important;
  border-radius:10px!important;
  background:#9b3b0b!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff;
  font:700 1rem/1.2 system-ui,sans-serif;
  cursor:pointer;
  appearance:none;
  -webkit-appearance:none;
}
.wtf-wtt-empty__btn:hover{background:#7b2e08!important;color:#fff!important}
