#titlebar { -webkit-app-region: drag; background: #23272e; color: #d4d4d4; height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; font-family: "Segoe UI", "Arial", sans-serif; border-bottom: 2px solid #20232a; border-radius: 10px 10px 0 0; box-shadow: 0 2px 8px rgba(0,0,0,0.14); } .title { font-size: 15px; font-weight: 500; letter-spacing: 0.5px; user-select: none; } .controls { display: flex; align-items: center; gap: 2px; } .controls button { -webkit-app-region: no-drag; background: transparent; border: none; color: #d4d4d4; margin-left: 6px; font-size: 15px; width: 28px; height: 28px; border-radius: 4px; transition: background 0.15s; cursor: pointer; display: flex; align-items: center; justify-content: center; /* Remove all focus outlines */ outline: none; } .controls button:focus { outline: none; } .controls button:focus-visible { outline: none; } .controls button:hover { background: #313640; } .controls button#close:hover { background: #e06c75; } .controls button#close:hover svg path { stroke: #fff; } body { background: #23272e; margin: 0; /* VSCode-like border and shadow */ border: 2px solid #20232a; border-radius: 10px; box-shadow: 0 8px 32px 0 rgba(0,0,0,0.22), /* stronger outer shadow */ 0 0 0 2px #23272e inset, /* inner border for depth */ 0 2px 0 0 #20232a inset; /* top inner accent */ overflow: hidden; position: relative; } #iframe, #webview { border: none; width: 100vw; height: calc(100vh - 34px); border-radius: 0 0 10px 10px; box-shadow: 0 2px 16px rgba(0,0,0,0.12); border-top: 2px solid #20232a; } /* Subtle resize indicator at bottom corners */ body::after { content: ''; position: fixed; left: 0; right: 0; bottom: 0; height: 8px; border-radius: 0 0 10px 10px; box-shadow: 0 2px 12px rgba(0,0,0,0.14); pointer-events: none; }