/* InnerDivine: clearer 30-Day navigation and a matching custom-affirmation practice player.
   This stylesheet only affects Affirmation Practice. It does not alter the Flutter HTML. */

/* A wider, more readable day selector while keeping space for the player. */
body #journeySection.journey-unified{
  display:grid;
  grid-template-columns:minmax(285px,315px) minmax(0,1fr);
  align-items:start;
  gap:24px;
  max-width:1440px;
  margin:0 auto 24px;
  font-family:Georgia,"Times New Roman",serif;
}
body #journeySection[hidden]{display:none!important}
#journeySection .day-rail{
  position:sticky;
  top:85px;
  min-width:0;
  max-height:calc(100vh - 105px);
  overflow-y:auto;
  overflow-x:hidden;
  padding:19px 18px;
  border:1px solid #e6d5c9;
  border-radius:19px;
  background:linear-gradient(160deg,#fffaf5,#f9f0eb);
}
#journeySection .day-rail h3{
  margin:0 0 6px;
  font:italic 600 1.42rem/1.28 Georgia,"Times New Roman",serif;
  color:#62465f;
}
#journeySection .day-count{
  color:#796979;
  font:400 .94rem/1.45 Georgia,"Times New Roman",serif;
}
#journeySection .day-progress{
  height:8px;
  margin:12px 0 15px;
  background:#eadfe0;
}
#journeySection .day-progress div{background:linear-gradient(90deg,#cba14d,#76536d)}
#journeySection .day-grid{display:grid;grid-template-columns:1fr;gap:7px}
#journeySection .day-grid button{
  display:flex;
  width:100%;
  min-width:0;
  min-height:47px;
  align-items:center;
  gap:12px;
  padding:10px 12px;
  border:1px solid #ecdfda;
  border-radius:11px;
  background:rgba(255,255,255,.63);
  color:#5e475a;
  font:500 .98rem/1.35 Georgia,"Times New Roman",serif;
  text-align:left;
  white-space:normal;
  overflow-wrap:anywhere;
  cursor:pointer;
}
#journeySection .day-grid button:hover{border-color:#caa8b5;background:#f7eaf0}
#journeySection .day-grid button[aria-current="true"]{
  border-color:#98718c;
  background:#f0e3ea;
  color:#50324c;
  font-weight:700;
}
#journeySection .day-grid .day-no{
  display:grid;
  place-items:center;
  flex:0 0 35px;
  min-width:35px;
  height:35px;
  border-radius:50%;
  background:#f2e9dd;
  color:#9c752b;
  font:700 .91rem/1 Georgia,"Times New Roman",serif;
}
#journeySection .day-grid button[aria-current="true"] .day-no{background:#76536d;color:#fff}
#journeySection .day-grid button.done .day-no:after{content:" ✓";font-size:.72rem;color:#5f9165}
#journeySection .day-grid button[aria-current="true"].done .day-no:after{color:#e7d5a0}
#journeySection .day-rail-controls{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:17px}
#journeySection .day-rail-controls button{
  min-width:0;
  border-radius:11px;
  padding:10px 9px;
  font:500 .94rem/1.3 Georgia,"Times New Roman",serif;
}
#journeySection .day-content{
  min-width:0;
  padding:22px clamp(16px,2vw,28px);
  background:linear-gradient(135deg,#fff9f0,#fffaf6 45%,#f9eff2);
  border-radius:22px;
}
#journeySection .day-header h2{
  color:#62415c;
  font:italic 600 clamp(1.55rem,2.5vw,2.05rem)/1.3 Georgia,"Times New Roman",serif;
}
#journeySection .day-header p{
  font:400 .97rem/1.5 Georgia,"Times New Roman",serif;
}
#journeySection .day-header button,#journeySection .day-bottom button{
  font:600 .95rem/1.3 Georgia,"Times New Roman",serif;
}
#journeySection .affirmation-words{
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.04rem;
  line-height:1.6;
}
#journeySection .affirmation-words strong{font-size:1.08rem}
#journeySection .affirmation-words p{font-size:1.09rem}
#journeySection .journey-player-help{font:400 .88rem/1.5 Georgia,"Times New Roman",serif}

/* Custom practice: same dark, soft-gold language as Core, with real custom text. */
#customSection .custom-practice{
  max-width:890px;
  margin:22px auto 31px;
  overflow:hidden;
  border:1px solid #e7d6c8;
  border-radius:21px;
  background:#fff8f4;
  box-shadow:0 10px 30px rgba(70,48,68,.08);
}
#customSection .custom-stage{
  position:relative;
  isolation:isolate;
  display:flex;
  min-height:330px;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:53px 48px 38px;
  overflow:hidden;
  text-align:center;
  color:#f9f1dd;
  background:
    radial-gradient(circle at 49% 44%,rgba(137,108,85,.17),transparent 40%),
    radial-gradient(circle at 17% 82%,rgba(46,70,111,.19),transparent 45%),
    linear-gradient(135deg,#0b0e17,#121a2c 70%,#0b101c);
}
#customSection .custom-stage:before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  pointer-events:none;
  opacity:.38;
  background-image:
    radial-gradient(circle,#d0c8bf 0.7px,transparent 1px),
    radial-gradient(circle,#a3a6bb 0.5px,transparent 1px);
  background-size:53px 59px,83px 101px;
  background-position:10px 12px,38px 51px;
}
#customSection .custom-kicker{
  margin:0 0 13px;
  color:#d9ba7e;
  font:italic 400 1rem/1.35 Georgia,"Times New Roman",serif;
}
#customSection .custom-stage h3{
  margin:0 0 17px;
  max-width:730px;
  color:#e4c17b;
  font:italic 500 clamp(1.45rem,3vw,2rem)/1.2 Georgia,"Times New Roman",serif;
}
#customSection .custom-stage-words{
  margin:0 auto;
  max-width:690px;
  color:#fff6ec;
  font:400 clamp(1.13rem,2.05vw,1.45rem)/1.56 Georgia,"Times New Roman",serif;
  text-wrap:pretty;
}
#customSection .custom-status{
  margin:22px auto 0;
  max-width:650px;
  color:#d8c7b5;
  font:italic 400 .96rem/1.45 Georgia,"Times New Roman",serif;
}
#customSection .custom-progress{
  width:min(360px,75%);
  height:4px;
  margin:20px auto 0;
  border-radius:999px;
  overflow:hidden;
  background:rgba(244,220,186,.2);
}
#customSection .custom-progress span{
  display:block;
  width:0;
  height:100%;
  background:linear-gradient(90deg,#e6c87e,#ad789e);
  transition:width .25s ease;
}
#customSection .custom-fullscreen{
  position:absolute;
  z-index:2;
  top:12px;
  right:12px;
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border:1px solid rgba(231,201,151,.52);
  border-radius:11px;
  color:#f1d69c;
  background:rgba(18,24,37,.85);
  font:500 1.45rem/1 Arial,Helvetica,sans-serif;
  cursor:pointer;
}
#customSection .custom-controls{
  display:grid;
  grid-template-columns:minmax(0,1.7fr) minmax(115px,.7fr) minmax(130px,.7fr);
  align-items:end;
  gap:15px;
  padding:19px 20px 13px;
}
#customSection .custom-control label{
  display:block;
  margin:0 0 7px;
  color:#5f465a;
  font:600 .94rem/1.25 Georgia,"Times New Roman",serif;
}
#customSection .custom-control select{
  width:100%;
  min-height:44px;
  padding:10px 12px;
  border:1px solid #d8bec8;
  border-radius:10px;
  background:#fffdf9;
  color:#503850;
  font:500 .94rem/1.25 Georgia,"Times New Roman",serif;
}
#customSection .custom-buttons{
  display:flex;
  justify-content:center;
  gap:12px;
  padding:3px 20px 11px;
}
#customSection .custom-buttons button{
  min-height:42px;
  padding:10px 25px;
  border:1px solid #98718b;
  border-radius:999px;
  font:600 1rem/1.3 Georgia,"Times New Roman",serif;
  cursor:pointer;
}
#customSection #customPlay{background:#76536d;color:#fff}
#customSection #customStop{background:#fff9f6;color:#62425b}
#customSection .custom-buttons button:disabled{opacity:.43;cursor:not-allowed}
#customSection .custom-player-note{
  padding:0 20px 18px;
  margin:0;
  color:#786875;
  text-align:center;
  font:400 .86rem/1.48 Georgia,"Times New Roman",serif;
}
#customSection .custom-practice :focus-visible{outline:3px solid #b78c3b;outline-offset:3px}
#customSection .custom-card-play{
  margin-top:13px;
  padding:7px 11px;
  border:1px solid #d6bac9;
  border-radius:999px;
  color:#6a4a63;
  background:rgba(255,255,255,.6);
  font:600 .84rem/1.2 Georgia,"Times New Roman",serif;
  cursor:pointer;
}
#customSection .custom-card-play:hover{background:#f4e6eb}
#customSection .custom-practice:fullscreen,
#customSection .custom-practice:-webkit-full-screen{
  display:flex;
  flex-direction:column;
  width:100vw;
  height:100vh;
  max-width:none;
  max-height:none;
  margin:0;
  border:0;
  border-radius:0;
}
#customSection .custom-practice:fullscreen .custom-stage,
#customSection .custom-practice:-webkit-full-screen .custom-stage{flex:1;min-height:0}
#customSection .custom-practice:fullscreen .custom-fullscreen,
#customSection .custom-practice:-webkit-full-screen .custom-fullscreen{z-index:10}
@media(max-width:1100px){
 body #journeySection.journey-unified{grid-template-columns:1fr;gap:16px}
 #journeySection .day-rail{position:static;max-height:none}
 #journeySection .day-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
 #journeySection .day-content{padding:20px}
}
@media(max-width:700px){
 #journeySection .day-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #journeySection .day-rail{padding:14px}
 #journeySection .day-grid button{padding:9px;gap:7px;font-size:.91rem}
 #journeySection .day-grid .day-no{flex-basis:30px;min-width:30px;height:30px}
 #journeySection .day-content{padding:15px 13px}
 #customSection .custom-stage{min-height:310px;padding:57px 22px 31px}
 #customSection .custom-controls{grid-template-columns:1fr 1fr;gap:12px;padding:15px}
 #customSection .custom-control:first-child{grid-column:1/-1}
 #customSection .custom-buttons{padding:0 15px 12px}
}
@media(max-width:430px){
 #journeySection .day-grid{grid-template-columns:1fr 1fr}
 #journeySection .day-grid button{font-size:.85rem;line-height:1.3}
 #customSection .custom-stage{padding:55px 14px 25px}
 #customSection .custom-buttons button{flex:1;padding:9px 12px}
}