/* COOKIES.EXE, the same chrome as the homepage banner.
   these pages do not load os.css, so the dialog rules it needs live here. */
.ck{
  position:fixed;z-index:70;
  left:max(1rem,env(safe-area-inset-left));
  bottom:max(1rem,env(safe-area-inset-bottom));
  width:min(23rem,calc(100vw - 2rem));
  display:flex;flex-direction:column;
  background:#04140F;border:1px solid rgba(155,255,225,.5);
  box-shadow:0 0 40px rgba(0,0,0,.75),0 0 24px rgba(70,255,200,.10);
  color:#B7FFE9;
  font-family:'IBM Plex Mono',ui-monospace,Menlo,monospace;
  animation:ckin .22s cubic-bezier(.2,.9,.3,1) both;
}
.ck[hidden]{display:none}
@keyframes ckin{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.ck button{font:inherit;cursor:pointer}
.dlg__bar{
  flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;
  gap:1rem;padding:.5rem .7rem;
  background:linear-gradient(90deg,#2B6A55,#54A488);color:#F2FBF6;
  font-size:.78rem;letter-spacing:.16em;
}
.dlg__x{
  width:1.7em;height:1.5em;line-height:1;font-size:.8rem;
  border:1px solid #061611;background:#CFE9DF;color:#061611;
}
.dlg__x:hover{background:#fff}
.ck__body{padding:.95rem 1rem}
.ck__body p{
  margin:0;font-size:.78rem;line-height:1.65;letter-spacing:.04em;
  color:var(--ph-dim,#7FD6BA);
}
.ck__foot{
  display:flex;align-items:center;gap:.6rem;
  padding:.6rem .8rem;border-top:1px solid rgba(155,255,225,.22);
}
.dlg__ok{
  padding:.35em 1.4em;font-size:.8rem;letter-spacing:.18em;
  color:#04140F;background:#8FE8C4;border:1px solid #DFFFF4;
}
.dlg__ok:hover{background:#DFFFF4}
.ck__no{
  padding:.35em 1em;font-size:.72rem;letter-spacing:.16em;
  color:var(--ph-dim,#7FD6BA);background:none;border:1px solid rgba(155,255,225,.32);
}
.ck__no:hover{color:#DFFFF4;border-color:rgba(155,255,225,.7)}
@media (max-width:760px){
  .ck{left:.6rem;right:.6rem;width:auto}
}
@media (prefers-reduced-motion:reduce){
  .ck{animation:none}
}
