/* ICAME 2026 - glassy, cool dark-grey theme (emulating the 2025 cover) */
.reveal-viewport, body {
  background: radial-gradient(ellipse at 50% 32%, #3a4651 0%, #262f37 60%, #1a2127 100%) !important;
}
.reveal {
  color: #eef3f6;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 27px;
}
.reveal h1, .reveal h2, .reveal h3 { color:#fff; text-transform:none; font-weight:700; letter-spacing:normal; }
.reveal h2 { font-size:1.15em; border-bottom:2px solid rgba(120,195,224,0.55); padding-bottom:.12em; margin-bottom:.45em; }
.reveal a { color:#7fd0ea; }
.reveal ul, .reveal ol { width:94%; }
.reveal li { margin-bottom:.22em; }
.reveal .claim { color:#7fd0ea; font-weight:700; }
.reveal .takeaway { color:#f3a08f; font-weight:700; }
.reveal .caption, .reveal small { color:#9fb6c4; font-size:.7em; }
.reveal .slide-number { color:#9fb6c4; }

/* macOS-style hover: grow + highlight */
.reveal .glass, .reveal .dac {
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.reveal .glass:hover, .reveal .dac:hover {
  transform: scale(1.045);
  box-shadow: 0 22px 58px rgba(0,0,0,0.62), 0 0 46px rgba(120,205,230,0.30);
  border-color: rgba(165,218,238,0.9);
  z-index: 6;
}

/* generic glassy card */
.glass {
  background: rgba(70,95,110,0.18);
  border: 1px solid rgba(150,205,225,0.40);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45), 0 0 50px rgba(90,170,190,0.10);
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  padding: .55em .85em;
}

/* images: soft drop shadow, blend on dark */
.reveal section img { background:transparent; border:none; max-height:540px; margin:4px auto;
  filter: drop-shadow(0 14px 26px rgba(0,0,0,0.5)); }
.reveal img.thumb { max-height:190px; }
.reveal .cols { display:flex; gap:3%; align-items:center; justify-content:center; }
.reveal .cols img { max-height:230px; width:auto; }

/* screenshot frame (INCEpTION / NoSketch) on the dark bg */
.reveal img.shot, .reveal .shot {
  border-radius:10px; border:1px solid rgba(255,255,255,0.25);
  box-shadow: 0 16px 40px rgba(0,0,0,0.55);
  background:#fff; max-height:430px;
}

/* glassy quote cards for data examples */
.reveal blockquote {
  background: rgba(70,95,110,0.20);
  border-left: 5px solid #38b0d8;
  border-radius: 8px;
  color:#eaf2f7; box-shadow:0 10px 30px rgba(0,0,0,0.4); font-style:italic;
  width:92%; padding:.4em .85em; font-size:.78em; margin:.3em auto;
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
}
.reveal blockquote .attrib { display:block; font-style:normal; color:#9fb6c4; font-size:.85em; margin-top:.2em; }

/* ---------- custom TITLE slide ---------- */
#titleslide h2 { display:none; }
#titleslide .titlewrap { position:relative; width:860px; margin:0 auto; }
#titleslide .logos { position:relative; height:66px; width:100%; margin:0 auto 36px; }
#titleslide .logos img { position:absolute; top:4px; height:58px; opacity:.9; filter:none; margin:0; }
#titleslide .logos img.logo-l { left:0; }
#titleslide .logos img.logo-r { right:0; }
#titleslide .title-card {
  display:block; width:100%; margin:0 auto; box-sizing:border-box;
  background: rgba(18,70,82,0.34);
  border: 1px solid rgba(150,210,230,0.55);
  border-radius: 26px;
  padding:.55em 1em .7em;
  box-shadow: 0 18px 55px rgba(0,0,0,0.5), 0 0 70px rgba(90,180,205,0.18);
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  -webkit-box-reflect: below 8px linear-gradient(transparent 72%, rgba(255,255,255,0.12));
}
#titleslide .title-card h1 { font-size:1.5em; margin:.1em 0 .15em; line-height:1.12; }
#titleslide .title-card .sub { font-size:.6em; color:#bfe0ec; margin:0; font-weight:400; }
#titleslide .authors { margin-top:6%; font-size:.62em; color:#dfeaf0; line-height:1.5; }
#titleslide .authors .venue { color:#9fb6c4; }

/* glassy mini-cards grid (CMV points) */
.reveal .grid2 { display:grid; grid-template-columns:1fr 1fr; gap:18px; width:94%; margin:.4em auto; }
.reveal .grid2 .glass { font-size:.82em; text-align:left; }
.reveal .grid2 b { color:#7fd0ea; }

/* DAC example boxes */
.reveal .dac { width:94%; margin:.25em auto; font-size:.72em; text-align:left; }
.reveal .dac .tag { color:#f3a08f; font-weight:700; font-size:.85em; }

/* NoSketch-style KWIC concordance */
.reveal .kwic { font-family:"SFMono-Regular",Menlo,Consolas,monospace; font-size:.62em; width:96%; margin:.3em auto;
  border-collapse:collapse; color:#dfeaf0; }
.reveal .kwic td { padding:3px 8px; border-bottom:1px solid rgba(255,255,255,0.08); white-space:nowrap; }
.reveal .kwic .l { text-align:right; color:#aebfca; }
.reveal .kwic .kw { text-align:center; color:#f3a08f; font-weight:700; padding:3px 10px; }
.reveal .kwic .r { text-align:left; color:#aebfca; }
.reveal .kwic-head { color:#7fd0ea; font-weight:700; font-size:.7em; margin:.2em 0; }

/* references */
.reveal .refs { font-size:.5em; text-align:left; width:96%; margin:0 auto; line-height:1.5; color:#dfeaf0; }
.reveal .refs p { margin:.18em 0; padding-left:1.4em; text-indent:-1.4em; }

/* interactive charts are iframed standalone widgets */
.reveal iframe.plotframe {
  width: 930px; height: 480px; border: 0; border-radius: 12px;
  box-shadow: 0 14px 42px rgba(0,0,0,0.55); background: #252e36;
}

/* persistent disclaimer */
body::after {
  content:"Preliminary results, please do not cite or reproduce";
  position:fixed; bottom:8px; left:0; right:0; text-align:center;
  font-size:13px; color:#8aa0ad; z-index:1000; pointer-events:none;
}
