/* Page 6 upper-half reference match.
   Scope is limited to title + prediction/poll zone. Lower NOVA, Position,
   global navigation, Teaching Lens and Reading Lens are untouched. */

#courseReveal > .slides > section.first-take-slide{
  grid-template-rows:72px 92px 338px 270px!important;
}

.first-take-slide .first-take-title-area{
  position:relative!important;
  display:grid!important;
  align-content:start!important;
  padding:2px 0 0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.first-take-slide .task-label{
  position:static!important;
  display:block!important;
  width:max-content!important;
  min-height:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#42deef!important;
  font-size:18px!important;
  font-weight:900!important;
  letter-spacing:1px!important;
}
.reveal .first-take-slide .first-take-title{
  width:max-content!important;
  margin:12px 0 0!important;
  padding-bottom:4px!important;
  border-bottom:1px dotted rgba(107,170,227,.35)!important;
  color:#d9c8ff!important;
  font-size:46px!important;
  line-height:1!important;
  letter-spacing:-.4px!important;
  text-shadow:0 0 17px rgba(148,100,255,.36)!important;
}
.reveal .first-take-slide .first-take-title span{color:#8fc5ff!important}
.first-take-slide .first-take-subtitle{
  width:max-content!important;
  margin:10px 0 0!important;
  padding-bottom:4px!important;
  border-bottom:1px dotted rgba(107,170,227,.28)!important;
  color:#fff!important;
  font-size:24px!important;
  font-weight:800!important;
  line-height:1!important;
}

#courseReveal .first-take-slide.m01-p25-theme .prediction-poll-zone{
  display:grid!important;
  grid-template-columns:minmax(0,2fr) minmax(430px,.94fr)!important;
  gap:16px!important;
  align-items:stretch!important;
  transform:none!important;
  height:338px!important;
  min-height:338px!important;
}
#courseReveal .first-take-slide.m01-p25-theme :is(.prediction-step,.class-poll-step){
  box-sizing:border-box!important;
  height:338px!important;
  min-height:338px!important;
  max-height:338px!important;
  padding:18px 22px 14px!important;
  overflow:hidden!important;
  border:2px solid #27d7ea!important;
  border-radius:15px!important;
  color:#fff!important;
  background:linear-gradient(145deg,rgba(5,31,68,.94),rgba(4,20,53,.93))!important;
  box-shadow:0 0 19px rgba(25,204,240,.12),inset 0 0 22px rgba(38,125,244,.04)!important;
}
.first-take-slide .prediction-step{position:relative!important;display:grid!important;grid-template-rows:70px 1fr 34px!important}
.first-take-slide .poll-step-heading{
  display:grid!important;
  grid-template-columns:auto 1fr!important;
  align-content:start!important;
  column-gap:10px!important;
  row-gap:8px!important;
}
.first-take-slide .poll-step-heading small{
  color:#fff!important;font-size:20px!important;font-weight:900!important;letter-spacing:.5px!important;
}
.first-take-slide .poll-step-heading strong{
  color:#37deee!important;font-size:21px!important;font-weight:900!important;
}
.first-take-slide .poll-step-heading span{
  grid-column:1/-1!important;color:#fff!important;font-size:18px!important;font-weight:650!important;
}
.first-take-slide .prediction-step .poll-step-heading::after{
  content:"Choose one position. Every position is a hypothesis.";
  position:absolute;right:24px;top:23px;color:#e7efff;font-size:16px;font-weight:600;
}
.first-take-slide .choice-buttons{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
  margin:0 6px!important;
}
.first-take-slide .take-choice-button{
  --choice:#1de0ee;
  position:relative!important;
  display:grid!important;
  align-content:center!important;
  justify-items:center!important;
  gap:8px!important;
  min-height:184px!important;
  padding:62px 16px 16px!important;
  border:1px solid rgba(29,224,238,.46)!important;
  border-radius:12px!important;
  color:#fff!important;
  background:linear-gradient(180deg,rgba(8,43,82,.90),rgba(5,27,61,.94))!important;
  box-shadow:inset 0 0 24px rgba(28,216,235,.035)!important;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease!important;
}
.first-take-slide .problems-choice{--choice:#ffac32;border-color:rgba(255,172,50,.45)!important}
.first-take-slide .unsure-choice{--choice:#9b69ff;border-color:rgba(155,105,255,.72)!important;background:linear-gradient(180deg,rgba(26,35,89,.94),rgba(10,28,69,.94))!important}
.first-take-slide .take-choice-button::before{
  content:"👍";
  position:absolute;left:50%;top:16px;translate:-50% 0;
  width:58px;height:58px;display:grid;place-items:center;
  border:1px solid var(--choice);border-radius:50%;
  color:var(--choice);background:#061b3e;font-size:30px;
  box-shadow:0 0 16px rgba(29,224,238,.28);
}
.first-take-slide .problems-choice::before{content:"⚠";box-shadow:0 0 16px rgba(255,172,50,.25)}
.first-take-slide .unsure-choice::before{content:"⚖";box-shadow:0 0 16px rgba(155,105,255,.30)}
.first-take-slide .take-choice-button > span{color:var(--choice)!important;font-size:31px!important;font-weight:900!important;line-height:1!important}
.first-take-slide .take-choice-button > small{color:#f3f8ff!important;font-size:20px!important;font-weight:800!important}
.first-take-slide .take-choice-button:hover{transform:translateY(-3px)!important;border-color:var(--choice)!important;box-shadow:0 0 20px rgba(49,212,255,.24),inset 0 0 26px rgba(49,212,255,.07)!important}
.first-take-slide .take-choice-button.is-selected{transform:translateY(-2px)!important;border-color:var(--choice)!important;box-shadow:0 0 25px var(--choice),inset 0 0 32px rgba(75,142,255,.14)!important}
.first-take-slide .position-selected{
  align-self:center!important;margin:5px 0 0!important;color:#a9c7dd!important;background:transparent!important;border:0!important;box-shadow:none!important;font-size:15px!important;line-height:1.25!important;text-align:center!important;overflow:visible!important;
}

.first-take-slide .class-poll-step{position:relative!important;display:grid!important;grid-template-rows:72px 1fr 48px!important}
.first-take-slide .class-poll-step .poll-step-heading::after{
  content:"● LIVE";
  position:absolute;right:14px;top:4px;padding:8px 13px;
  border:1px solid rgba(54,238,211,.55);border-radius:9px;
  color:#4cf0d5;background:rgba(8,77,79,.25);font-size:15px;font-weight:900;
  animation:page6LivePulse 1.8s ease-in-out infinite;
}
.first-take-slide .poll-results{
  display:grid!important;gap:12px!important;margin:7px 0 0!important;
  opacity:.28!important;filter:saturate(.25)!important;transition:opacity .25s,filter .25s!important;
}
.first-take-slide .poll-results.is-visible{opacity:1!important;filter:none!important}
.first-take-slide .poll-results > div{
  --bar:#23dce9;
  display:grid!important;grid-template-columns:105px minmax(0,1fr) 75px!important;
  grid-template-areas:"label rail percent" "label rail votes"!important;
  gap:2px 10px!important;align-items:center!important;
}
.first-take-slide .poll-results > div[data-result="problem"]{--bar:#ffad35}
.first-take-slide .poll-results > div[data-result="both"]{--bar:#9e70ff}
.first-take-slide .poll-results span{grid-area:label;color:#fff!important;font-size:19px!important}
.first-take-slide .poll-results b{grid-area:percent;color:#fff!important;font-size:30px!important;text-align:right!important}
.first-take-slide .poll-results i{grid-area:rail;height:12px!important;background:rgba(103,145,179,.26)!important}
.first-take-slide .poll-results i em{background:var(--bar)!important;box-shadow:0 0 10px var(--bar)!important;transition:width .75s ease!important}
.first-take-slide .poll-results small{grid-area:votes;color:#d7e0ec!important;font-size:13px!important;text-align:right!important}
.first-take-slide .poll-actions{justify-content:flex-end!important;margin:4px 0 0!important}
.first-take-slide :is(.reveal-poll-button,.reset-vote-button){min-height:38px!important;padding:7px 14px!important;border-radius:9px!important;font-size:14px!important}

@keyframes page6LivePulse{50%{box-shadow:0 0 14px rgba(61,238,211,.32)}}
@media (prefers-reduced-motion:reduce){.first-take-slide .class-poll-step .poll-step-heading::after{animation:none!important}}

/* Lower-zone spacing correction.
   The legacy canonical rule used margin-top:-34px, which pulled this row into
   the prediction/poll panels. Return it to normal flow, then retain a measured
   bottom-side gap for the course navigation safe area. */
#courseReveal .first-take-slide.m01-p25-theme .first-take-learning-zone{
  margin-top:12px!important;
  transform:none!important;
}
