.plant-panel{margin-top: 10px; padding: 16px 18px 12px; border-radius: 20px; border: 1px solid rgba(60,52,44,.20); background: rgba(255,255,255,.14); box-shadow: 0 10px 30px rgba(0,0,0,.06); position: sticky; top: 16px;}


.plant-panel h2{
  margin: 0 0 10px;
  font-size:20px;
  font-weight:600;
  letter-spacing:.2px;
}





/* Phase board (connected to the dial) */
.phase{
  margin: 10px auto 0;
  padding: 10px 0 0;
}

.phase-hero{
  margin: 0 auto 14px;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.28);
  border: 1px solid rgba(60,52,44,.14);
  box-shadow: 0 12px 34px rgba(0,0,0,.06);
}

.phase-kicker{
  font-size: 12px;
  letter-spacing: .12em;
  color: rgba(40,34,28,.70);
  text-transform: uppercase;
  margin-bottom: 8px;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.phase-title{
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 600;
  color: rgba(30,26,22,.92);
  margin-bottom: 6px;
}

.phase-summary{
  font-size: 17px;
  line-height: 1.55;
  color: rgba(40,34,28,.82);
}

.phase-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0 auto 14px;
}



.phase-card{
  padding: 16px 18px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(60,52,44,.12);
  box-shadow: 0 10px 28px rgba(0,0,0,.05);
}

.phase-card-title{
  font-size: 12px;
  letter-spacing: .12em;
  color: rgba(40,34,28,.72);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.phase-list{
  margin: 0;
  padding-left: 18px;
  color: rgba(30,26,22,.84);
  line-height: 1.55;
}

.phase-list li{ margin: 6px 0; }

.phase-paragraph{
  font-size: 16px;
  line-height: 1.55;
  color: rgba(40,34,28,.82);
}

.phase-footnote{
  margin-top: 10px;
  font-size: 13px;
  color: rgba(40,34,28,.62);
}

.phase-next-title{
  font-size: 18px;
  font-weight: 600;
  color: rgba(30,26,22,.88);
  margin: 0 0 6px;
}

.panel{
  margin:26px auto 0;
  padding:18px 18px 6px;
  border-top:1px solid rgba(60,52,44,.18);
  color:rgba(40,34,28,.92);
}

.panel h2{
  margin:0 0 10px;
  font-size:20px;
  font-weight:600;
  letter-spacing:.2px;
}

.panel p{
  margin:0 0 12px;
  font-size:17px;
  line-height:1.55;
  color:rgba(40,34,28,.82);
}

.muted{ color:rgba(40,34,28,.70); }

.controls{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
  padding:8px 0 10px;
}

.controls label{
  font-size:15px;
  color:rgba(40,34,28,.72);
}

select{
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size:16px;
  padding:8px 10px;
  border-radius:10px;
  border:1px solid rgba(60,52,44,.28);
  background:rgba(255,255,255,.45);
  color:rgba(30,26,22,.92);
}

select:focus{ outline:2px solid rgba(90,74,55,.25); outline-offset:2px; }

.btn{
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size:16px;
  padding:8px 12px;
  border-radius:10px;
  border:1px solid rgba(60,52,44,.28);
  background:rgba(255,255,255,.35);
  color:rgba(30,26,22,.88);
  cursor:pointer;
}

.btn:hover{ background:rgba(255,255,255,.55); }

.readout{
  margin:6px 0 10px;
  padding:12px 12px 6px;
  border-left:3px solid rgba(60,52,44,.22);
}

.readout-line{
  font-size:18px;
  line-height:1.4;
  color:rgba(30,26,22,.88);
  margin:0 0 8px;
}

.readout-line.italic{ font-style:italic; color:rgba(30,26,22,.74); }

/* Keep above-the-fold tight */
#captionLine2{display:none;}
.caption .rule{display:none;}

.caption{
  text-align:center;
  margin-top:-2px;
  padding:0 10px 30px;
}

.cap-line{font-size:clamp(18px, 1.8vw, 26px);}

.phase-toggle{
  margin-top:10px;
  align-self:flex-start;
  background: rgba(255,255,255,.28);
  border: 1px solid rgba(60,52,44,.22);
  border-radius: 999px;
  padding: 7px 12px;
  font-family: inherit;
  color: rgba(30,26,22,.85);
  cursor: pointer;
}
.phase-toggle:hover{ background: rgba(255,255,255,.38); }
.phase-details[hidden]{ display:none; }


/* Divider inside right panel */
.panel-divider{
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin: 18px 0 14px;
}

/* Subtle link above the insect dropdown (Porkbun build) */
.insect-page-link{
  margin: 4px 0 10px 0;
  font-size: 0.9rem;
}
.insect-page-link a{
  color: #5f6f63;
  text-decoration: none;
  border-bottom: 1px solid #c9c9c9;
}
.insect-page-link a:hover{
  color: #2f3a33;
  border-bottom-color: #8a8a8a;
}


  /* keep dial centered */
  .dial-wrap{ padding:12px 0 6px; }
  /* panel becomes a centered card below */
  .panel{
    width:min(640px, 94vw);
    margin:0 auto;
  }
}


/* Responsive tuning:
   - Keep two-column layout on iPad/medium screens without clipping
   - Collapse to one column only on narrow screens
*/



/* === Bird Section Size Adjustments === */
/* Add or merge these rules into assets/css/panels.css */

.bird-section {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
}

/* Preview panel containing the bird illustration */
.bird-preview {
  max-width: 360px;
  margin: auto;
  padding: 12px;
  background: rgba(255,255,255,0.5);
  border-radius: 14px;
}

/* Bird image sizing */
.bird-preview img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  margin: auto;
  border-radius: 10px;
}

/* Optional: slightly tighten bird cards */
.bird-card {
  padding: 14px 16px;
}



@keyframes heartBreath{
  0%   { transform: translate(-50%, -50%) scale(1); }
  50%  { transform: translate(-50%, -50%) scale(1.02); }
  100% { transform: translate(-50%, -50%) scale(1); }
}


/* MERGED: Center GIF (BOLD 68% + optical center correction) */
.clock-center-gif{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -57%);
  width:74% !important;
  height:74% !important;
  object-fit:contain;
  z-index:10;
  pointer-events:none;
}



/* ===== FINAL CENTER GIF SIZE LOCK (DESKTOP + MOBILE) ===== */
.clock-center-gif{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -57%);
  width:74% !important;
  height:74% !important;
  object-fit:contain;
  z-index:10;
  pointer-events:none;
}

/* override any desktop media rules */






/* ===== CENTER LIFE GIF — FINAL 80% CENTERED ===== */
.clock-center-life{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -57%);
  width:65% !important;
  height:65% !important;
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
  z-index:10;
}

.clock-center-life img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}



/* ===== CONTAINMENT FIX: KEEP GIF INSIDE CLOCK ===== */

.clock-stage{
  overflow:hidden;
}

.clock-center-life{
  clip-path:circle(46% at 50% 50%);
}


/* ===== TUNING: Nudge specimen down to clear upper label ===== */
.clock-center-life img{
  transform: translateY(10%);
}

/* ===== ENLARGE ALL INSECT HUB SPECIMENS (GLOBAL) =====
   This keeps the existing center masking/clip-path behavior,
   but scales the specimen up so it reads better on all screens.
*/
.clock-center-life img{
  /* keep the existing nudge, but enlarge the specimen */
  transform: translateY(10%) scale(1.10);
}

/* a touch larger on bigger screens */


/* ===== Phase panel month navigation (explore mode) ===== */
.phase-kicker-left{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.phase-nav{
  display:flex;
  align-items:center;
  gap:8px;
  font-size: 11px;
  letter-spacing: .08em;
  color: rgba(40,34,28,.68);
}
.phase-nav-label{
  min-width: 120px;
  text-align:center;
}
.phase-nav-btn{
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(60,52,44,.20);
  border-radius: 999px;
  padding: 6px 10px;
  font-family: inherit;
  color: rgba(30,26,22,.85);
  cursor: pointer;
  line-height: 1;
}
.phase-nav-btn:hover{ background: rgba(255,255,255,.30); }
.phase-nav-now{
  background: transparent;
  border: 1px solid rgba(60,52,44,.18);
  border-radius: 999px;
  padding: 6px 10px;
  font-family: inherit;
  color: rgba(30,26,22,.78);
  cursor: pointer;
  line-height: 1;
}
.phase-nav-now:hover{ background: rgba(255,255,255,.20); }


/* ===== PHASE DETAILS (expanded) ===== */
.phase-details .phase-meta{
  margin-top:6px;
  font-size:0.92rem;
  opacity:0.88;
}
.phase-details .phase-basis{
  margin-top:4px;
  font-size:0.9rem;
  opacity:0.78;
}


/* Seasonal bird signals */
.birds-panel{
  margin: 10px auto 0;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(60,52,44,.12);
  box-shadow: 0 10px 28px rgba(0,0,0,.05);
  position: relative;
}
.birds-panel h2{
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .2px;
}
.birds-intro{
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(40,34,28,.78);
}
.bird-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.bird-card{
  padding: 16px 18px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(60,52,44,.10);
  box-shadow: 0 8px 22px rgba(0,0,0,.04);
}
.bird-season{
  font-size: 12px;
  letter-spacing: .12em;
  color: rgba(40,34,28,.68);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.bird-name{
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0 0 8px;
  font: inherit;
  font-size: 22px;
  line-height: 1.2;
  color: rgba(30,26,22,.92);
  text-align: left;
  cursor: pointer;
  border-bottom: 1px solid rgba(95,111,99,.36);
}
.bird-name:hover,
.bird-name:focus-visible{
  color: rgba(47,58,51,.98);
  border-bottom-color: rgba(95,111,99,.72);
  outline: none;
}

.bird-play{
  appearance:none;
  width:38px;
  height:38px;
  border-radius:999px;
  border:1px solid rgba(60,52,44,.16);
  background: rgba(255,255,255,.62);
  color: rgba(40,34,28,.9);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
  line-height:1;
  cursor:pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease;
}

.bird-play:hover,
.bird-play:focus-visible,
.bird-play.is-playing{
  background: rgba(244,240,228,.95);
  border-color: rgba(64,78,62,.35);
  transform: scale(1.05);
  outline:none;
}

.bird-note{
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(40,34,28,.82);
}
.bird-popup{
  position: fixed;
  z-index: 30;
  width: min(300px, 34vw);
  max-width: calc(100vw - 36px);
  padding: 10px;
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(60,52,44,.14);
  box-shadow: 0 18px 48px rgba(0,0,0,.16);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .16s ease, transform .16s ease;
  pointer-events: none;
}
.bird-popup.is-visible{
  opacity: 1;
  transform: translateY(0);
}
.bird-popup img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

@media (max-width: 760px){
  .bird-grid{ grid-template-columns: 1fr; }
  .bird-popup{
    width: min(280px, calc(100vw - 36px));
  }
}


.birds-panel{
  width:100%;
  max-width:none;
  margin: 26px 0 0;
  padding: 18px 18px 20px;
  border-top:1px solid rgba(60,52,44,.18);
  color:rgba(40,34,28,.92);
  box-sizing:border-box;
}

.birds-panel h2{
  margin:0 0 10px;
  font-size:20px;
  font-weight:600;
  letter-spacing:.2px;
}

.birds-intro{
  margin:0 0 14px;
  font-size:17px;
  line-height:1.55;
  color:rgba(40,34,28,.82);
}

.birds-layout{
  display:grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap:16px;
  align-items:start;
}

.bird-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:14px;
}

.bird-card,
.bird-preview{
  padding: 16px 18px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(60,52,44,.12);
  box-shadow: 0 10px 28px rgba(0,0,0,.05);
}

.bird-season{
  font-size: 12px;
  letter-spacing: .12em;
  color: rgba(40,34,28,.72);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.bird-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
}

.bird-name{
  appearance:none;
  border:0;
  background:none;
  padding:0;
  margin:0;
  flex:1 1 auto;
  font: inherit;
  font-size: 21px;
  line-height:1.2;
  color: rgba(30,26,22,.92);
  cursor:pointer;
  text-align:left;
  border-bottom: 1px solid transparent;
}

.bird-name:hover,
.bird-name:focus-visible,
.bird-name.is-active{
  color: rgba(64,78,62,.98);
  border-bottom-color: rgba(64,78,62,.45);
  outline:none;
}

.bird-note{
  margin:0;
  font-size:16px;
  line-height:1.55;
  color: rgba(40,34,28,.82);
}

.bird-preview{
  position: sticky;
  top: 16px;
}

.bird-preview-frame{
  width:100%;
  aspect-ratio: 4 / 5;
  border-radius:16px;
  overflow:hidden;
  background: rgba(255,255,255,.74);
  border:1px solid rgba(60,52,44,.12);
  display:flex;
  align-items:center;
  justify-content:center;
}

.bird-preview-frame img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

@media (max-width: 900px){
  .birds-layout{
    grid-template-columns: 1fr;
  }

  .bird-preview{
    position: static;
    order: -1;
  }
}

@media (max-width: 640px){
  .bird-grid{
    grid-template-columns: 1fr;
  }
}


/* === Bird preview audio button refinement === */
.bird-head{
  display:block;
}

.bird-preview-frame{
  position:relative;
}

.bird-preview-play{
  position:absolute;
  right:14px;
  bottom:14px;
  width:44px;
  height:44px;
  border:1px solid rgba(60,52,44,.28);
  border-radius:999px;
  background:rgba(248,246,240,.92);
  color:rgba(30,26,22,.92);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size:18px;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 6px 18px rgba(0,0,0,.10);
}

.bird-preview-play:hover{
  background:rgba(255,255,255,.98);
}

.bird-preview-play.is-playing{
  background:rgba(235,232,222,.98);
  transform:scale(1.03);
}
