/* YuStream PMPro Membership Levels v1.5.7.42: scoped to levels template */
.ys-membership-v1{--ys-red:#eb1025;--ys-fg:#f8f9fc;--ys-muted:#b3bac7;--ys-border:#364251;--ys-panel:#101923;max-width:1330px;margin:0 auto 70px;padding:44px 24px 30px;color:var(--ys-fg);position:relative;font-family:inherit}
.ys-membership-v1 *{box-sizing:border-box}.ys-membership-v1:before{content:"";position:absolute;z-index:-1;pointer-events:none;left:-8%;right:-8%;top:0;height:370px;background:radial-gradient(ellipse at 16% 4%,rgba(222,2,38,.19),transparent 53%),radial-gradient(ellipse at 87% 3%,rgba(204,2,39,.17),transparent 50%)}
.ys-membership-hero{text-align:center;margin:0 auto 48px;max-width:850px}.ys-membership-eyebrow{color:#fb4f62;letter-spacing:.23em;font-size:12px;font-weight:800}.ys-membership-hero h1{font-size:clamp(32px,4.6vw,55px);font-weight:850;line-height:1.1;margin:12px 0 15px;color:#fff}.ys-membership-hero h1 span,.ys-membership-compare h2 span,.ys-membership-help h2 span{color:#fa2339}.ys-membership-hero p{color:#c6c8d0;font-size:15px;line-height:1.7;margin:0 auto;max-width:730px}.ys-membership-rule{display:block;width:76px;height:4px;background:#ee1c33;border-radius:5px;margin:23px auto 0}
.ys-membership-grid{display:grid;grid-template-columns:repeat(var(--ys-plan-columns,3),minmax(0,1fr));align-items:stretch;gap:24px;margin:0 0 42px}.ys-membership-card{border-radius:19px;border:1px solid #3c4858;background:linear-gradient(140deg,#16212b,#0c111a 76%);box-shadow:0 16px 37px rgba(0,0,0,.3);padding:39px 25px 24px;position:relative;display:flex;flex-direction:column;text-align:center;min-width:0}.ys-membership-card.is-featured{border:2px solid #f52640;padding:38px 24px 23px;background:linear-gradient(160deg,rgba(116,13,31,.56),#161119 57%,#0c1018);box-shadow:0 0 28px rgba(227,13,43,.28),0 14px 35px rgba(0,0,0,.27)}.ys-membership-card.is-current{border-color:#d54e5e}.ys-membership-ribbon{position:absolute;top:-17px;left:50%;transform:translateX(-50%);display:block;border-radius:35px;padding:8px 18px;white-space:nowrap;background:#f01e35;color:#fff;font-size:12px;font-weight:750;box-shadow:0 7px 20px rgba(224,18,41,.24)}.ys-membership-plan-icon{display:grid;place-items:center;margin:0 auto 13px;width:48px;height:48px;border-radius:12px;color:#fff;background:linear-gradient(#354453,#16202a);border:1px solid #586574;font-size:25px}.ys-membership-card.is-featured .ys-membership-plan-icon{background:linear-gradient(#fc263e,#a90020);border-color:#ff465a}.ys-membership-card h2{color:#fff;font-size:27px;line-height:1.2;font-weight:800;margin:2px 0 10px;overflow-wrap:anywhere}.ys-membership-price{color:#fff;font-size:24px;font-weight:800;line-height:1.5;min-height:40px}.ys-membership-price small,.ys-membership-price .pmpro_level-price{font-size:inherit}.ys-membership-term{font-size:12px;line-height:1.6;color:#aeb5c0;margin:7px 0 0}.ys-membership-card-line{margin:18px 0 20px;height:1px;background:rgba(255,255,255,.15)}.ys-membership-description{text-align:left;color:#d5d9e1;font-size:14px;line-height:1.7;overflow-wrap:anywhere;flex:1}.ys-membership-description :is(ul,ol){list-style:none;padding:0;margin:0 0 16px}.ys-membership-description li{padding:4px 0 4px 27px;position:relative}.ys-membership-description li:before{content:'✓';position:absolute;left:0;color:#ff344a;font-weight:900}.ys-membership-description p{font-size:14px;line-height:1.7;color:#d5d9e1}.ys-membership-description a{color:#ff6979}.ys-membership-card-bottom{margin-top:auto;padding-top:19px}.ys-membership-button{display:flex!important;justify-content:center;align-items:center;min-height:48px;width:100%;border:1px solid #77818c;border-radius:11px!important;text-decoration:none!important;background:transparent;color:#fff!important;font-weight:800;font-size:15px;padding:11px 15px;transition:.2s}.ys-membership-button:hover{color:#fff!important;background:#293542;border-color:#fff}.ys-membership-card.is-featured .ys-membership-button{background:linear-gradient(#fa2a42,#d50020);border-color:#f13448}.ys-membership-card.is-featured .ys-membership-button:hover{background:#bb0820}.ys-membership-button.is-current{opacity:.8}
.ys-membership-compare{background:linear-gradient(140deg,#131f2c,#0c121c);border:1px solid #435266;border-radius:16px;padding:23px 25px 12px;margin-bottom:33px;box-shadow:0 16px 40px rgba(0,0,0,.25)}.ys-membership-compare h2,.ys-membership-help h2{color:#fff;font-size:25px;font-weight:800;margin:0 0 18px}.ys-membership-table-scroll{overflow-x:auto;max-width:100%}.ys-membership-table{width:100%;border-collapse:collapse;min-width:520px;text-align:center;background:none!important;color:#f6f7fb}.ys-membership-table :is(th,td){background:transparent!important;color:inherit!important;padding:14px 12px!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.12)!important;font-size:13px;line-height:1.5;vertical-align:top}.ys-membership-table thead th{font-weight:800;font-size:15px}.ys-membership-table :is(th:first-child){text-align:left}.ys-membership-table tbody th{font-weight:650}.ys-membership-compare-note{font-size:12px;color:#aeb5c0;line-height:1.6;margin:12px 0 4px}
.ys-membership-help{display:grid;grid-template-columns:minmax(230px,1fr) minmax(0,1.75fr);gap:40px;margin:35px 0 35px;align-items:start}.ys-membership-help-intro p{font-size:14px;color:#b5bdc9;line-height:1.6}.ys-membership-help-intro>a{display:inline-block;border:1px solid #e5213a;padding:10px 18px;color:#fff;text-decoration:none;border-radius:10px;background:rgba(221,15,42,.2);font-weight:700}.ys-membership-help-intro>a:hover{color:#fff;background:#cc142b}.ys-membership-faqs details{background:linear-gradient(120deg,#192735,#111b29);border:1px solid #364759;border-radius:10px;margin-bottom:10px;color:#fff}.ys-membership-faqs summary{cursor:pointer;padding:14px 18px;font-weight:650;font-size:14px;list-style:none}.ys-membership-faqs summary::-webkit-details-marker{display:none}.ys-membership-faqs summary:after{content:'+';float:right;font-size:20px;line-height:15px}.ys-membership-faqs details[open] summary:after{content:'−'}.ys-membership-faqs details p{color:#b6c1cf;border-top:1px solid #364759;margin:0;padding:13px 18px;line-height:1.6;font-size:13px}.ys-membership-return a{display:inline-block;color:#cbd2de;text-decoration:none;font-weight:650}.ys-membership-return a:hover{color:#fff}.ys-membership-empty{border:1px solid #455366;border-radius:14px;padding:32px;text-align:center;color:#ddd}
@media(max-width:960px){.ys-membership-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:36px}.ys-membership-help{grid-template-columns:1fr;gap:18px}}@media(max-width:640px){.ys-membership-v1{padding:30px 14px;margin-bottom:35px}.ys-membership-hero{margin-bottom:40px}.ys-membership-grid{grid-template-columns:1fr;gap:38px}.ys-membership-card{padding:34px 23px 22px}.ys-membership-card.is-featured{padding:33px 22px 21px}.ys-membership-compare{padding:18px 15px 12px}.ys-membership-compare h2,.ys-membership-help h2{font-size:22px}}

/* Remove the redundant WordPress page title above YuStream pricing cards only. */
body.yustream-membership-clean-heading .entry-title,
body.yustream-membership-clean-heading .page-title,
body.yustream-membership-clean-heading .page-header > h1 { display: none !important; }

/* Version 1.5.7.44: a real PMPro device quota row in every plan. */
.ys-membership-device-limit{display:flex;align-items:center;flex-wrap:wrap;gap:8px;text-align:left;margin:0 0 16px;padding:12px 13px;border-radius:10px;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.045);font-size:14px;color:#cbd2df}
.ys-membership-device-limit strong{margin-left:auto;font-weight:800;color:#fff}
.ys-membership-device-icon{color:#ff3f57;font-size:20px;line-height:1}


/* v1.5.7.46: center the three-line membership intro as one group. */
#ys-membership-plans > .ys-membership-hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    clear: both;
    margin: 0 auto 48px !important;
    padding: 0 12px !important;
    text-align: center !important;
}
#ys-membership-plans > .ys-membership-hero > .ys-membership-eyebrow,
#ys-membership-plans > .ys-membership-hero > h1,
#ys-membership-plans > .ys-membership-hero > p {
    display: block;
    float: none !important;
    position: static;
    width: auto;
    max-width: 100%;
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}
#ys-membership-plans > .ys-membership-hero > .ys-membership-rule {
    flex: none;
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
@media (max-width: 640px) {
    #ys-membership-plans > .ys-membership-hero {
        margin-bottom: 40px !important;
        padding: 0 6px !important;
    }
}

/* Live Streamit 3.4.3.2 compatibility: the original theme treats all header elements
   as site mastheads. The membership intro is deliberately a div (not a header).
   Also override theme typography only inside the membership component. */
#ys-membership-plans {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
  font-size: 15px;
  line-height: 1.6;
}
#ys-membership-plans, #ys-membership-plans * {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
}
#ys-membership-plans > .ys-membership-hero {
  position: relative !important;
  inset: auto !important;
  z-index: 1 !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0 !important;
  height: auto !important;
  width: 100% !important;
  float: none !important;
  padding: 0 12px !important;
  margin: 0 auto 48px !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  text-align: center !important;
}
#ys-membership-plans > .ys-membership-hero::before,
#ys-membership-plans > .ys-membership-hero::after { content: none !important; }
#ys-membership-plans > .ys-membership-hero h1 {
  font-size: clamp(32px, 4.6vw, 55px) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  margin: 12px auto 15px !important;
  text-align: center !important;
  color: #fff !important;
}
#ys-membership-plans > .ys-membership-hero p {
  font-size: 15px !important;
  line-height: 1.7 !important;
  margin: 0 auto !important;
  color: #c6c8d0 !important;
}
#ys-membership-plans .ys-membership-card h2 {
  font-size: 27px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}
#ys-membership-plans .ys-membership-card .ys-membership-price {
  font-size: 24px !important;
  font-weight: 800 !important;
}
#ys-membership-plans .ys-membership-description,
#ys-membership-plans .ys-membership-description p {
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
}
#ys-membership-plans .ys-membership-compare h2,
#ys-membership-plans .ys-membership-help h2 {
  font-size: 25px !important;
  font-weight: 800 !important;
}
#ys-membership-plans .ys-membership-table th,
#ys-membership-plans .ys-membership-table td {
  font-size: 13px !important;
  font-weight: 500;
}
#ys-membership-plans .ys-membership-button {
  font-size: 15px !important;
  font-weight: 800 !important;
}
@media (max-width: 640px) {
  #ys-membership-plans > .ys-membership-hero { margin-bottom: 40px !important; }
  #ys-membership-plans .ys-membership-compare h2,
  #ys-membership-plans .ys-membership-help h2 { font-size: 22px !important; }
}


/* YuStream live membership parity: Current Plan takes priority over Featured Plan. */
#ys-membership-plans .ys-membership-card.is-current,
#ys-membership-plans .ys-membership-card.is-current.is-featured {
  border: 2px solid #ff4862 !important;
  padding: 38px 24px 23px;
  background: linear-gradient(162deg, rgba(103, 13, 31, .68) 0%, #25131e 38%, #0c111a 91%) !important;
  box-shadow: 0 0 29px rgba(239, 19, 55, .28), 0 16px 38px rgba(0, 0, 0, .32) !important;
}
#ys-membership-plans .ys-membership-card.is-current .ys-membership-plan-icon {
  background: linear-gradient(160deg, #ff2b45 0%, #ba0025 100%) !important;
  border: 1px solid #ff5168 !important;
  box-shadow: 0 3px 11px rgba(233, 12, 47, .18);
  color: #fff !important;
}
#ys-membership-plans .ys-membership-card.is-current .ys-membership-ribbon {
  background: linear-gradient(145deg, #ff2942, #e71333) !important;
  border: 0 !important;
  box-shadow: 0 8px 22px rgba(229, 20, 56, .3) !important;
  color: #fff !important;
}
#ys-membership-plans .ys-membership-card.is-current .ys-membership-button.is-current,
#ys-membership-plans .ys-membership-card.is-current.is-featured .ys-membership-button.is-current {
  background: linear-gradient(180deg, #f31d3c, #c9092c) !important;
  border: 1px solid #f9435b !important;
  color: #fff !important;
  opacity: 1 !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}
#ys-membership-plans .ys-membership-card.is-current .ys-membership-button.is-current:hover {
  background: linear-gradient(180deg, #ff344f, #dd0b32) !important;
}
@media (max-width: 640px) {
  #ys-membership-plans .ys-membership-card.is-current,
  #ys-membership-plans .ys-membership-card.is-current.is-featured { padding: 33px 22px 21px; }
}
