.startmenu {
    background-color: #0f61cb; border: 1px solid rgba(0,0,0,0.3);
    border-radius: 6px 6px 0 0; bottom: calc(var(--taskbar-height) + 1px);
    box-shadow: 0 -2px 8px rgba(0,0,0,0.35), 2px 4px 10px rgba(0,0,0,0.35);
    display: flex; flex-direction: column; height: 460px; left: 0;
    opacity: 0; overflow: hidden; position: fixed;
    transition: opacity 0.1s ease, visibility 0s linear 0.1s;
    visibility: hidden; width: 340px; z-index: 600;
    font-family: Tahoma, Arial, sans-serif;
}
.startmenu.active { opacity: 1; visibility: visible; transition: opacity 0.1s ease, visibility 0s; }
.start-header {
    align-items: center;
    background: linear-gradient(180deg, #1868ce 0%, #0e60cb 20%, #297ae0 65%, #4791eb 100%);
    border-radius: 5px 5px 0 0; display: flex; flex: 0 0 52px; gap: 10px; padding: 0 12px;
}
.start-avatar { border: 2px solid rgba(255,255,255,0.7); border-radius: 3px; height: 40px; width: 40px; object-fit: cover; }
.start-username { color: #fff; font-size: 14px; font-weight: bold; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); }
.start-body { display: flex; flex: 1; overflow: hidden; position: relative; }
/* Orange rule under the user header */
.start-body::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 1;
    background: linear-gradient(90deg, rgba(218,136,74,0) 0%, #da884a 25%, #da884a 75%, rgba(218,136,74,0) 100%);
}
a.start-item { text-decoration: none; }
.start-left { background: #fff; display: flex; flex-direction: column; width: 55%; overflow-y: auto; }
.start-right { background: #d3e5fa; border-left: 1px solid #a6bbd6; display: flex; flex-direction: column; width: 45%; overflow-y: auto; }
.start-items { list-style: none; margin: 0; padding: 4px 0; width: 100%; }
.start-item {
    align-items: center; cursor: pointer; display: flex;
    font-size: 12px; padding: 5px 8px; gap: 8px;
    transition: background-color 0.05s; color: #000;
}
.start-item:hover { background-color: #316ac5; color: #fff; }
.start-item .si-icon {
    align-items: center; display: flex; justify-content: center;
    font-size: 24px; height: 30px; width: 30px; text-align: center; flex-shrink: 0;
    filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.2));
}
.start-right .start-item .si-icon { font-size: 20px; height: 25px; width: 25px; }
.xp-menu-icon {
    display: block; height: 100%; width: 100%; object-fit: contain;
}
.si-content { display: flex; flex-direction: column; }
.si-title { font-size: 12px; font-weight: 500; }
.si-desc { font-size: 9px; color: #888; margin-top: 1px; }
.start-item:hover .si-desc { color: rgba(255,255,255,0.7); }
.start-right .start-item { font-weight: 700; font-size: 11px; }
.start-sep { height: 1px; background: #e0e0e0; margin: 3px 8px; }
.start-right .start-sep { background: #a6bbd6; }
.start-footer {
    align-items: center;
    background: linear-gradient(180deg, #3883d3, #2968c8);
    border-top: 1px solid rgba(0,0,0,0.25);
    display: flex; flex: 0 0 40px; justify-content: flex-end; gap: 4px; padding: 0 10px;
}
.start-footer-btn {
    align-items: center; background: none; border: none; color: #fff;
    cursor: pointer; display: flex; font-family: Tahoma, Arial, sans-serif;
    font-size: 12px; gap: 5px; padding: 4px 8px; border-radius: 2px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.4);
}
.start-footer-btn:hover { background: rgba(255,255,255,0.15); }
.start-footer-btn i { font-size: 14px; }
.xp-footer-icon { width: 18px; height: 18px; object-fit: contain; }
@media (max-width: 600px) { .startmenu { width: 100%; height: 70vh; border-radius: 10px 10px 0 0; } }
.start-pinned .si-title { font-weight: bold; }

/* All Programs row and its flyout */
.start-allprograms-wrap { margin-top: auto; padding: 4px 6px 6px; }
.start-allprograms-wrap::before {
    content: ""; display: block; height: 1px; margin: 0 4px 5px;
    background: linear-gradient(90deg, transparent, #c1c1c1 20%, #c1c1c1 80%, transparent);
}
.start-allprograms {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 4px;
    background: none; border: 0; border-radius: 2px; color: #000; cursor: pointer;
    font: bold 12px Tahoma, Verdana, Arial, sans-serif;
}
.start-allprograms img { width: 20px; height: 20px; object-fit: contain; }
.start-allprograms:hover, .start-allprograms.is-open, .start-allprograms:focus-visible { background: #316ac5; color: #fff; outline: none; }
.xp-menu.start-flyout { min-width: 200px; }
.start-flyout .xp-menu-item { min-height: 26px; }
.start-flyout .xp-menu-lead { flex-basis: 32px; }
.start-flyout .xp-menu-lead img { width: 20px; height: 20px; }
