








#pres-chrome {
  position: fixed;
  inset: 0;
  z-index: var(--z-view);        
  pointer-events: none;
}




#pres-head {
  position: absolute;
  top: 24px;
  left: 96px;                    
  max-width: 42vw;
  pointer-events: auto;
  color: var(--top-ui-color, var(--text-primary));
}

#pres-name {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.15;
}


#pres-model {
  font-size: 12px;
  opacity: 0.6;
  margin-top: 2px;
}




#pres-page {
  font-size: 15px;
  margin-top: 14px;
}


















#pres-note {
  display: none;               
  position: relative;
  box-sizing: border-box;
  width: 200px;
  height: 200px;
  margin-top: 14px;
  padding: 18px 20px;
  background: #fff6a8;
  color: #4a4210;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;       
  overflow-y: auto;
  border-radius: 1px 1px 16px 1px;
  box-shadow: 3px 8px 18px rgba(0, 0, 0, 0.28);
  cursor: grab;
  touch-action: none;          
  user-select: none;
}

#pres-note.pres-note--drag {
  cursor: grabbing;
  box-shadow: 4px 14px 26px rgba(0, 0, 0, 0.34);
}




.pres-note-grip {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 20px;
  height: 20px;
  cursor: nwse-resize;
  touch-action: none;
}

.pres-note-grip::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 20px 20px;
  border-color: transparent transparent #e8d571 transparent;
}





.pres-note-close {
  position: sticky;
  top: 0;
  float: right;
  width: 18px;
  height: 18px;
  margin: -12px -14px 0 4px;
  font-size: 16px;
  line-height: 18px;
  text-align: center;
  color: #4a4210;
  opacity: 0.45;
  cursor: pointer;
}
.pres-note-close:hover { opacity: 0.9; }




#pres-exit {
  position: absolute;
  top: 24px;
  left: 24px;
  width: var(--badge);
  height: var(--badge);
  border-radius: 50%;
  background: var(--ui-bg);
  color: var(--ui-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.2s ease, transform 0.15s ease;
}

#pres-exit:hover  { background: var(--ui-bg-hover); }
#pres-exit:active { transform: scale(0.94); }






#pres-brand {
  position: absolute;
  left: 24px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--top-ui-color, var(--text-primary));
  text-decoration: none;
  pointer-events: auto;
  cursor: pointer;
}

#pres-brand .pres-brand-clear,
#pres-brand .pres-brand-name { opacity: 0.7; transition: opacity 0.2s ease; }
#pres-brand .pres-brand-name { font-weight: 600; }
#pres-brand:hover .pres-brand-clear,
#pres-brand:hover .pres-brand-name { opacity: 1; }

.pres-brand-disc {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ui-bg);
  color: var(--ui-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
#pres-brand:hover .pres-brand-disc { background: var(--ui-bg-hover); }

.pres-brand-disc .icon-mask {
  width: 20px;
  height: 20px;
}



#pres-nav {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
}




.pres-arrow {
  width: var(--badge);
  height: var(--badge);
  border-radius: 50%;
  background: var(--ui-bg);
  color: var(--ui-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.15s ease;
}

.pres-arrow:hover  { background: var(--ui-bg-hover); }
.pres-arrow:active { transform: scale(0.94); }



.pres-arrow--off { opacity: 0.35; cursor: default; }
.pres-arrow--off:hover  { background: var(--ui-bg); }
.pres-arrow--off:active { transform: none; }

#pres-count {
  font-size: 12px;
  opacity: 0.6;
  min-width: 44px;
  text-align: center;
  color: var(--top-ui-color, var(--text-primary));
}













body.presenting #node-timeline-panel {
  bottom: 72px !important;
  max-height: calc(100vh - 220px) !important;
}







body.presenting #logo-btn,
body.presenting #model-title-block,
body.presenting #add-node-btn,
body.presenting #undo-badge,
body.presenting #table-view-btn,
body.presenting #settings-controls,
body.presenting #scene-btn { display: none !important; }
