
.efy-lyrics-shell{
  --efy-pink:#F6D6E6;
  --efy-pink-strong:#EE8FB8;
  --efy-pink-soft:#FFF4F8;
  --efy-blue:#D6EAF8;
  --efy-blue-soft:#F2F8FD;
  --efy-white:#FFFFFF;
  --efy-text:#1F2740;
  --efy-muted:#657089;
  --efy-btn:#E8AFCF;
  --efy-border:rgba(31,39,64,.08);
  --efy-shadow:0 18px 50px rgba(31,39,64,.08);
  background:linear-gradient(90deg,var(--efy-pink) 0%, #F8EEF4 44%, var(--efy-blue) 100%);
  border-radius:30px;
  padding:24px;
  box-shadow:var(--efy-shadow);
  overflow:hidden;
  position:relative;
}
.efy-lyrics-shell *{box-sizing:border-box}
.efy-lyrics-card,.efy-output-card{
  background:rgba(255,255,255,.86);
  backdrop-filter:blur(4px);
  border:1px solid rgba(255,255,255,.72);
  border-radius:28px;
  box-shadow:0 16px 40px rgba(31,39,64,.05);
}
.efy-lyrics-card{padding:24px}
.efy-output-card{padding:24px;margin-top:20px}
.efy-kicker{
  display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border-radius:999px;
  background:rgba(255,255,255,.78);color:#EF7EAE;font-size:14px;font-weight:700;margin-bottom:16px;
}
.efy-kicker-heart{font-size:18px;line-height:1}
.efy-title{
  margin:0 0 10px;font-size:48px;line-height:1.02;color:var(--efy-text);font-weight:700;letter-spacing:-.03em;
  max-width:760px;font-family:Georgia,"Times New Roman",serif;
}
.efy-intro{margin:0 0 18px;color:var(--efy-muted);font-size:19px;line-height:1.55;max-width:760px}
.efy-form-intro-panel{
  display:flex;justify-content:space-between;gap:18px;align-items:flex-start;
  background:linear-gradient(135deg, rgba(246,214,230,.65), rgba(214,234,248,.55));
  border:1px solid rgba(255,255,255,.7);border-radius:24px;padding:18px 18px 16px;margin:0 0 16px;
}
.efy-form-intro-copy h3{margin:0 0 6px;font-size:24px;line-height:1.15;color:var(--efy-text);font-family:Georgia,"Times New Roman",serif}
.efy-form-intro-copy p{margin:0;color:var(--efy-muted);font-size:15px;line-height:1.5;max-width:620px}
.efy-form-intro-badges{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.efy-form-intro-badges span{
  display:inline-flex;align-items:center;padding:9px 12px;border-radius:999px;background:rgba(255,255,255,.8);
  color:#7b4a63;font-size:13px;font-weight:700;border:1px solid rgba(255,255,255,.75);
}
.efy-section-card{
  padding:18px;border-radius:24px;margin:0 0 16px;
  background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(251,248,250,.88));
  border:1px solid rgba(31,39,64,.06);
}
.efy-section-head{display:flex;gap:12px;align-items:flex-start;margin-bottom:14px}
.efy-section-step{
  width:34px;height:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
  background:linear-gradient(180deg,#f6b7d3,#e89ec2);color:#fff;font-size:15px;font-weight:700;flex:0 0 34px;
}
.efy-section-head h4{margin:0 0 3px;color:var(--efy-text);font-size:22px;line-height:1.15;font-family:Georgia,"Times New Roman",serif}
.efy-section-head p{margin:0;color:var(--efy-muted);font-size:14px;line-height:1.45}
.efy-admin-warning,.efy-status{border-radius:18px;padding:14px 16px;font-size:15px;margin-bottom:16px}
.efy-admin-warning{background:#fff0f3;color:#9f3458;border:1px solid #f4bfd0}
.efy-status{display:none;background:#eff8ff;color:#235b85;border:1px solid #c9e5fb}
.efy-status.efy-error{display:block;background:#fff1f1;color:#9e3b3b;border-color:#f4c7c7}
.efy-status.efy-success,.efy-status.efy-loading{display:block}
.efy-grid{display:grid;gap:16px}
.efy-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.efy-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.efy-field{margin-bottom:14px}
.efy-field label,.efy-check{display:block;color:var(--efy-text);font-size:15px;font-weight:700;margin-bottom:7px}
.efy-field input,.efy-field select,.efy-field textarea{
  width:100%;border:1px solid rgba(111,129,162,.16);border-radius:18px;padding:15px 16px;color:var(--efy-text);
  font-size:16px;transition:.2s ease;box-shadow:inset 0 1px 0 rgba(255,255,255,.5);
}
.efy-field input,.efy-field textarea{background:linear-gradient(180deg,var(--efy-pink-soft),#fff)}
.efy-field select{background:linear-gradient(180deg,var(--efy-blue-soft),#fff);padding-right:42px;line-height:1.35;min-height:54px}
.efy-field textarea{resize:vertical;min-height:118px}
.efy-field input:focus,.efy-field select:focus,.efy-field textarea:focus{outline:none;border-color:#e8afcf;box-shadow:0 0 0 4px rgba(232,175,207,.22)}
.efy-check-grid{margin-bottom:2px}
.efy-check{
  display:flex;align-items:center;gap:10px;margin:0;padding:14px 15px;border-radius:18px;
  background:linear-gradient(180deg, rgba(246,214,230,.34), rgba(214,234,248,.22));border:1px solid rgba(31,39,64,.06);
}
.efy-check input{margin:0}
.efy-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-top:8px}
.efy-primary-btn,.efy-secondary-btn{border:none;border-radius:999px;padding:17px 28px;font-size:18px;font-weight:700;cursor:pointer;transition:.2s ease}
.efy-primary-btn{background:linear-gradient(180deg,var(--efy-pink-strong),var(--efy-btn));color:#fff;box-shadow:0 12px 24px rgba(238,143,184,.28)}
.efy-primary-btn:hover{transform:translateY(-1px);box-shadow:0 16px 28px rgba(238,143,184,.32)}
.efy-secondary-btn{background:#fff;color:#397ad8;border:1px solid rgba(57,122,216,.15)}
.efy-secondary-btn:hover{background:#f8fbff}
.efy-output-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;align-items:center;margin-bottom:16px}
.efy-output-top h3{margin:0;font-size:30px;color:var(--efy-text);font-family:Georgia,"Times New Roman",serif}
.efy-lyrics-output{color:var(--efy-text);font-size:18px;line-height:1.8;background:linear-gradient(180deg, rgba(246,214,230,.18), rgba(214,234,248,.12));padding:18px;border-radius:18px;border:1px solid rgba(31,39,64,.05)}
.efy-lyrics-output p{margin:0 0 14px}
@media (max-width: 900px){
  .efy-title{font-size:40px}
  .efy-intro{font-size:17px}
  .efy-form-intro-panel{flex-direction:column}
  .efy-form-intro-badges{justify-content:flex-start}
  .efy-grid-2,.efy-grid-3{grid-template-columns:1fr}
}
@media (max-width: 640px){
  .efy-lyrics-shell{padding:14px;border-radius:22px}
  .efy-lyrics-card,.efy-output-card{padding:16px;border-radius:22px}
  .efy-title{font-size:32px}
  .efy-intro{font-size:16px;margin-bottom:16px}
  .efy-form-intro-copy h3{font-size:22px}
  .efy-section-card{padding:14px}
  .efy-section-head h4{font-size:20px}
  .efy-primary-btn,.efy-secondary-btn{width:100%;justify-content:center;text-align:center;font-size:17px;padding:15px 20px}
  .efy-output-top h3{font-size:25px}
  .efy-lyrics-output{font-size:17px;line-height:1.72;padding:15px}
}

.efy-field select{white-space:normal;height:auto;min-height:56px;line-height:1.3;padding-top:14px;padding-bottom:14px;background-position:right 16px center;}
.efy-style-notes-field textarea{min-height:110px;}



.efy-lyrics-shell{
  padding:20px;
}
.efy-section-card{
  margin:0 0 14px;
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,242,246,.9));
}
.efy-section-head{
  padding-bottom:10px;
  border-bottom:1px solid rgba(31,39,64,.06);
  margin-bottom:12px;
}
@media (max-width: 900px){
  
}
@media (max-width: 640px){
  
  .efy-lyrics-shell{padding:14px;}
}


/* Single mobile width rule - desktop unchanged */
@media (max-width: 640px){
  .efy-wrapper{
    width:100vw !important;
    max-width:100vw !important;
    margin-left:calc(50% - 50vw) !important;
    margin-right:calc(50% - 50vw) !important;
    padding:0 !important;
    box-sizing:border-box !important;
  }

  .efy-lyrics-shell{
    padding:0 !important;
    border-radius:0 !important;
  }

  .efy-lyrics-card,
  .efy-output-card{
    margin:0 !important;
  }
}


/* Remove top gap under header - mobile only */
@media (max-width: 640px){
  .efy-wrapper{
    margin-top:0 !important;
  }
  .efy-lyrics-shell{
    margin-top:0 !important;
  }
}


/* Remove rounded corners - mobile only */
@media (max-width: 640px){
  .efy-lyrics-shell,
  .efy-lyrics-card,
  .efy-output-card,
  .efy-form-intro-panel,
  .efy-section-card{
    border-radius:0 !important;
  }
}


/* Remove outer container effect - mobile only */
@media (max-width: 640px){
  .efy-wrapper,
  .efy-lyrics-shell{
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
}


/* FINAL mobile top colour fix */
@media (max-width: 640px){
  .efy-wrapper,
  .efy-lyrics-shell{
    background:#ffffff !important;
    border-radius:0 !important;
    padding:0 !important;
  }
}


/* Mobile shell whiteout only */
@media (max-width: 640px){
  .efy-lyrics-shell{
    background:#ffffff !important;
    box-shadow:none !important;
    border-radius:0 !important;
  }
}


/* Center heading and add spacing (ALL devices) */
.efy-lyrics-card h2,
.efy-lyrics-card h1{
  text-align:center !important;
  display:block !important;
  width:100% !important;
  margin:0 auto 20px auto !important;
}


/* Make heading pink */
.efy-lyrics-card h2,
.efy-lyrics-card h1{
  color:#EA2AAE !important;
}


/* FORCE pink heading on ALL views */
.efy-lyrics-card h1,
.efy-lyrics-card h2,
.efy-lyrics-shell h1,
.efy-lyrics-shell h2{
  color:#EA2AAE !important;
}


/* Stage 2 song section - locked UI preserved */
.efy-song-builder{margin-top:24px;}
.efy-song-builder-inner{margin-top:18px;padding-top:18px;border-top:1px solid rgba(31,39,64,.08);}
.efy-song-title{margin:0 0 8px;color:var(--efy-text);font-size:24px;line-height:1.15;font-family:Georgia,"Times New Roman",serif;}
.efy-song-intro{margin:0 0 14px;color:var(--efy-muted);font-size:15px;line-height:1.55;}
.efy-song-grid{margin-bottom:12px;}
.efy-song-pills-gap{margin-bottom:14px;}
.efy-song-actions{margin-top:8px;margin-bottom:10px;}
.efy-song-result{margin-top:14px;}
#efy-song-player{width:100%;display:block;margin:0 0 12px;}
.efy-song-links{display:flex;flex-wrap:wrap;gap:10px;}
.efy-download-link{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:999px;background:#fff;color:#397ad8;border:1px solid rgba(57,122,216,.15);font-size:16px;font-weight:700;text-decoration:none;}
.efy-download-link:hover{background:#f8fbff;}
@media (max-width:640px){.efy-song-links{flex-direction:column;}.efy-download-link{width:100%;}}

.efy-test-mode-notice{margin:10px 0 16px;padding:10px 14px;border-radius:999px;background:#fff0f7;border:1px solid #f2b9d5;color:#b01268;font-weight:700;font-size:13px;display:inline-block;}

.efy-preview-meta,
.efy-preview-decision,
.efy-checkout-panel,
.efy-final-result{
  margin-top:16px;
  padding:18px;
  border-radius:20px;
  background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(246,248,252,.92));
  border:1px solid rgba(31,39,64,.07);
}
.efy-preview-meta{
  color:var(--efy-muted);
  font-size:14px;
  line-height:1.45;
}
.efy-preview-decision h5{
  margin:0 0 8px;
  color:var(--efy-text);
  font-size:22px;
  line-height:1.15;
  font-family:Georgia,"Times New Roman",serif;
}
.efy-preview-decision p{
  margin:0 0 12px;
  color:var(--efy-muted);
  font-size:15px;
  line-height:1.55;
}
.efy-checkout-price-box{
  display:flex;
  flex-direction:column;
  justify-content:center;
  border-radius:18px;
  padding:16px;
  background:linear-gradient(135deg, rgba(246,214,230,.58), rgba(214,234,248,.4));
  border:1px solid rgba(31,39,64,.06);
}
.efy-checkout-price-label{
  color:var(--efy-muted);
  font-size:14px;
  margin-bottom:4px;
}
#efy-checkout-price-display{
  color:var(--efy-text);
  font-size:28px;
  line-height:1.1;
  font-family:Georgia,"Times New Roman",serif;
}
.efy-voucher-disabled{opacity:.55}
#efy-final-player{width:100%;display:block;margin:0 0 12px}
.efy-download-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
  background:#fff;
  color:#397ad8;
  border:1px solid rgba(57,122,216,.15);
}
.efy-download-link:hover{background:#f8fbff}


.efy-full-progress{
  margin:14px 0 0;
  padding:14px 16px;
  border-radius:18px;
  background:#eef8ff;
  border:1px solid rgba(41,158,210,.22);
}
.efy-full-progress-label{
  margin:0 0 10px;
  color:#1b5f90;
  font-size:15px;
  font-weight:700;
}
.efy-full-progress-track{
  position:relative;
  overflow:hidden;
  height:12px;
  border-radius:999px;
  background:rgba(31,39,64,.10);
}
.efy-full-progress-bar{
  position:absolute;
  top:0;
  left:-45%;
  width:45%;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#42a5f5,#ec8fca);
  animation:efyFullProgress 1.15s ease-in-out infinite;
}
@keyframes efyFullProgress{
  0%{left:-45%;}
  55%{left:55%;}
  100%{left:100%;}
}
.efy-editable-lyrics-field{margin-top:14px;}
.efy-editable-lyrics-field label{font-weight:700;margin-bottom:8px;display:block;}
.efy-editable-lyrics-field .efy-lyrics-output{width:100%;box-sizing:border-box;resize:vertical;min-height:320px;font-family:inherit;}
