
.playdot-accounts-hidden{display:none!important}
.pda-wrap,.pda-wrap *{box-sizing:border-box}
.pda-wrap{
  position:relative;
  left:50%;
  width:100vw;
  margin:0;
  padding:64px 16px 90px;
  transform:translateX(-50%);
  overflow:hidden;
  color:#26345c;
  background:
    radial-gradient(circle at 12% 12%,rgba(255,209,102,.38),transparent 24%),
    radial-gradient(circle at 88% 16%,rgba(76,201,240,.34),transparent 26%),
    linear-gradient(180deg,#d8f7ff 0%,#f8fbff 46%,#fff3c6 100%);
  font-family:"Trebuchet MS",Inter,system-ui,sans-serif;
}
.pda-wrap:after{
  content:"";
  position:absolute;
  left:-5%;
  right:-5%;
  bottom:-75px;
  height:180px;
  background:
    radial-gradient(ellipse at 15% 45%,#71d778 0 24%,transparent 25%),
    radial-gradient(ellipse at 46% 48%,#5bc469 0 27%,transparent 28%),
    radial-gradient(ellipse at 78% 45%,#77dc7b 0 25%,transparent 26%);
}
.pda-card,.pda-dashboard{
  position:relative;
  z-index:2;
  width:min(820px,100%);
  margin:auto;
  padding:34px;
  border:4px solid rgba(255,255,255,.96);
  border-radius:30px;
  background:rgba(255,255,255,.96);
  box-shadow:0 30px 80px rgba(37,50,90,.16);
}
.pda-login-card{max-width:620px}
.pda-card-simple{max-width:460px;text-align:center}
.pda-brand{text-align:center;margin-bottom:28px}
.pda-brand-pill{
  display:inline-flex;
  padding:8px 14px;
  border:2px solid #e7ddff;
  border-radius:999px;
  background:#fff;
  color:#7042d3;
  font-size:11px;
  font-weight:950;
  letter-spacing:.09em;
  text-transform:uppercase;
  box-shadow:0 8px 20px rgba(75,55,145,.10);
}
.pda-brand h1,.pda-dashboard h1{
  margin:14px 0 8px;
  color:#172254;
  font-size:clamp(34px,5vw,52px);
  line-height:1;
  letter-spacing:-.045em;
}
.pda-brand p,.pda-dashboard-header p{
  margin:0;
  color:#6c778c;
  line-height:1.6;
}
.pda-form{display:grid;gap:17px}
.pda-form label>span:first-child{
  display:block;
  margin-bottom:7px;
  color:#344160;
  font-size:13px;
  font-weight:900;
}
.pda-form input[type="text"],
.pda-form input[type="email"],
.pda-form input[type="password"]{
  width:100%;
  min-height:54px;
  padding:13px 15px;
  border:3px solid #e2e8f1;
  border-radius:16px;
  background:#fff;
  color:#1f2d53;
  font:inherit;
  font-size:15px;
  outline:none;
  transition:border-color .17s,box-shadow .17s,transform .17s;
}
.pda-form input:focus{
  border-color:#8f5be8;
  box-shadow:0 0 0 5px rgba(143,91,232,.14);
}
.pda-grid-two{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:15px;
}
.pda-password{position:relative;display:block}
.pda-password input{padding-right:74px!important}
.pda-toggle-password{
  position:absolute;
  top:50%;
  right:9px;
  transform:translateY(-50%);
  padding:8px 10px;
  border:0;
  border-radius:10px;
  background:#f0ecff;
  color:#7042d3;
  cursor:pointer;
  font:inherit;
  font-size:11px;
  font-weight:900;
}
.pda-check{
  display:flex!important;
  align-items:flex-start;
  gap:10px;
  color:#657086;
  font-size:13px;
  line-height:1.5;
}
.pda-check input{
  width:19px;
  height:19px;
  margin-top:1px;
  accent-color:#7547d8;
  flex:0 0 auto;
}
.pda-check span{margin:0!important;font-weight:600!important}
.pda-check a,.pda-switch a,.pda-login-row a{
  color:#7042d3;
  font-weight:900;
  text-decoration:none;
}
.pda-primary,.pda-secondary{
  display:inline-flex;
  min-height:54px;
  align-items:center;
  justify-content:center;
  padding:13px 24px;
  border:0;
  border-radius:16px;
  cursor:pointer;
  text-decoration:none!important;
  font:inherit;
  font-weight:950;
}
.pda-primary{
  background:linear-gradient(135deg,#9d4edd,#4cc9f0);
  color:#fff!important;
  box-shadow:0 14px 30px rgba(105,75,200,.28);
}
.pda-primary:hover{transform:translateY(-2px)}
.pda-secondary{
  background:#f0ecff;
  color:#7042d3!important;
}
.pda-switch{
  margin:22px 0 0;
  color:#6f798c;
  text-align:center;
  font-size:14px;
}
.pda-login-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.pda-notice{
  margin:0 0 19px;
  padding:13px 15px;
  border-radius:14px;
  font-size:13px;
  font-weight:900;
}
.pda-notice-success{
  background:#eaffef;
  border:2px solid #86d89a;
  color:#176537;
}
.pda-notice-error{
  background:#fff0f1;
  border:2px solid #f1a1a8;
  color:#8d2731;
}
.pda-dashboard{width:min(1040px,100%)}
.pda-dashboard-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:22px;
}
.pda-dashboard-grid{
  display:grid;
  grid-template-columns:minmax(260px,.72fr) minmax(340px,1.28fr);
  gap:18px;
}
.pda-panel{
  padding:24px;
  border:3px solid #e4e9f1;
  border-radius:23px;
  background:linear-gradient(145deg,#fff,#f6fbff);
}
.pda-plan-panel{
  display:flex;
  align-items:flex-start;
  flex-direction:column;
  background:
    radial-gradient(circle at 90% 10%,rgba(255,209,102,.5),transparent 30%),
    linear-gradient(145deg,#f4eeff,#f0fbff);
}
.pda-panel-label{
  color:#758094;
  font-size:11px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.pda-plan-panel>strong{
  margin:13px 0 26px;
  color:#172254;
  font-size:42px;
  letter-spacing:-.04em;
}
.pda-details{margin:15px 0 0}
.pda-details>div{
  display:grid;
  grid-template-columns:140px 1fr;
  gap:12px;
  padding:12px 0;
  border-bottom:1px solid #e4e9f1;
}
.pda-details>div:last-child{border-bottom:0}
.pda-details dt{color:#7a8497;font-size:12px;font-weight:900}
.pda-details dd{margin:0;color:#28365c;font-weight:800;overflow-wrap:anywhere}
.pda-status-ok{color:#15854b!important}
.pda-status-warning{color:#c3750b!important}
.pda-verification-warning{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin-bottom:18px;
  padding:15px 17px;
  border:2px solid #ffd166;
  border-radius:17px;
  background:#fff8d9;
  color:#6c4f00;
}
.pda-verification-warning button{
  padding:10px 14px;
  border:0;
  border-radius:12px;
  background:#6f45d0;
  color:#fff;
  cursor:pointer;
  font:inherit;
  font-size:12px;
  font-weight:900;
}
@media(max-width:760px){
  .pda-card,.pda-dashboard{padding:23px 16px;border-radius:23px}
  .pda-grid-two,.pda-dashboard-grid{grid-template-columns:1fr}
  .pda-dashboard-header,.pda-verification-warning{align-items:flex-start;flex-direction:column}
  .pda-login-row{align-items:flex-start;flex-direction:column}
  .pda-details>div{grid-template-columns:1fr;gap:3px}
}


/* v1.2 Account & Membership card */
.pda-floating-auth{
  position:fixed;
  z-index:99990;
  top:var(--pda-account-top,110px);
  left:var(--pda-account-left,18px);
  width:228px;
  transition:top .24s ease,left .24s ease;
}
body.admin-bar .pda-floating-auth{
  top:var(--pda-account-top-admin,142px);
}
.pda-account-widget,
.pda-account-widget *{
  box-sizing:border-box;
}
.pda-account-widget{
  width:100%;
  overflow:hidden;
  border:2px solid rgba(112,66,211,.16);
  border-radius:22px;
  background:rgba(255,255,255,.97);
  color:#26355e;
  box-shadow:0 15px 38px rgba(35,45,80,.16);
  backdrop-filter:blur(12px);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.pda-account-widget:hover{
  transform:translateY(-2px);
  border-color:rgba(112,66,211,.42);
  box-shadow:0 19px 44px rgba(35,45,80,.21);
}
.pda-account-toggle{
  position:relative;
  display:grid;
  width:100%;
  min-height:68px;
  grid-template-columns:43px minmax(0,1fr) 11px 12px;
  align-items:center;
  gap:9px;
  padding:11px 12px;
  border:0;
  background:transparent;
  color:inherit;
  cursor:pointer;
  text-align:left;
  font:inherit;
}
.pda-account-avatar{
  display:grid;
  width:43px;
  height:43px;
  place-items:center;
  border-radius:50%;
  background:linear-gradient(145deg,#9d4edd,#4cc9f0);
  color:#fff;
  font-size:19px;
  font-weight:950;
  box-shadow:0 8px 18px rgba(92,66,175,.24);
}
.pda-guest-avatar{
  background:linear-gradient(145deg,#edf1f7,#dce5f0);
  color:#68768b;
}
.pda-guest-avatar svg{
  width:25px;
  height:25px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
}
.pda-account-summary{
  display:flex;
  min-width:0;
  flex-direction:column;
  gap:3px;
}
.pda-account-summary strong{
  overflow:hidden;
  color:#22325c;
  font-size:13px;
  font-weight:950;
  line-height:1.2;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.pda-account-plan{
  display:inline-flex;
  width:max-content;
  max-width:100%;
  padding:3px 8px;
  border-radius:999px;
  background:#eef1f6;
  color:#6a768a;
  font-size:9px;
  font-weight:950;
  letter-spacing:.06em;
  line-height:1.2;
  text-transform:uppercase;
}
.pda-account-widget.is-free .pda-account-plan{
  background:#eaf6ff;
  color:#2077a9;
}
.pda-account-widget.is-premium .pda-account-plan{
  background:linear-gradient(135deg,#fff0a9,#ffd166);
  color:#765300;
  box-shadow:0 5px 12px rgba(215,161,0,.18);
}
.pda-account-online,
.pda-account-offline{
  width:11px;
  height:11px;
  border:2px solid #fff;
  border-radius:50%;
  box-shadow:0 0 0 1px rgba(35,45,80,.10);
}
.pda-account-online{background:#35bd68}
.pda-account-offline{background:#9aa4b4}
.pda-account-chevron{
  width:8px;
  height:8px;
  border-right:2px solid #778298;
  border-bottom:2px solid #778298;
  transform:rotate(45deg) translateY(-2px);
  transition:transform .2s ease;
}
.pda-account-widget.is-open .pda-account-chevron{
  transform:rotate(225deg) translate(-2px,-2px);
}
.pda-account-menu{
  display:grid;
  max-height:0;
  padding:0 10px;
  overflow:hidden;
  border-top:1px solid transparent;
  opacity:0;
  transform:translateY(-7px);
  transition:max-height .32s ease,opacity .22s ease,transform .22s ease,padding .32s ease,border-color .22s ease;
}
.pda-account-widget.is-open .pda-account-menu{
  max-height:360px;
  padding:9px 10px 11px;
  border-top-color:#e7ebf2;
  opacity:1;
  transform:translateY(0);
}
.pda-account-menu a{
  display:flex;
  min-height:39px;
  align-items:center;
  padding:8px 10px;
  border-radius:11px;
  color:#344160!important;
  text-decoration:none!important;
  font-size:11px;
  font-weight:900;
  transition:background .16s ease,color .16s ease,transform .16s ease;
}
.pda-account-menu a:hover,
.pda-account-menu a:focus-visible{
  background:#f0eaff;
  color:#7042d3!important;
  outline:none;
  transform:translateX(3px);
}
.pda-account-menu .pda-account-logout{
  margin-top:4px;
  border-top:1px solid #edf0f5;
  border-radius:0 0 10px 10px;
  color:#c04450!important;
}
@media(max-width:1050px) and (min-width:681px){
  .pda-floating-auth{
    width:190px;
    left:10px;
  }
  .pda-account-toggle{
    grid-template-columns:39px minmax(0,1fr) 10px 10px;
    gap:7px;
    padding:9px;
  }
  .pda-account-avatar{
    width:39px;
    height:39px;
  }
}
@media(max-width:680px){
  .pda-floating-auth{
    top:auto!important;
    left:12px!important;
    bottom:14px;
    width:auto;
    max-width:calc(100vw - 24px);
  }
  .pda-account-widget{
    width:58px;
    border-radius:19px;
    transition:width .28s ease,box-shadow .2s ease,border-color .2s ease;
  }
  .pda-account-widget.is-open{
    width:min(286px,calc(100vw - 24px));
  }
  .pda-account-toggle{
    min-height:56px;
    grid-template-columns:39px 0 0 0;
    gap:0;
    padding:8px;
  }
  .pda-account-widget.is-open .pda-account-toggle{
    grid-template-columns:39px minmax(0,1fr) 11px 12px;
    gap:8px;
  }
  .pda-account-avatar{
    width:39px;
    height:39px;
    font-size:17px;
  }
  .pda-account-summary,
  .pda-account-online,
  .pda-account-offline,
  .pda-account-chevron{
    visibility:hidden;
    opacity:0;
  }
  .pda-account-widget.is-open .pda-account-summary,
  .pda-account-widget.is-open .pda-account-online,
  .pda-account-widget.is-open .pda-account-offline,
  .pda-account-widget.is-open .pda-account-chevron{
    visibility:visible;
    opacity:1;
    transition:opacity .18s ease .1s;
  }
}

/* v1.7 half-size desktop account card. */
@media(min-width:1051px){
  .pda-floating-auth{
    width:auto;
  }
  .pda-account-widget{
    width:114px;
    border-radius:18px;
    transition:width .26s ease,transform .2s ease,box-shadow .2s ease,border-color .2s ease;
  }
  .pda-account-widget.is-open{
    width:190px;
  }
  .pda-account-toggle{
    min-height:52px;
    grid-template-columns:32px minmax(0,1fr) 9px 0;
    gap:5px;
    padding:7px 8px;
  }
  .pda-account-widget.is-open .pda-account-toggle{
    grid-template-columns:32px minmax(0,1fr) 9px 9px;
    gap:7px;
    padding:7px 9px;
  }
  .pda-account-avatar{
    width:32px;
    height:32px;
    font-size:14px;
    box-shadow:0 5px 11px rgba(92,66,175,.2);
  }
  .pda-guest-avatar svg{
    width:18px;
    height:18px;
  }
  .pda-account-chevron{
    visibility:hidden;
    opacity:0;
  }
  .pda-account-online,
  .pda-account-offline{
    position:static;
    width:9px;
    height:9px;
    visibility:visible;
    opacity:1;
    background:#35bd68;
  }
  .pda-account-summary{
    visibility:visible;
    opacity:1;
    gap:1px;
  }
  .pda-account-summary strong{
    font-size:9px;
  }
  .pda-account-plan{
    max-width:48px;
    padding:2px 5px;
    font-size:7px;
  }
  .pda-account-widget.is-open .pda-account-summary,
  .pda-account-widget.is-open .pda-account-online,
  .pda-account-widget.is-open .pda-account-offline,
  .pda-account-widget.is-open .pda-account-chevron{
    visibility:visible;
    opacity:1;
  }
  .pda-account-widget.is-open .pda-account-online,
  .pda-account-widget.is-open .pda-account-offline{
    position:static;
    width:11px;
    height:11px;
  }
  .pda-account-widget.is-open .pda-account-summary strong{font-size:11px}
  .pda-account-widget.is-open .pda-account-plan{padding:2px 6px;font-size:8px}
}

/* v1.3 swipe-to-hide widget */
.pda-floating-auth{
  --pda-hidden-peek:18px;
}
.pda-account-widget{
  touch-action:pan-y;
  user-select:none;
  -webkit-user-select:none;
  transform:translateX(var(--pda-drag-x,0));
  transition:
    transform .28s cubic-bezier(.2,.85,.3,1),
    width .28s ease,
    box-shadow .2s ease,
    border-color .2s ease;
}
.pda-account-widget.is-dragging{
  transition:none!important;
  cursor:grabbing;
}
.pda-floating-auth.is-side-hidden{
  pointer-events:none;
}
.pda-floating-auth.is-side-hidden .pda-account-widget{
  pointer-events:auto;
}
.pda-account-widget.is-side-hidden{
  transform:translateX(calc(-100% + var(--pda-hidden-peek) + var(--pda-drag-x,0px)));
  box-shadow:0 8px 20px rgba(35,45,80,.13);
}
.pda-account-widget.is-side-hidden:after{
  content:"";
  position:absolute;
  top:50%;
  right:2px;
  width:8px;
  height:24px;
  transform:translateY(-50%);
  border-radius:999px;
  background:#7042d3;
  box-shadow:0 0 0 3px rgba(255,255,255,.9);
}
.pda-account-widget.is-side-hidden .pda-account-toggle,
.pda-account-widget.is-side-hidden .pda-account-menu{
  opacity:0;
}
.pda-account-widget.is-side-hidden:hover{
  transform:translateX(calc(-100% + var(--pda-hidden-peek) + 4px));
}
@media(max-width:680px){
  .pda-floating-auth{
    --pda-hidden-peek:16px;
  }
  .pda-account-widget.is-side-hidden{
    width:58px!important;
    transform:translateX(calc(-100% + var(--pda-hidden-peek) + var(--pda-drag-x,0px)));
  }
}

/* v1.4 Stripe subscription cards */
.pda-stripe-plans{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  width:min(900px,100%);
  margin:25px auto;
}
.pda-stripe-plan{
  padding:28px;
  border:3px solid #e4e9f1;
  border-radius:25px;
  background:rgba(255,255,255,.97);
  color:#26355e;
  box-shadow:0 18px 45px rgba(35,45,80,.14);
}
.pda-stripe-plan.is-featured{
  border-color:#8f5be8;
  background:
    radial-gradient(circle at 85% 10%,rgba(255,209,102,.48),transparent 30%),
    linear-gradient(145deg,#f7f1ff,#f0fbff);
}
.pda-stripe-plan h3{
  margin:10px 0;
  color:#172254;
  font-size:34px;
}
.pda-stripe-plan p{
  margin:0 0 22px;
  color:#6f798c;
}
.pda-plan-kicker{
  color:#7042d3;
  font-size:11px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.pda-stripe-plan form,
.pda-plan-panel form{
  width:100%;
}
.pda-stripe-plan .pda-primary,
.pda-plan-panel .pda-primary{
  width:100%;
}
@media(max-width:700px){
  .pda-stripe-plans{grid-template-columns:1fr}
}


/* v1.10 story audio controls in floating widget — desktop, tablet and mobile */
.pda-story-audio{
  display:grid;
  gap:7px;
  margin:0 0 8px;
  padding:8px;
  border:1px solid #e4e8f1;
  border-radius:12px;
  background:linear-gradient(145deg,#f8f5ff,#eef9ff);
}
.pda-story-audio-title{
  color:#27345c;
  font-size:10px;
  font-weight:950;
}
.pda-story-audio-buttons{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:5px;
}
.pda-audio-btn{
  min-height:32px;
  padding:6px 7px;
  border:0;
  border-radius:9px;
  background:#ece9f8;
  color:#453a6d;
  cursor:pointer;
  font:inherit;
  font-size:9px;
  font-weight:900;
  line-height:1.15;
}
.pda-audio-btn:hover,
.pda-audio-btn:focus-visible{
  outline:none;
  background:#ded5ff;
}
.pda-audio-read{
  grid-column:1/-1;
  background:linear-gradient(135deg,#7350ef,#a148e8);
  color:#fff;
}
.pda-audio-stop{
  background:#fff0f1;
  color:#a93f4b;
}
.pda-audio-btn:disabled{
  cursor:not-allowed;
  opacity:.48;
}
.pda-story-audio-status{
  min-height:12px;
  color:#6f7890;
  font-size:8px;
  font-weight:800;
  line-height:1.25;
}

/* The expanded desktop panel must be wide enough to show the audio controls clearly. */
@media(min-width:1051px){
  .pda-account-widget.is-open{
    width:240px;
  }
  .pda-account-widget.is-open .pda-account-menu{
    max-height:520px;
  }
}
@media(max-width:680px){
  .pda-account-widget.is-open .pda-account-menu{
    max-height:520px;
  }
}




/* v1.12 — My Account floating button desktop behavior fix */
@media(min-width:1051px){
  /* Keep the existing desktop My Account button appearance. */
  .pda-floating-auth{
    left:var(--pda-account-left,2px);
    width:auto;
  }

  .pda-account-widget{
    width:114px;
    border-radius:18px;
  }

  /* Pressing My Account opens the complete account panel. */
  .pda-account-widget.is-open{
    width:246px;
    overflow:visible;
  }

  .pda-account-toggle{
    min-height:52px;
    grid-template-columns:32px minmax(0,1fr) 9px 0;
    gap:5px;
    padding:7px 8px;
  }

  .pda-account-widget.is-open .pda-account-toggle{
    grid-template-columns:32px minmax(0,1fr) 9px 9px;
    gap:7px;
    padding:7px 9px;
  }

  .pda-account-widget.is-open .pda-account-summary,
  .pda-account-widget.is-open .pda-account-online,
  .pda-account-widget.is-open .pda-account-offline,
  .pda-account-widget.is-open .pda-account-chevron{
    visibility:visible;
    opacity:1;
  }

  .pda-account-widget.is-open .pda-account-menu{
    display:grid;
    max-height:560px;
    padding:9px 10px 11px;
    overflow:auto;
    border-top-color:#e7ebf2;
    opacity:1;
    transform:translateY(0);
  }

  /* Ensure My Account links and story controls can be clicked on desktop. */
  .pda-account-widget.is-open,
  .pda-account-widget.is-open .pda-account-menu,
  .pda-account-widget.is-open .pda-account-menu *{
    pointer-events:auto;
  }
}


/* v1.14 reliable My Account menu + visible story reader */
.pda-account-widget.is-open{
  overflow:visible!important;
}
.pda-account-widget.is-open .pda-account-menu{
  display:grid!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
  transform:translateY(0)!important;
  max-height:620px!important;
  overflow:auto!important;
}

.pda-story-reader-fixed{
  position:sticky;
  z-index:99989;
  top:44px;
  left:auto;
  width:min(760px, calc(100% - 24px));
  margin:0 auto 14px;
  padding:10px 12px;
  border:2px solid rgba(112,66,211,.18);
  border-radius:16px;
  background:rgba(255,255,255,.98);
  color:#27345c;
  box-shadow:0 14px 34px rgba(35,45,80,.18);
  backdrop-filter:blur(12px);
}
body.admin-bar .pda-story-reader-fixed{
  top:76px;
}
.pda-story-reader-label{
  margin-bottom:7px;
  font-size:10px;
  font-weight:950;
}
.pda-story-reader-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
}
.pda-story-reader-actions button{
  min-height:34px;
  padding:7px 8px;
  border:0;
  border-radius:10px;
  background:#ebe8f7;
  color:#44386d;
  cursor:pointer;
  font:inherit;
  font-size:10px;
  font-weight:900;
}
.pda-story-reader-actions button:first-child{
  grid-column:1/-1;
  background:linear-gradient(135deg,#7350ef,#a148e8);
  color:#fff;
}
.pda-story-reader-actions button:last-child{
  background:#fff0f1;
  color:#a93f4b;
}
.pda-story-reader-actions button:disabled{
  opacity:.45;
  cursor:not-allowed;
}
.pda-story-reader-status{
  min-height:14px;
  margin-top:6px;
  color:#69748c;
  font-size:9px;
  font-weight:800;
  line-height:1.3;
}
@media(max-width:680px){
  .pda-story-reader-fixed{
    top:10px!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    width:calc(100% - 16px);
    margin:0 8px 10px;
  }
}


/* v1.15 mouse interaction and story-reader placement */
.pda-account-toggle{
  pointer-events:auto!important;
  cursor:pointer!important;
  touch-action:manipulation;
  user-select:none;
}
.pda-account-widget,
.pda-account-widget *{
  -webkit-tap-highlight-color:transparent;
}
.pda-story-reader-fixed{
  box-sizing:border-box;
  backdrop-filter:blur(12px);
}


/* v1.16 — Granny reader belongs above the story, never inside My Account */
.pda-account-menu > .pda-story-audio,
.pda-account-menu .pda-story-audio{
  display:none!important;
}


/* v1.20 STORY BOOK GLOBAL STYLE RESCUE */
/*
 * The [playdot_story] renderer contains its own <style> block, but on some
 * WordPress/Elementor/WPCode combinations inline styles returned by a
 * shortcode can be stripped or moved. These exact renderer styles are
 * loaded from the plugin stylesheet as a reliable fallback.
 */
.playdot-book-shell {
            position: relative;
            left: 50%;
            width: min(1280px, calc(100vw - 32px));
            margin: 45px 0;
            transform: translateX(-50%);
            font-family: Georgia, "Times New Roman", serif;
        }

        .playdot-book-frame {
            position: relative;
            padding: 18px;
            background:
                linear-gradient(145deg, #9a5f2f, #5c3218);
            border: 3px solid #4b2814;
            border-radius: 30px;
            box-shadow:
                0 26px 70px rgba(53, 29, 14, 0.32),
                inset 0 0 0 3px rgba(255, 218, 148, 0.2);
        }

        .playdot-book-frame::before,
        .playdot-book-frame::after {
            content: "";
            position: absolute;
            z-index: 4;
            width: 42px;
            height: 42px;
            border: 2px solid rgba(255, 221, 158, 0.65);
            pointer-events: none;
        }

        .playdot-book-frame::before {
            top: 8px;
            left: 8px;
            border-right: 0;
            border-bottom: 0;
            border-radius: 14px 0 0 0;
        }

        .playdot-book-frame::after {
            right: 8px;
            bottom: 8px;
            border-top: 0;
            border-left: 0;
            border-radius: 0 0 14px 0;
        }

        .playdot-book {
            position: relative;
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
            width: 100%;
            height: 720px;
            overflow: hidden;
            background: #fff4d8;
            border-radius: 20px;
        }

        .playdot-book::before {
            content: "";
            position: absolute;
            z-index: 6;
            top: 0;
            bottom: 0;
            left: 50%;
            width: 44px;
            transform: translateX(-50%);
            pointer-events: none;
            background: linear-gradient(
                90deg,
                rgba(68, 39, 18, 0),
                rgba(68, 39, 18, 0.17),
                rgba(255, 255, 255, 0.72),
                rgba(68, 39, 18, 0.15),
                rgba(68, 39, 18, 0)
            );
        }

        .playdot-book-page {
            position: relative;
            min-width: 0;
            overflow: hidden;
            box-sizing: border-box;
            background:
                radial-gradient(
                    circle at 20% 16%,
                    rgba(255,255,255,0.72),
                    transparent 28%
                ),
                repeating-linear-gradient(
                    0deg,
                    rgba(125, 88, 45, 0.025),
                    rgba(125, 88, 45, 0.025) 1px,
                    transparent 1px,
                    transparent 5px
                ),
                #fff7e7;
        }

        .playdot-book-left {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 42px 44px 36px;
            text-align: center;
            border-right: 1px solid rgba(98, 61, 31, 0.12);
        }

        .playdot-book-right {
            display: flex;
            flex-direction: column;
            padding: 40px 48px 30px 54px;
        }

        .playdot-page-decoration {
            position: absolute;
            inset: 22px;
            pointer-events: none;
            border: 1px solid rgba(179, 117, 50, 0.35);
            border-radius: 8px;
        }

        .playdot-page-decoration::before,
        .playdot-page-decoration::after {
            content: "\2767";
            position: absolute;
            color: rgba(177, 112, 45, 0.72);
            font-size: 30px;
        }

        .playdot-page-decoration::before {
            top: 5px;
            left: 10px;
        }

        .playdot-page-decoration::after {
            right: 10px;
            bottom: 5px;
            transform: rotate(180deg);
        }

        .playdot-book-label {
            position: relative;
            z-index: 2;
            display: inline-block;
            margin-bottom: 22px;
            padding: 12px 28px;
            color: #663a20;
            background: linear-gradient(180deg, #ffe8b9, #e9bd76);
            border: 1px solid #c5904f;
            border-radius: 50% 50% 18px 18px;
            box-shadow: 0 8px 18px rgba(91, 49, 20, 0.16);
            font-family: Arial, sans-serif;
            font-size: 14px;
            font-weight: 800;
            letter-spacing: 1.2px;
            text-transform: uppercase;
        }

        .playdot-illustration-frame {
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: center;
            width: min(100%, 360px);
            aspect-ratio: 1 / 1;
            height: auto;
            margin: 0 auto 24px;
            overflow: hidden;
            border: 9px solid #f6d6a0;
            border-radius: 40px;
            background: #efe4cf;
            box-shadow:
                0 18px 34px rgba(73, 40, 19, 0.18),
                inset 0 0 38px rgba(255,255,255,0.3);
        }

        .playdot-illustration-frame::before,
        .playdot-illustration-frame::after {
            content: "";
            position: absolute;
            border-radius: 50%;
            background: rgba(255,255,255,0.18);
        }

        .playdot-illustration-frame::before {
            width: 190px;
            height: 190px;
            top: -70px;
            left: -50px;
        }

        .playdot-illustration-frame::after {
            width: 170px;
            height: 170px;
            right: -40px;
            bottom: -50px;
        }

        .playdot-illustration {
            position: relative;
            z-index: 2;
            font-family: Arial, sans-serif;
            font-size: 150px;
            line-height: 1;
            filter: drop-shadow(0 14px 13px rgba(48, 29, 15, 0.2));
            animation: playdotFloat 4s ease-in-out infinite;
        }

        .playdot-cover-image {
            position: absolute;
            inset: 0;
            z-index: 3;
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center center;
            display: block;
            background: #efe4cf;
        }

        .playdot-illustration-frame.has-cover::before,
        .playdot-illustration-frame.has-cover::after {
            display: none;
        }

        @keyframes playdotFloat {
            0%, 100% {
                transform: translateY(0) rotate(-2deg);
            }

            50% {
                transform: translateY(-10px) rotate(2deg);
            }
        }

        .playdot-theme-magic .playdot-illustration-frame {
            background: linear-gradient(145deg, #b8a3ff, #ffd3ec);
        }

        .playdot-theme-space .playdot-illustration-frame {
            background: linear-gradient(145deg, #182451, #795ad1);
        }

        .playdot-theme-dinosaur .playdot-illustration-frame {
            background: linear-gradient(145deg, #99d77a, #f0ce66);
        }

        .playdot-theme-princess .playdot-illustration-frame {
            background: linear-gradient(145deg, #ffb8d9, #d3c0ff);
        }

        .playdot-theme-pirate .playdot-illustration-frame {
            background: linear-gradient(145deg, #64bdc3, #e7b85f);
        }

        .playdot-theme-ocean .playdot-illustration-frame {
            background: linear-gradient(145deg, #70d3ea, #3f74bc);
        }

        .playdot-theme-forest .playdot-illustration-frame {
            background: linear-gradient(145deg, #74bd78, #d4bc67);
        }

        .playdot-theme-dragon .playdot-illustration-frame {
            background: linear-gradient(145deg, #315d39, #d79a4b);
        }

        .playdot-theme-unicorn .playdot-illustration-frame {
            background: linear-gradient(145deg, #ffc9ea, #9cd1ff);
        }

        .playdot-theme-christmas .playdot-illustration-frame {
            background: linear-gradient(145deg, #184b39, #a91f2d);
        }

        .playdot-dedication {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
            margin: 0 0 8px;
            padding: 0;
        }

        .playdot-book-for {
            position: relative;
            z-index: 2;
            margin: 0 !important;
            padding: 0;
            color: #845738;
            font-family: Arial, sans-serif;
            font-size: 14px;
            font-weight: 800;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .playdot-child-name {
            position: relative;
            z-index: 2;
            margin: 0 !important;
            padding: 0;
            color: #4f2d1a;
            font-size: 44px;
            line-height: 1.05;
        }

        
        .playdot-cover-footer {
            position: absolute;
            z-index: 3;
            right: 44px;
            bottom: 38px;
            left: 44px;
            display: flex;
            flex-direction: column;
            align-items: center;
            box-sizing: border-box;
        }

.playdot-story-details{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:10px;
    width:100%;
    max-width:390px;
    margin:0 auto;
    box-sizing:border-box;
}

.playdot-detail{
    position:relative;
    box-sizing:border-box;
    width:100%;
    min-width:0;
    height:58px;
    padding:8px 7px 7px 28px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:#5f3924;
    background:rgba(255,255,255,.88);
    border:1px solid rgba(132,84,43,.22);
    border-radius:13px;
    box-shadow:0 4px 10px rgba(76,43,21,.08);
    font-size:13px;
    line-height:1.15;
    overflow:hidden;
    overflow-wrap:anywhere;
}

        .playdot-detail::before {
            position: absolute;
            top: 50%;
            left: 8px;
            width: 16px;
            color: #b77835;
            font-size: 14px;
            line-height: 1;
            text-align: center;
            transform: translateY(-50%);
        }

        .playdot-detail-age::before {
            content: "\25C7";
        }

        .playdot-detail-theme::before {
            content: "\2726";
        }

        .playdot-detail-character::before {
            content: "\265B";
        }

        .playdot-detail strong {
            display: block;
            margin: 0 0 3px;
            color: #8b5d3d;
            font-size: 9px;
            font-weight: 800;
            letter-spacing: 0.55px;
            line-height: 1;
            text-transform: uppercase;
        }

        .playdot-story-title {
            position: relative;
            z-index: 2;
            flex: 0 0 auto;
            margin: 0 0 22px;
            padding: 0 20px 20px;
            color: #4b2a18;
            font-size: clamp(30px, 3vw, 46px);
            line-height: 1.06;
            text-align: center;
            overflow-wrap: break-word;
        }

        .playdot-story-title::after {
            content: "\2014  \2726  \2767  \2726  \2014";
            position: absolute;
            right: 0;
            bottom: 0;
            left: 0;
            color: #bd8040;
            font-family: Arial, sans-serif;
            font-size: 13px;
            letter-spacing: 4px;
        }

        .playdot-story-pages {
            position: relative;
            z-index: 2;
            flex: 1 1 auto;
            min-height: 0;
            overflow: hidden;
        }

        .playdot-story-page {
            display: none;
            height: 100%;
            overflow-y: auto;
            overflow-x: hidden;
            padding-right: 12px;
            box-sizing: border-box;
            color: #4c3a2e;
            font-size: 17px;
            line-height: 1.62;
            scrollbar-width: thin;
            scrollbar-color: rgba(139, 87, 46, 0.55) transparent;
        }

        .playdot-story-page::-webkit-scrollbar {
            width: 8px;
        }

        .playdot-story-page::-webkit-scrollbar-track {
            background: transparent;
        }

        .playdot-story-page::-webkit-scrollbar-thumb {
            background: rgba(139, 87, 46, 0.45);
            border-radius: 999px;
        }

        .playdot-story-page.is-active {
            display: block;
        }

        .playdot-story-page.is-measuring {
            position: absolute;
            inset: 0;
            display: block;
            visibility: hidden;
            pointer-events: none;
            overflow: hidden;
        }

        .playdot-story-load-error {
            margin: 30px;
            color: #8b2f2f;
            font-family: Arial, sans-serif;
            font-weight: 700;
            text-align: center;
        }

        .playdot-story-page p {
            margin: 0 0 1.15em;
        }

        .playdot-story-page.is-first p:first-child::first-letter {
            float: left;
            margin: 8px 10px 0 0;
            color: #b36a26;
            font-size: 74px;
            font-weight: 700;
            line-height: 0.72;
        }

        .playdot-page-footer {
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex: 0 0 auto;
            margin-top: 18px;
            padding-top: 12px;
            border-top: 1px solid rgba(139, 88, 44, 0.18);
            font-family: Arial, sans-serif;
        }

        .playdot-page-nav {
            min-width: 95px;
            padding: 9px 14px;
            border: 0;
            border-radius: 10px;
            color: #ffffff;
            background: #8b572e;
            font-weight: 700;
            cursor: pointer;
        }

        .playdot-page-nav:disabled {
            opacity: 0.35;
            cursor: not-allowed;
        }

        .playdot-page-number {
            color: #906242;
            font-size: 13px;
            font-weight: 700;
        }

        .playdot-book-actions {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 12px;
            max-width: 1100px;
            margin: 22px auto 0;
            font-family: Arial, sans-serif;
        }

        .playdot-book-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 50px;
            padding: 12px 22px;
            border: 0;
            border-radius: 13px;
            color: #ffffff !important;
            font-size: 15px;
            font-weight: 700;
            line-height: 1.2;
            text-decoration: none !important;
            cursor: pointer;
            box-shadow: 0 8px 18px rgba(32, 31, 29, 0.13);
            transition:
                transform 0.18s ease,
                box-shadow 0.18s ease;
        }

        .playdot-book-button:hover {
            color: #ffffff !important;
            transform: translateY(-2px);
            box-shadow: 0 12px 24px rgba(32, 31, 29, 0.18);
        }

        .playdot-create-button {
            background: #2563eb;
        }

        .playdot-print-button {
            background: #14966b;
        }

        .playdot-pdf-button {
            background: #7646c9;
        }

        .playdot-register-button {
            background: #e69619;
        }

        .playdot-story-missing {
            max-width: 700px;
            margin: 70px auto;
            padding: 45px;
            text-align: center;
            background: #fffaf0;
            border-radius: 24px;
            box-shadow: 0 15px 40px rgba(70, 38, 17, 0.12);
        }

        .playdot-story-missing a {
            display: inline-block;
            margin-top: 15px;
            padding: 12px 20px;
            color: white;
            background: #2563eb;
            border-radius: 10px;
            text-decoration: none;
        }

        .playdot-missing-icon {
            font-size: 58px;
        }

        @media (max-width: 950px) {
            .playdot-book-shell {
                left: auto;
                width: 100%;
                max-width: 760px;
                margin: 30px auto;
                padding: 0 10px;
                transform: none;
            }

            .playdot-book {
                display: block;
                height: auto;
                overflow: visible;
            }

            .playdot-book::before {
                display: none;
            }

            .playdot-book-left,
            .playdot-book-right {
                min-height: 650px;
            }

            .playdot-book-left {
                padding: 38px 26px;
                border-right: 0;
                border-bottom: 1px solid rgba(98, 61, 31, 0.12);
            }

            .playdot-cover-footer {
                position: relative;
                right: auto;
                bottom: auto;
                left: auto;
                margin-top: 28px;
            }

            .playdot-book-right {
                padding: 40px 30px 28px;
            }

            .playdot-story-pages {
                min-height: 500px;
            }
        }

        @media (max-width: 600px) {
            .playdot-book-shell {
                width: 100%;
                padding: 0 6px;
            }

            .playdot-book-frame {
                padding: 7px;
                border-radius: 20px;
            }

            .playdot-book {
                border-radius: 14px;
            }

            .playdot-book-left,
            .playdot-book-right {
                min-height: auto;
            }

            .playdot-book-left {
                padding: 30px 20px;
            }

            .playdot-book-right {
                padding: 32px 20px 24px;
            }

            .playdot-illustration-frame {
                width: min(100%, 300px);
                height: auto;
                aspect-ratio: 1 / 1;
            }

            .playdot-illustration {
                font-size: 105px;
            }

            .playdot-dedication {
                gap: 6px;
                margin-bottom: 7px;
            }

            .playdot-child-name {
                margin: 0 !important;
                font-size: 34px;
            }

            .playdot-story-details {
                grid-template-columns: repeat(3, minmax(0, 1fr));
                width: 100%;
                max-width: 340px;
                gap: 6px;
            }

            .playdot-detail {
                height: 56px;
                padding: 7px 5px 6px 23px;
                border-radius: 11px;
                font-size: 10.5px;
            }

            .playdot-detail::before {
                left: 5px;
                width: 13px;
                font-size: 12px;
            }

            .playdot-detail strong {
                margin-bottom: 3px;
                font-size: 7.5px;
                letter-spacing: 0.4px;
            }

            .playdot-story-title {
                padding-right: 0;
                padding-left: 0;
                font-size: 34px;
            }

            .playdot-story-page {
                font-size: 17px;
                line-height: 1.68;
            }

            .playdot-story-pages {
                min-height: 560px;
            }

            .playdot-page-nav {
                min-width: 78px;
                font-size: 12px;
            }
        }

        @media print {
            body * {
                visibility: hidden;
            }

            .playdot-book-shell,
            .playdot-book-shell * {
                visibility: visible;
            }

            .playdot-book-shell {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                max-width: none;
                margin: 0;
                transform: none;
            }

            .playdot-book-frame {
                padding: 0;
                border: 0;
                box-shadow: none;
            }

            .playdot-book {
                display: block;
                height: auto;
                overflow: visible;
            }

            .playdot-book::before,
            .playdot-book-actions,
            .playdot-page-footer {
                display: none !important;
            }

            .playdot-story-page {
                display: block !important;
                height: auto;
                page-break-after: always;
            }
        }


/* v1.21 account dashboard sections */
.pda-account-tabs{
  position:sticky;
  top:18px;
  z-index:20;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 22px;
  padding:8px;
  border:1px solid rgba(90,83,160,.16);
  border-radius:16px;
  background:rgba(255,255,255,.94);
  box-shadow:0 8px 22px rgba(28,39,75,.08);
  backdrop-filter:blur(12px);
}
body.admin-bar .pda-account-tabs{top:50px}
.pda-account-tabs a{
  flex:1 1 150px;
  padding:10px 14px;
  border-radius:11px;
  color:#394465;
  text-align:center;
  text-decoration:none;
  font-weight:900;
}
.pda-account-tabs a:hover,
.pda-account-tabs a:focus{
  background:#f0ecff;
  color:#6d45e7;
}
.pda-account-section{
  scroll-margin-top:110px;
  margin-bottom:26px;
}
.pda-account-feature-section{
  padding:24px;
  border:1px solid rgba(90,83,160,.14);
  border-radius:22px;
  background:linear-gradient(145deg,#fff,#f8fbff);
  box-shadow:0 12px 30px rgba(28,39,75,.07);
}
.pda-section-heading{margin-bottom:18px}
.pda-section-heading h2{
  margin:5px 0 0;
  color:#24345f;
  font-size:clamp(20px,2.2vw,30px);
  line-height:1.15;
}
.pda-progress-grid,
.pda-settings-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.pda-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.pda-stat-card{
  display:flex;
  min-height:126px;
  flex-direction:column;
  justify-content:center;
  padding:20px;
  border:1px solid rgba(100,86,190,.13);
  border-radius:18px;
  background:#fff;
}
.pda-stat-card strong{
  color:#6d45e7;
  font-size:30px;
  line-height:1;
}
.pda-stat-card span{
  margin-top:8px;
  color:#66728b;
  font-weight:800;
}
.pda-achievement-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.pda-achievement{
  display:flex;
  gap:14px;
  padding:18px;
  border:1px solid rgba(100,86,190,.13);
  border-radius:18px;
  background:#fff;
}
.pda-achievement.is-locked{opacity:.58}
.pda-achievement-icon{
  display:grid;
  width:44px;
  height:44px;
  flex:0 0 44px;
  place-items:center;
  border-radius:14px;
  background:#f2ecff;
  color:#7654ee;
  font-size:24px;
}
.pda-achievement strong{color:#27365c}
.pda-achievement p{margin:5px 0;color:#6b7690}
.pda-achievement-state{
  display:inline-block;
  margin-top:5px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.pda-achievement.is-unlocked .pda-achievement-state{color:#15865f}
.pda-danger-panel{
  margin-top:18px;
  padding:22px;
  border:1px solid rgba(190,61,78,.2);
  border-radius:20px;
  background:linear-gradient(145deg,#fffafb,#fff3f5);
}
.pda-danger-panel h3{margin:6px 0;color:#812f3a;font-size:22px}
.pda-danger-panel p{max-width:820px;color:#76575e}
.pda-delete-form{
  display:grid;
  max-width:620px;
  gap:12px;
  margin-top:16px;
}
.pda-delete-form label>span:first-child{
  display:block;
  margin-bottom:6px;
  font-weight:800;
  color:#473b55;
}
.pda-delete-form input[type=password]{
  width:100%;
  padding:12px 14px;
  border:1px solid rgba(130,90,110,.24);
  border-radius:12px;
  background:#fff;
}
.pda-danger-button{
  width:max-content;
  padding:11px 16px;
  border:0;
  border-radius:12px;
  background:#a83f50;
  color:#fff;
  cursor:pointer;
  font-weight:900;
}
.pda-delete-form small{color:#856d73}
.pda-recovery-card{max-width:680px!important}

@media(max-width:760px){
  .pda-progress-grid,
  .pda-settings-grid,
  .pda-achievement-grid{grid-template-columns:1fr}
  .pda-account-tabs{position:relative;top:auto}
  body.admin-bar .pda-account-tabs{top:auto}
}




/* v1.24 My Account header dropdown — Elementor/WordPress specific */
@media (min-width: 769px) {

  /* The submenu itself */
  body.playdot-user-logged-in .elementor-nav-menu--main .elementor-nav-menu > li.menu-item-has-children > ul.sub-menu:has(li.playdot-account-subitem),
  body.playdot-user-logged-in .elementor-nav-menu--dropdown .elementor-nav-menu > li.menu-item-has-children > ul.sub-menu:has(li.playdot-account-subitem),
  body.playdot-user-logged-in ul.sub-menu:has(> li.playdot-account-subitem) {
    width: 330px !important;
    min-width: 330px !important;
    padding: 10px !important;
    background: #ffffff !important;
    border: 1px solid #e8e3fb !important;
    border-radius: 22px !important;
    box-shadow: 0 24px 55px rgba(28, 37, 77, .20) !important;
    overflow: hidden !important;
  }

  /* Reset theme/Elementor styles on our rows */
  body.playdot-user-logged-in li.playdot-account-subitem,
  body.playdot-user-logged-in .elementor-nav-menu li.playdot-account-subitem {
    display: block !important;
    width: 100% !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
  }

  body.playdot-user-logged-in li.playdot-account-subitem:last-child {
    margin-bottom: 0 !important;
  }

  body.playdot-user-logged-in li.playdot-account-subitem > a,
  body.playdot-user-logged-in li.playdot-account-subitem > a.elementor-sub-item,
  body.playdot-user-logged-in .elementor-nav-menu li.playdot-account-subitem > a,
  body.playdot-user-logged-in .elementor-nav-menu li.playdot-account-subitem > a.elementor-sub-item {
    display: flex !important;
    width: 100% !important;
    min-height: 56px !important;
    box-sizing: border-box !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 12px !important;
    margin: 0 !important;

    color: #2c385d !important;
    background: #ffffff !important;
    border: 1px solid transparent !important;
    border-radius: 14px !important;

    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    text-decoration-line: none !important;

    transition:
      background .18s ease,
      border-color .18s ease,
      color .18s ease,
      transform .18s ease !important;
  }

  body.playdot-user-logged-in li.playdot-account-subitem > a:hover,
  body.playdot-user-logged-in li.playdot-account-subitem > a:focus,
  body.playdot-user-logged-in li.playdot-account-subitem > a.elementor-sub-item:hover,
  body.playdot-user-logged-in li.playdot-account-subitem > a.elementor-sub-item:focus {
    color: #4f37bd !important;
    background: linear-gradient(135deg, #f2efff 0%, #f7fbff 100%) !important;
    border-color: #e5defc !important;
    text-decoration: none !important;
    transform: translateX(2px) !important;
  }

  body.playdot-user-logged-in .playdot-menu-icon {
    display: grid !important;
    width: 36px !important;
    height: 36px !important;
    flex: 0 0 36px !important;
    place-items: center !important;
    margin: 0 !important;

    color: #ffffff !important;
    background: linear-gradient(135deg, #556af0 0%, #8b4be6 100%) !important;
    border-radius: 11px !important;
    box-shadow: 0 7px 16px rgba(83, 76, 207, .20) !important;

    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-decoration: none !important;
  }

  body.playdot-user-logged-in .playdot-menu-label {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    color: inherit !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }

  /* Separate Log out like the floating card */
  body.playdot-user-logged-in li.playdot-account-subitem.playdot-logout {
    margin-top: 8px !important;
    padding-top: 8px !important;
    border-top: 1px solid #edf0f6 !important;
  }

  body.playdot-user-logged-in li.playdot-account-subitem.playdot-logout > a {
    color: #b64050 !important;
  }

  body.playdot-user-logged-in li.playdot-account-subitem.playdot-logout .playdot-menu-icon {
    background: linear-gradient(135deg, #d66a78 0%, #b63f53 100%) !important;
  }

  body.playdot-user-logged-in li.playdot-account-subitem.playdot-logout > a:hover,
  body.playdot-user-logged-in li.playdot-account-subitem.playdot-logout > a:focus {
    color: #9f3344 !important;
    background: #fff4f6 !important;
    border-color: #f4d7dd !important;
  }
}

/* If the theme opens this same submenu in tablet/mobile, keep it clean there too */
@media (max-width: 768px) {
  body.playdot-user-logged-in li.playdot-account-subitem > a,
  body.playdot-user-logged-in li.playdot-account-subitem > a.elementor-sub-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 14px !important;
    text-decoration: none !important;
  }

  body.playdot-user-logged-in .playdot-menu-icon {
    display: grid !important;
    width: 32px !important;
    height: 32px !important;
    flex: 0 0 32px !important;
    place-items: center !important;
    color: #fff !important;
    background: linear-gradient(135deg, #556af0, #8b4be6) !important;
    border-radius: 10px !important;
  }

  body.playdot-user-logged-in .playdot-menu-label {
    text-decoration: none !important;
  }
}


/* v1.25 Create Story -> My Library uses the exact My Account submenu design */
@media (min-width: 769px) {
  body.playdot-user-logged-in li.playdot-create-story-subitem .playdot-library-menu-icon {
    background: linear-gradient(135deg, #556af0 0%, #8b4be6 100%) !important;
  }

  body.playdot-user-logged-in ul.sub-menu:has(> li.playdot-create-story-subitem) {
    width: 330px !important;
    min-width: 330px !important;
  }
}
