/* Conversion links in the deck chooser, not the full-screen study surface. */
body[data-bw-page="cluecards"][data-cc-view="home"] .cc-conversion-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: .7rem auto .85rem;
  width: min(1180px, calc(100% - 1.5rem));
  box-sizing: border-box;
  padding: .85rem 1rem;
  min-width: 0;
  border: 1px solid var(--cc-dash-border-strong, #9b84ac);
  border-radius: 12px;
  background: var(--cc-dash-panel-soft, rgba(147, 114, 188, .12));
  color: var(--cc-dash-ink, inherit);
}
.cc-page .cc-conversion-copy { flex: 1 1 18rem; min-width: 0; }
.cc-page .cc-conversion-copy strong { display: block; font-size: .96rem; line-height: 1.35; }
.cc-page .cc-conversion-copy p { margin: .2rem 0 0; font-size: .875rem; line-height: 1.45; }
.cc-page .cc-conversion-actions { display: flex; flex: 0 1 auto; flex-wrap: wrap; align-items: center; gap: .5rem; }
.cc-page .cc-conversion-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .55rem .85rem;
  border-radius: 9px;
  text-align: center;
  font-weight: 700;
  font-size: .875rem;
  line-height: 1.3;
  text-decoration: none;
}
.cc-page .cc-conversion-signup { background: #654087; border: 1px solid #654087; color: #fff; }
.cc-page .cc-conversion-signup:hover { background: #7a4e9c; border-color: #7a4e9c; color: #fff; }
.cc-page .cc-conversion-elite { border: 1px solid currentColor; background: transparent; color: inherit; }
.cc-page .cc-conversion-elite:hover { background: var(--cc-dash-panel, rgba(147, 114, 188, .12)); }
.cc-page .cc-conversion-actions a:focus-visible { outline: 3px solid #b48be2; outline-offset: 3px; }
html[data-bw-auth="in"] body[data-bw-page="cluecards"] .cc-conversion-signup { display: none; }
html.is-pro body[data-bw-page="cluecards"] .cc-conversion-offer { display: none !important; }
html.is-pro body[data-bw-page="cluecards"] .cc-session-summary .cc-summary-compare { display: none !important; }
body[data-bw-page="cluecards"]:not([data-cc-view="home"]) .cc-conversion-offer { display: none !important; }
/* The study workspace mounts this surface under a body without the Cluecards page attribute. */
.study-mounted-review:not([data-cc-view="home"]) .cc-conversion-offer,
html.is-pro .study-mounted-review .cc-conversion-offer,
html.is-pro .study-mounted-review .cc-session-summary .cc-summary-compare { display: none !important; }
html[data-bw-auth="in"] .study-mounted-review .cc-conversion-signup { display: none; }
@media (max-width: 700px) {
  body[data-bw-page="cluecards"][data-cc-view="home"] .cc-conversion-offer { flex-direction: column; align-items: stretch; padding: .85rem; }
  .cc-page .cc-conversion-copy { flex: 0 1 auto; }
  .cc-page .cc-conversion-actions { width: 100%; }
  .cc-page .cc-conversion-actions a { flex: 1 1 9rem; }
}

/* Guest options are links to actual free practice, not additional sign-in gates. */
.cc-page .cc-conversion-copy a { color: var(--cc-dash-accent, #73529d); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
html[data-bw-theme="night"] .cc-page .cc-conversion-copy a { color: #d8c6ff; }
.cc-page .cc-conversion-copy a:focus-visible { outline: 3px solid #b48be2; outline-offset: 3px; }

/* Keep signup and comparison within the initial mobile viewport on typical phones. */
@media (max-width: 700px) {
  body[data-bw-page="cluecards"][data-cc-view="home"] .cc-conversion-offer { padding: .65rem .75rem; gap: .5rem; margin: .5rem 0 .65rem; }
  .cc-page .cc-conversion-copy strong { font-size: .92rem; line-height: 1.3; }
  .cc-page .cc-conversion-copy p { font-size: .85rem; line-height: 1.37; margin-top: .15rem; }
  .cc-page .cc-conversion-actions { gap: .4rem; }
  .cc-page .cc-conversion-actions a { flex: 1 1 0; min-width: 0; padding: .5rem .55rem; font-size: .82rem; }
}

/* Session-complete dialog: one secondary link to the Elite cadence chooser, beside Start another session. */
.cc-page .cc-session-summary .cc-summary-compare { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin: 12px 8px 0 0; padding: .55rem .85rem; border-radius: 9px; font-size: 14px; font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none; }
.cc-page .cc-session-summary .cc-summary-compare:focus-visible { outline: 3px solid #b48be2; outline-offset: 3px; }
