/* JP – Chinesische Sternzeichen (JP Tool Style / The7 & WPBakery safe) */
.jp-czs-wrapper{max-width:860px;margin:0 auto;font:inherit;color:#111}
.jp-czs-box{
  border:1px solid #e5e7eb;
  border-radius:28px;
  background:#fff;
  padding:28px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}
.jp-czs-title{
  margin:0 0 22px 0;
  text-align:center;
  font-weight:800;
  font-size:34px;
  line-height:1.1;
}
@media (max-width:480px){
  .jp-czs-title{font-size:26px}
  .jp-czs-box{padding:18px;border-radius:22px}
}
.jp-czs-row{display:flex;gap:14px;flex-wrap:wrap}
.jp-czs-field{flex:1 1 180px;min-width:160px}
.jp-czs-field label{display:block;font-size:16px;margin:0 0 8px 0;font-weight:800;opacity:.9}
.jp-czs-select{
  width:100%;
  border:1px solid #d1d5db;
  border-radius:18px;
  padding:14px 16px;
  background:#fff;
  color:#111;
  outline:none;
  box-shadow:0 2px 10px rgba(0,0,0,.04) inset;
}
.jp-czs-select:focus{border-color:#111;box-shadow:0 0 0 3px rgba(17,17,17,.12)}
.jp-czs-select:focus-visible{outline:2px solid rgba(17,17,17,.35);outline-offset:2px}

.jp-czs-btnrow{margin-top:18px;display:flex;justify-content:center}
.jp-czs-btn{
  all:unset;
  cursor:pointer;
  user-select:none;
  width:min(520px, 100%);
  text-align:center;
  border-radius:999px;
  padding:14px 22px;
  font-weight:800;
  background:#0b1220;
  color:#fff;
  box-shadow:0 10px 24px rgba(0,0,0,.16);
  transition:transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}
.jp-czs-btn:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(0,0,0,.18)}
.jp-czs-btn:active{transform:translateY(0);box-shadow:0 10px 24px rgba(0,0,0,.16)}
.jp-czs-btn:disabled{
  cursor:not-allowed;
  background:#e5e7eb;
  color:#9ca3af;
  box-shadow:none;
  opacity:1;
}
.jp-czs-btn:focus-visible{outline:2px solid rgba(17,17,17,.35);outline-offset:3px}

.jp-czs-hint{margin-top:12px;font-size:13px;opacity:.9;display:none;text-align:center}
.jp-czs-error{border-color:#111;box-shadow:0 0 0 3px rgba(17,17,17,.12)}
.jp-czs-output{margin-top:18px;display:none}
.jp-czs-result{
  border:1px solid #e5e7eb;
  border-radius:24px;
  padding:22px;
  background:#fff;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}
.jp-czs-lead{margin:10px 0 0 0;font-size:15px}
.jp-czs-lead-sub{margin-top:6px;opacity:.92}
.jp-czs-lines{margin-top:14px;display:grid;gap:8px}
.jp-czs-line{line-height:1.45}
.jp-czs-label{font-weight:800}
.jp-czs-sep{opacity:.6;margin:0 6px}

.jp-czs-toggle{
  all:unset;
  cursor:pointer;
  margin-top:14px;
  width:auto;
  border:1px solid #d1d5db;
  border-radius:999px;
  padding:10px 16px;
  font-weight:800;
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:#f9fafb;
  transition:background .12s ease, transform .12s ease;
}
.jp-czs-toggle:hover{background:#f3f4f6;transform:translateY(-1px)}
.jp-czs-toggle:active{transform:translateY(0)}
.jp-czs-toggle:focus-visible{outline:2px solid rgba(17,17,17,.35);outline-offset:3px}

.jp-czs-details{margin-top:14px;display:grid;gap:12px}
@media (min-width:780px){
  .jp-czs-details{grid-template-columns:repeat(3,1fr)}
}
.jp-czs-card{
  border:1px solid #e5e7eb;
  border-radius:20px;
  padding:16px;
  background:#f9fafb;
  min-height:190px;
}
.jp-czs-card-title{font-weight:900;margin-bottom:10px}
.jp-czs-bullets{margin:0;padding-left:18px}
.jp-czs-bullets li{margin:6px 0}
.jp-czs-errorbox{margin-top:10px;font-size:14px}


/* Typography consistency */
.jp-czs-result{font-size:16px; line-height:1.45;}
.jp-czs-lead{font-size:16px; margin:10px 0 0 0;}
.jp-czs-lead-sub{font-size:16px; margin-top:6px; opacity:.92;}

/* Details toggle (robust) */
.jp-czs-details{display:none; margin-top:12px; gap:10px;}
.jp-czs-details.is-open{display:grid;}

.jp-czs-intro{
  margin: 6px 0 18px 0;
  font-size:16px;
  line-height:1.45;
  opacity:.92;
  text-align:center;
}
.jp-czs-btn-ico{display:inline-flex;align-items:center}

/* Tighten spacing (less empty bottom) */
.jp-czs-result{padding-bottom:16px;}
.jp-czs-details{margin-top:10px;}
.jp-czs-card{min-height:150px;}


/* --- UI v1.2.1: Pills + Time Box (JP Style) --- */
.jp-czs-intro{
  margin: 6px 0 18px 0;
  font-size:16px;
  line-height:1.45;
  opacity:.92;
  text-align:center;
}

.jp-czs-lead,
.jp-czs-lead-sub{
  text-align:center;
}

.jp-czs-pills{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  margin:14px 0 10px 0;
}

.jp-czs-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  background:#f4f4f4;
  border:1px solid rgba(17,17,17,.12);
  font-size:15px;
  font-weight:650;
  line-height:1.2;
}

.jp-czs-pill strong{
  font-weight:800;
  opacity:.75;
}

.jp-czs-timebox{
  margin-top:10px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(17,17,17,.18);
  background:#fafafa;
}

.jp-czs-timebox .jp-czs-time-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px 10px;
  justify-content:center;
  line-height:1.35;
}

.jp-czs-timebox .jp-czs-time-row + .jp-czs-time-row{
  margin-top:6px;
}

.jp-czs-timebox strong{
  font-weight:800;
}

@media (max-width: 420px){
  .jp-czs-pill{width:100%; justify-content:center;}
  .jp-czs-timebox .jp-czs-time-row{justify-content:flex-start;}
}


/* --- Final v1.2.2 tweaks --- */
.jp-czs-lead{
  font-size:19px; /* +3px vs 16 */
  font-weight:700;
  line-height:1.35;
  text-align:center;
  margin-top:10px;
}
.jp-czs-lead-sub{
  font-size:16px;
  font-weight:500;
  opacity:.92;
  text-align:center;
  margin-top:6px;
}

/* Pills: label bold, value normal */
.jp-czs-pill{
  font-weight:500;
}
.jp-czs-pill strong{
  font-weight:800;
  opacity:1;
}
.jp-czs-pill .jp-czs-pill-val{
  font-weight:500;
}

/* Slightly emphasize combination pill value */
.jp-czs-pill.is-combo .jp-czs-pill-val{
  font-weight:650;
}

@media (max-width: 420px){
  .jp-czs-lead{font-size:18px;}
}

.jp-czs-pill-val{font-weight:500 !important;}


/* --- v1.2.6 Final Meta Layout (Grid + Separate Toggle) --- */
.jp-czs-meta-wrap{
  max-width: 760px;
  margin: 14px auto 10px auto;
}

.jp-czs-meta-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: stretch;
}

.jp-czs-pill{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 16px;
  border-radius:999px;
  background:#f4f4f4;
  border:1px solid rgba(17,17,17,.12);
  font-size:15px;
  line-height:1.2;
}

.jp-czs-pill strong{font-weight:800;}
.jp-czs-pill .jp-czs-pill-val{font-weight:500;}

.jp-czs-timebox{
  grid-column: 1 / -1;
  padding:12px 18px;
  border-radius:999px;
  border:1px solid rgba(17,17,17,.18);
  background:#fafafa;
}

.jp-czs-time-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px 10px;
  justify-content:flex-start;
  line-height:1.35;
}
.jp-czs-time-row + .jp-czs-time-row{margin-top:6px;}

.jp-czs-toggle{
  width:100%;
  max-width: 760px;
  margin: 12px auto 0 auto;
  border-radius:999px;
  padding:12px 18px;
}

@media (max-width: 820px){
  .jp-czs-meta-grid{grid-template-columns: 1fr;}
  .jp-czs-timebox{grid-column:auto;}
  .jp-czs-toggle{max-width: 100%;}
  .jp-czs-meta-wrap{max-width: 100%;}
}

/* Lead lines */
.jp-czs-lead{
  text-align:center;
  font-size:19px;
  font-weight:700;
  line-height:1.35;
  margin-top:10px;
}
.jp-czs-lead-sub{
  text-align:center;
  font-size:16px;
  font-weight:500;
  opacity:.92;
  margin-top:6px;
}


/* --- v1.2.7 small UI fixes --- */
.jp-czs-pills{
  justify-content:center;
}

.jp-czs-toggle{
  box-sizing:border-box;
  max-width:100%;
}

/* Ensure the toggle pill doesn't overflow its container */
.jp-czs-result *{
  box-sizing:border-box;
}


/* --- v1.2.8: Center pill content --- */
.jp-czs-pill{
  justify-content:center !important;
  text-align:center;
}


/* --- v1.3.1 polish: Full-width CTA + soften big pill radii --- */

/* Full-width button inside tool container */
.jp-czs-btnrow{justify-content:stretch;}
.jp-czs-btn{
  width:100% !important;
  max-width:100% !important;
}

/* Soften the two large pills (timebox + details toggle) to match overall rounding */
.jp-czs-timebox{border-radius:22px !important;}
/* Keep the chevron next to the label (not pushed to the far right) */
.jp-czs-toggle{border-radius:22px !important; width:100%; max-width:100%; justify-content:center; gap:10px;}


/* --- v1.3.2 final micro-polish (UI only, no logic) --- */

/* Result text hierarchy */
.jp-czs-lead{
  font-size:19px; /* +2px */
  line-height:1.35;
}
.jp-czs-lead-sub{
  font-size:15px; /* 1px smaller than base */
  line-height:1.4;
}

/* Make combo word stand out slightly without changing wording:
   We wrap via JS currently not; so use last word heuristic by bolding the whole line's last strong if present.
   Fallback: slightly heavier weight overall line. */
.jp-czs-lead-sub{
  font-weight:600;
}

/* Keep emoji+word from breaking awkwardly on mobile */
.jp-czs-lead-sub{
  word-break:normal;
  overflow-wrap:normal;
}

/* Pills: a touch more horizontal presence on desktop, tighter padding on mobile */
.jp-czs-pills{
  gap:14px;
}
.jp-czs-pill{
  padding:12px 18px;
}
@media (max-width: 520px){
  .jp-czs-pill{padding:10px 16px;}
}

/* Timebox: +4px vertical padding for breathing room */
.jp-czs-timebox{
  padding-top:16px !important;
  padding-bottom:16px !important;
}

/* Details toggle: slightly more compact + smaller arrow */
.jp-czs-toggle{
  padding-top:12px !important;
  padding-bottom:12px !important;
}
.jp-czs-toggle .jp-czs-arrow{
  font-size:0.95em;
  opacity:0.9;
}


/* --- v1.3.3 focus polish (date fields only) --- */
/* Remove native glow/outline on select focus and use a clean darker border */
.jp-czs-select:focus,
.jp-czs-select:focus-visible{
  outline: none !important;
  box-shadow: none !important;
  border-color: #111 !important;
}

/* Keep it smooth */
.jp-czs-select{
  transition: border-color .12s ease, box-shadow .12s ease;
}


.jp-czs-compatbox{
  grid-column: 1 / -1;
  width: 100%;
  box-sizing: border-box;
  margin-top:10px;
  padding:12px 18px;
  border-radius:999px;
  border:1px solid rgba(17,17,17,.18);
  background:#f2f2f2;
  font-size:15px;
  line-height:1.55;
}
@media (max-width:520px){
  .jp-czs-compatbox{border-radius:22px;padding:12px 16px;}
}

/* Compatibility sentence pill (shown inside Details toggle) */
.jp-czs-compatpill{
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(17,17,17,.18);
  border-radius: 16px; /* match timebox */
  background: #f7f7f7; /* slightly darker than timebox (#fafafa) */
  padding: 16px 18px;
  margin: 6px 0 2px;
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

.jp-czs-compatpill strong{ font-weight: 800; }



/* --- Liquid CTA Pill (Apple-like) --- */
.jp-czs-cta-wrap{
  width: 100%;
  max-width: 100%;
  margin-top: 14px;
}

.jp-czs-cta-pill{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(17,17,17,.18);
  background: linear-gradient(180deg, #ffffff 0%, #f3f3f6 100%);
  box-shadow:
    0 10px 24px rgba(0,0,0,.10),
    inset 0 1px 0 rgba(255,255,255,.85);
  color: #111;
  text-decoration: none;
  overflow: hidden;
  transform: translateZ(0);
}

.jp-czs-cta-pill::before{
  content: "";
  position: absolute;
  inset: -40% -60%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.85), rgba(255,255,255,0) 55%);
  transform: rotate(12deg);
  pointer-events: none;
  opacity: .65;
}

.jp-czs-cta-main{
  font-weight: 800;
  font-size: 16px;
  line-height: 1.2;
}

.jp-czs-cta-sub{
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
  opacity: .70;
}

.jp-czs-cta-arrow{
  margin-left: auto;
  font-weight: 900;
  opacity: .75;
}

.jp-czs-cta-pill:hover{
  transform: translateY(-1px);
  box-shadow:
    0 14px 30px rgba(0,0,0,.14),
    inset 0 1px 0 rgba(255,255,255,.9);
}

.jp-czs-cta-pill:active{
  transform: translateY(0px);
  box-shadow:
    0 10px 22px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,.85);
}

.jp-czs-cta-pill:focus{
  outline: none;
}

.jp-czs-cta-pill:focus-visible{
  outline: 2px solid rgba(17,17,17,.35);
  outline-offset: 3px;
}

/* Mobile: stack text nicely */
@media (max-width: 620px){
  .jp-czs-cta-pill{
    padding: 14px 16px;
  }
  .jp-czs-cta-pill{
    justify-content: flex-start;
  }
  .jp-czs-cta-main, .jp-czs-cta-sub{
    display: block;
  }
  .jp-czs-cta-sub{
    margin-left: 0;
  }
  .jp-czs-cta-arrow{
    margin-left: auto;
  }
}

/* --- Liquid CTA Pill (Apple-like, minimal) v1.3.12 --- */
.jp-czs-cta-wrap{margin-top:14px;}
.jp-czs-cta{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px;
  width:100%;
  padding:14px 18px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,0.10);
  background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(245,245,247,0.92) 100%);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  text-decoration:none !important;
  color: inherit;
  position: relative;
  overflow:hidden;
  -webkit-tap-highlight-color: transparent;
}
.jp-czs-cta:before{
  content:"";
  position:absolute; inset:-40% -60%;
  background: radial-gradient(closest-side, rgba(255,255,255,0.55), rgba(255,255,255,0));
  transform: rotate(12deg);
  pointer-events:none;
}
.jp-czs-cta:hover{transform: translateY(-1px); box-shadow: 0 14px 38px rgba(0,0,0,0.08);}
.jp-czs-cta:active{transform: translateY(0px); box-shadow: 0 10px 30px rgba(0,0,0,0.06);}
.jp-czs-cta-left{display:flex; align-items:center; gap:12px; min-width:0;}
.jp-czs-cta-icon{font-size:22px; line-height:1; flex:0 0 auto;}
.jp-czs-cta-text{display:flex; flex-direction:column; min-width:0;}
.jp-czs-cta-label{
  font-weight:700;
  font-size:18px;
  line-height:1.15;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.jp-czs-cta-sub{display:none !important;}
.jp-czs-cta-arrow{font-size:22px; opacity:0.65; flex:0 0 auto;}
@media (max-width: 520px){
  .jp-czs-cta{padding:14px 16px;}
  .jp-czs-cta-label{font-size:16px;}
  .jp-czs-cta-arrow{font-size:20px;}
}
