/* The Safari window and its three sibling applications share macOS chrome. */
.mac-aux,.mac-resize{display:none}
@media(min-width:741px){
  #desk .mac-window{
    position:absolute;display:flex;flex-direction:column;max-width:none;max-height:none;
    overflow:hidden;isolation:isolate;transform:none;transform-origin:center;
    backdrop-filter:blur(24px);border:1px solid rgba(255,255,255,.6);border-radius:14px;
    box-shadow:0 30px 80px rgba(8,4,18,.5);
  }
  #desk .mac-window[hidden]{display:none}
  #desk .mac-window.mac-max{border-radius:0}
  #desk .mac-window:focus{outline:none}
  #desk .mac-aux{background:#fff;color:#1c1822}
  #desk .mac-win-bar,#desk .mac-window>.toolrow{
    display:flex;align-items:center;gap:8px;min-height:38px;flex:none;
    touch-action:none;user-select:none;cursor:grab;
  }
  #desk .mac-win-bar{padding:12px 14px;background:rgba(243,240,247,.92);border-bottom:1px solid rgba(28,24,34,.12)}
  #desk .mac-win-bar:active,#desk .mac-window>.toolrow:active{cursor:grabbing}
  #desk .mac-body{display:flex;flex:1;min-height:0;flex-direction:column;overflow:auto}
  #desk .mac-app-about{background:rgba(18,14,26,.94);color:#e9e6ed;border-color:rgba(255,255,255,.16)}
  #desk .mac-app-about .mac-win-bar{background:rgba(255,255,255,.06);border-bottom-color:rgba(255,255,255,.1)}
  #desk .mac-win-title{font:650 13.5px/1.2 system-ui,sans-serif;flex:1;margin-right:55px;text-align:center;color:#57505f;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
  #desk .mac-app-about .mac-win-title{font:500 13px/1.2 'SF Mono',ui-monospace,monospace;color:rgba(255,255,255,.65)}
  #desk .mac-app-contact .mac-win-bar{background:rgba(248,246,251,.95)}
  #desk .mac-traffic{display:flex;align-items:center;gap:8px;flex:none}
  #desk .mac-window [data-window-command]{display:grid;place-items:center;position:relative;width:13px;height:13px;min-width:13px;min-height:13px;border:1px solid rgba(0,0,0,.12);border-radius:50%;padding:0;line-height:1;cursor:pointer}
  #desk .mac-window [data-window-command]::before{display:none}
  #desk [data-window-command="close"]{background:#ff5f57}
  #desk [data-window-command="minimize"]{background:#febc2e}
  #desk [data-window-command="maximize"]{background:#28c840}
  #desk [data-window-command]::after{font:bold 10px/1 system-ui,sans-serif;position:absolute;inset:0;display:grid;place-items:center;color:rgba(0,0,0,.55);opacity:0}
  #desk [data-window-command="close"]::after{content:'×'}#desk [data-window-command="minimize"]::after{content:'−'}#desk [data-window-command="maximize"]::after{content:'+'}
  #desk .mac-traffic:hover [data-window-command]::after,#desk .toolrow:has([data-window-command]:hover) [data-window-command]::after,#desk [data-window-command]:focus-visible::after{opacity:1}
  #desk .mac-resize{display:block;position:absolute;z-index:6;touch-action:none}
  .mac-edge-l,.mac-edge-r{top:10px;bottom:10px;width:7px;cursor:ew-resize}
  .mac-edge-l{left:-3px}.mac-edge-r{right:-3px}
  .mac-edge-b{bottom:-3px;left:10px;right:10px;height:7px;cursor:ns-resize}
  .mac-edge-bl,.mac-edge-br{bottom:-5px;width:14px;height:14px}
  .mac-edge-bl{left:-5px;cursor:nesw-resize}.mac-edge-br{right:-5px;cursor:nwse-resize}
  #desk .mac-max .mac-resize{display:none}
}
