/* 1.0.13 deck AdSense card. Distinct from food photos. Inputs and other deck UI are untouched. */

.wtf-deck[data-state="ad"] .wtf-btn--no,
.wtf-deck[data-state="ad"] .wtf-btn--yes { display: none !important; }
.wtf-deck[data-state="ad"] .wtf-ad-next { display: block; flex: 1; }
.wtf-deck[data-state="ad"] .wtf-deck__yum { visibility: hidden !important; }
.wtf-deck[data-state="ad"] .wtf-card--next { display: none !important; }
.wtf-deck[data-state="ad"] .wtf-deck__hint { display: block; }

.wtf-ad-next { display: none; }
.wtf-deck .wtf-btn.wtf-ad-next {
  background: #3c3c3c;
  color: #fff;
  font-size: 16px;
  line-height: 1.3;
  min-height: 48px;
  border: 0;
  border-radius: 24px;
  cursor: pointer;
}
.wtf-deck .wtf-btn.wtf-ad-next:disabled { opacity: .4; cursor: default; }
.wtf-deck .wtf-btn.wtf-ad-next:focus-visible { outline: 3px solid #f5b400; outline-offset: 2px; }

.wtf-ad-card {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  background: #eef0f2;
  border: 2px solid #9aa0a6;
  border-radius: 8px;
  box-shadow: none;
  color: #202124;
  overflow: hidden;
}
.wtf-ad-card.wtf-card { background: #eef0f2; box-shadow: none; }

.wtf-ad-label {
  margin: 0;
  padding: 8px 12px;
  background: #dfe1e5;
  border-bottom: 1px solid #9aa0a6;
  color: #3c4043;
  font: 700 12px/1.3 system-ui, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.wtf-ad-slot {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  min-height: 160px;
  margin: 12px;
  background: #fff;
  border: 1px solid #dadce0;
  pointer-events: none;
}
.wtf-ad-slot:has(.wtf-ad-mock) ins.adsbygoogle {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.wtf-ad-slot.is-clickable { pointer-events: auto; }
.wtf-ad-slot ins.adsbygoogle {
  display: block;
  width: 100%;
  min-height: 160px;
}

.wtf-ad-mock {
  box-sizing: border-box;
  width: 100%;
  flex: 1 1 auto;
  min-height: 160px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  background: repeating-linear-gradient(-45deg, #f8f9fa, #f8f9fa 12px, #fff 12px, #fff 24px);
  color: #3c4043;
  pointer-events: none;
}
.wtf-ad-mock strong {
  font: 700 16px/1.3 system-ui, sans-serif;
  color: #202124;
}
.wtf-ad-mock span {
  font: 14px/1.4 system-ui, sans-serif;
}

@media (max-width: 600px) {
  .wtf-deck[data-state="ad"] .wtf-deck__actions .wtf-btn.wtf-ad-next {
    flex: 1 1 auto;
    max-width: none;
  }
}
