/* Approved Glassy theme: softer highlights and translucent panels. */
html[data-theme="glass"]{
  --glass:rgba(9,35,48,.28);
  --line:rgba(231,251,255,.32);
  --shadow:0 16px 42px rgba(0,16,27,.17),inset 0 1px 0 rgba(255,255,255,.35),inset 0 -1px 0 rgba(225,250,255,.09);
}
html[data-theme="glass"] :is(.verdict,.metric,.tide-card,.hourly,.glossary,.safety,.lesson-card,.location-panel,.merch-card,.activity-disclosure,.days,.school-invite,.purpose-invite,.glass,.opening-copy,.opening-mantra .mantra-intro){
  background:linear-gradient(135deg,rgba(224,246,255,.13),rgba(193,230,242,.025) 48%,rgba(220,244,255,.06)),rgba(7,32,45,.32);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  backdrop-filter:blur(17px) saturate(135%);
  -webkit-backdrop-filter:blur(17px) saturate(135%);
}
html[data-theme="glass"] :is(.header nav,.section-nav,.masthead nav,.footer-about-link,.pill,select,.text-button,.social-links a,.poster-controls button){
  background:linear-gradient(140deg,#e8ffff20,#d5f6ff06),rgba(12,43,55,.21);
  border-color:rgba(227,251,255,.42);
  box-shadow:0 7px 24px #001b2520,inset 0 1px 0 #ffffff45;
  backdrop-filter:blur(18px) saturate(130%);
  -webkit-backdrop-filter:blur(18px) saturate(130%);
}
html[data-theme="glass"] :is(.section-nav a:hover,.pill:hover,.footer-about-link:hover,.text-button:hover){background:#e3ffff21}
html[data-theme="glass"] .day.selected{background:linear-gradient(140deg,#ecffff33,#e3ffff14);box-shadow:inset 0 0 0 1px #e5ffff70}
html[data-theme="glass"] .hour.selected{background:linear-gradient(140deg,#dfffff29,#dfffff10)}
html[data-theme="glass"] .merch-card{background:linear-gradient(135deg,#e1f7ff16,#d4f3ff04),rgba(7,31,43,.29)}
html[data-theme="glass"] .film-card{background:rgba(7,28,38,.22);border-color:var(--line);box-shadow:inset 0 1px 0 #ffffff20}
html[data-theme="glass"] .about-page .story-next,
html[data-theme="glass"] .about-page .story-intro{
  background:linear-gradient(135deg,#e4f8ff16,#e4f8ff03),rgba(7,30,43,.31);
  border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);
  backdrop-filter:blur(17px) saturate(130%);-webkit-backdrop-filter:blur(17px) saturate(130%);
}
html[data-theme="glass"] .about-page .story-intro{padding:26px}
html[data-theme="glass"] .about-page .ocean-scene:after{background:linear-gradient(90deg,#071d29 28%,rgba(7,29,41,.82) 38%,rgba(7,29,41,.42) 55%,rgba(7,29,41,.12) 78%),linear-gradient(0deg,#071d2940,#071d2910)}
html[data-theme="glass"] :is(.verdict,.metric,.tide-card,.hourly,.story-intro,.story-body,.chapter-copy,.nows-copy,.film-info){text-shadow:0 1px 5px rgba(0,20,30,.23)}
html[data-theme="glass"] body:not(:has(.ocean-scene)){background:linear-gradient(#071d296b,#071d2999),url('/jaco-shore.jpg') center/cover fixed}
html[data-theme="glass"] body:not(:has(.ocean-scene)) main{background:#0b2d3a50;border:1px solid var(--line);border-radius:24px;backdrop-filter:blur(17px);-webkit-backdrop-filter:blur(17px);box-shadow:var(--shadow)}
@media(max-width:600px){
  html[data-theme="glass"] .about-page .story-next{display:contents;background:none;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
  html[data-theme="glass"] .about-page .story-next :is(.poster-carousel,.story-body){background:linear-gradient(135deg,#e4f8ff16,#e4f8ff03),rgba(7,30,43,.35);border-color:var(--line);box-shadow:var(--shadow);backdrop-filter:blur(17px);-webkit-backdrop-filter:blur(17px)}
  html[data-theme="glass"] .about-page .ocean-scene:after{background:linear-gradient(0deg,#071d298f,#071d296b 60%,#071d294d)}
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  html[data-theme="glass"] :is(.verdict,.metric,.tide-card,.hourly,.glossary,.merch-card,.glass,.opening-copy,.story-intro,.story-next,.school-invite){background:rgba(7,32,45,.82)}
}
