/* Macrosoft Blown-Out 95 (2026-11-02, marcipopsis's gags): the parody layer on top of the Windows 95 desktop.
   The retro look is the subject: grey #c0c0c0 bevels, navy title bars, tooltip yellow, teal desktop. */
[hidden] { display: none !important; }
:root {
    --w-face: #c0c0c0; --w-hi: #dfdfdf; --w-shadow: #808080; --w-navy: #000080; --w-tip: #ffffe1; --w-teal: #008080;
    --w-raised: inset -1px -1px #000, inset 1px 1px #fff, inset -2px -2px #808080, inset 2px 2px #dfdfdf;
    --w-sunken: inset -1px -1px #fff, inset 1px 1px #808080, inset -2px -2px #dfdfdf, inset 2px 2px #000;
    --w-font: "MS Sans Serif", "Microsoft Sans Serif", Tahoma, Geneva, Verdana, sans-serif;
    --w-comic: "Comic Sans MS", "Comic Neue", "Chalkboard SE", "Comic Relief", "Marker Felt", cursive;
    /* the Sloppy menu dressed as a Win95 menu */
    --sm-bg: #c0c0c0; --sm-text: #000; --sm-muted: #3a3a3a; --sm-accent: #000080; --sm-hover: #c9d0ee;
    --sm-font: var(--w-font); --sm-head: var(--w-font); --sm-head-weight: 700; --sm-size: 14px;
    --sm-radius: 0; --sm-border: 2px outset #dfdfdf; --sm-shadow: 3px 3px 0 rgba(0, 0, 0, .55);
    --sm-top: 8px; --sm-right: 6px;
}
.bo-btn {
    font: 12px var(--w-font); color: #000; background: var(--w-face); border: 0; box-shadow: var(--w-raised);
    padding: 5px 14px; min-height: 26px; cursor: pointer;
}
.bo-btn:active:not(:disabled), .bo-btn.down { box-shadow: var(--w-sunken); padding: 6px 13px 4px 15px; }
.bo-btn:disabled { color: #808080; text-shadow: 1px 1px #fff; cursor: default; }
.bo-btn:focus-visible, .start-menu-item:focus-visible, .submenu-item:focus-visible, .taskbar-time:focus-visible,
.tray-sloppy:focus-visible, .bo-task:focus-visible, .gs-cell:focus-visible, .tm-row:focus-visible, .we-dino:focus-visible {
    outline: 2px dotted #000; outline-offset: -4px;
}
.dialog-message { white-space: pre-line; }
.calc-button { display: flex; align-items: center; justify-content: center; }   /* labels sat in the top-left corner */
.start-menu { width: 280px; }

/* --- Start button and menu --- */
.start-button::before { content: "💥"; }
.start-menu { bottom: 40px; }
.start-menu-header {
    float: left; width: 30px; height: auto; align-self: stretch; padding: 8px 0;
    background: linear-gradient(0deg, #ff6a00 0%, #a01800 30%, #2a0000 70%, #000 100%);
    writing-mode: vertical-rl; transform: rotate(180deg); justify-content: flex-start;
    font: 18px var(--w-font); letter-spacing: .5px; color: #fff; white-space: nowrap;
}
.start-menu-header small { font-size: 11px; color: #ffd9b0; margin-bottom: 6px; }
.start-menu-header b { font-weight: 900; }
.start-menu { display: none; }
.start-menu.open { display: flex; }
.start-menu-items { margin-left: 0; flex: 1; min-width: 0; }
button.start-menu-item, button.submenu-item {
    width: 100%; border: 0; background: none; font: inherit; color: inherit; text-align: left;
}
.start-menu-item, .submenu-item { gap: 8px; line-height: 1.2; }
.start-menu-item .ico, .submenu-item .ico { width: 20px; text-align: center; flex: none; }
.start-menu-item:focus-visible, .submenu-item:focus-visible { background: #000080; color: #fff; outline-color: #fff; }
.start-menu-item .tray-face { width: 20px; height: 20px; }
.start-menu-item.has-submenu.open > .start-submenu { display: block; }
.start-menu hr { margin: 4px 8px; border: 0; border-top: 1px solid #808080; border-bottom: 1px solid #fff; }
.start-menu.bo-run { animation: bo-run 1.5s ease-in-out; }
@keyframes bo-run {
    0% { transform: none; } 30% { transform: translateX(-130%) rotate(-8deg); }
    70% { transform: translateX(-130%) rotate(-8deg); } 100% { transform: none; }
}

/* --- taskbar: minimised windows, the Sloppy face in the tray, the soft clock --- */
.taskbar-tasks { display: flex; gap: 3px; flex: 1; min-width: 0; overflow: hidden; padding: 0 4px; }
.bo-task {
    font: 11px var(--w-font); background: var(--w-face); border: 0; box-shadow: var(--w-raised); color: #000;
    height: 28px; max-width: 150px; min-width: 0; padding: 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer;
}
.taskbar-systray { margin-left: 0; gap: 4px; padding: 0 4px; box-shadow: var(--w-sunken); height: 30px; }
#muteButton { border: 0; background: none; box-shadow: none; }
.tray-sloppy { border: 0; background: none; padding: 0 2px; height: 28px; display: flex; align-items: center; cursor: pointer; }
.tray-face { width: 24px; height: 24px; display: block; shape-rendering: crispEdges; }
.tray-face .eyes > *, .tray-face .lines > * { transform-box: fill-box; transition: transform .18s ease; }
.tray-face .eyes > * { transform-origin: center; }
.tray-face .lines > * { transform-origin: left center; transform: scaleX(0); }
.tray-face .lines > :nth-child(2) { transition-delay: .05s; } .tray-face .lines > :nth-child(3) { transition-delay: .1s; }
.tray-sloppy:hover .eyes > *, .tray-sloppy:focus-visible .eyes > *, .tray-sloppy.show .eyes > *, .start-menu-item:hover .eyes > * { transform: scaleY(0); }
.tray-sloppy:hover .lines > *, .tray-sloppy:focus-visible .lines > *, .tray-sloppy.show .lines > *, .start-menu-item:hover .lines > * { transform: scaleX(1); }
.tray-sloppy.show { animation: bo-nudge .6s ease-in-out 2; }
@keyframes bo-nudge { 50% { transform: translateY(-3px); } }
.taskbar-time {
    font: 11px var(--w-font); color: #000; background: transparent; border: 0; box-shadow: none; cursor: pointer;
    position: relative; padding: 4px 8px; margin: 0 2px 0 0; white-space: nowrap; min-height: 0; height: 24px; transform-origin: 0 50%;
}
.taskbar-time span { display: inline-block; white-space: pre; transform-origin: 0 0; }   /* soft digits sag (melt() sets each) */
.taskbar-time.melting { animation: bo-melt .9s ease-in-out; }
@keyframes bo-melt { 35% { transform: skewX(-16deg) scaleY(1.25); } 70% { transform: skewX(5deg) scaleY(.9); } }

/* --- Staples, Paperclip's cousin --- */
.staples {
    position: fixed; right: 14px; bottom: 54px; z-index: 10000; display: flex; align-items: flex-end; gap: 4px;
    max-width: min(330px, calc(100vw - 28px)); font: 12px var(--w-font); animation: bo-pop .45s ease-out;
}
@keyframes bo-pop { 0% { transform: translateY(60px) scale(.8); } 70% { transform: translateY(-6px); } 100% { transform: none; } }
.staples-bubble {
    position: relative; background: var(--w-tip); border: 1px solid #000; border-radius: 6px; padding: 10px 12px 8px;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, .35); flex: 1; min-width: 0;
}
.staples-bubble::after {
    content: ""; position: absolute; right: -9px; bottom: 18px; border: 8px solid transparent; border-left-color: #000; border-right: 0;
}
.staples-name { font-weight: 700; color: #000080; margin-bottom: 4px; }
.staples-line { line-height: 1.4; color: #000; margin: 0 0 8px; font-size: 13px; }
.staples-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.staples-btns .bo-btn { min-height: 32px; }
.staples-guy { width: 64px; height: 86px; flex: none; animation: bo-bob 2.4s ease-in-out infinite; }
.staples-guy .lid { animation: bo-blink 4s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes bo-bob { 50% { transform: translateY(-4px) rotate(2deg); } }
@keyframes bo-blink { 0%, 92%, 100% { transform: scaleY(0); } 95% { transform: scaleY(1); } }

/* --- surprise error popups: small, stacked, never modal --- */
.bo-errors { position: fixed; inset: 0; pointer-events: none; z-index: 9000; }
.bo-err {
    position: absolute; width: min(300px, calc(100vw - 56px)); pointer-events: auto; background: var(--w-face);
    box-shadow: var(--w-raised), 3px 3px 0 rgba(0, 0, 0, .35); padding: 3px; font: 12px var(--w-font); color: #000;
    animation: bo-errin .12s steps(2);
}
@keyframes bo-errin { from { transform: scale(.9); } }
.bo-err-title {
    display: flex; align-items: center; justify-content: space-between; gap: 6px; height: 22px; padding: 0 2px 0 6px;
    background: linear-gradient(90deg, #000080, #1084d0); color: #fff; font-weight: 700;
}
.bo-err-x { width: 22px; height: 18px; font: 700 12px var(--w-font); padding: 0; min-height: 0; }
.bo-err-x:active:not(:disabled) { padding: 1px 0 0 1px; }
.bo-err-body { display: flex; gap: 12px; align-items: center; padding: 12px 10px 8px; }
.bo-err-icon { font-size: 28px; flex: none; }
.bo-err-body p { margin: 0; line-height: 1.4; }
.bo-err-btns { display: flex; justify-content: center; gap: 8px; padding: 4px 0 8px; }
.bo-err-btns .bo-btn { min-width: 80px; min-height: 32px; }

/* --- tray balloon (an update is available) --- */
.bo-balloon {
    position: fixed; right: 10px; bottom: 50px; z-index: 9500; width: min(290px, calc(100vw - 20px));
    background: var(--w-tip); border: 1px solid #000; border-radius: 6px; padding: 10px 12px; font: 12px var(--w-font);
    color: #000; box-shadow: 3px 3px 0 rgba(0, 0, 0, .35); animation: bo-pop .35s ease-out;
}
.bo-balloon b { display: block; margin-bottom: 4px; }
.bo-balloon p { margin: 0 0 8px; line-height: 1.4; }
.bo-balloon .bo-btn { min-height: 32px; margin-right: 6px; }

/* --- Not-Notepad --- */
.nn { position: relative; height: 100%; display: flex; flex-direction: column; background: #fff; }
.nn-menu { display: flex; gap: 14px; padding: 3px 8px; background: var(--w-face); font: 12px var(--w-font); border-bottom: 1px solid #808080; }
.nn-menu u { text-decoration: underline; }
.nn-text { flex: 1; width: 100%; border: 0; outline: 0; resize: none; padding: 6px; font: 14px "Courier New", Courier, monospace; }
.nn-status { font: 11px var(--w-font); background: var(--w-face); padding: 3px 8px; border-top: 1px solid #fff; color: #000; min-height: 20px; }
.nn.frozen .nn-text { cursor: wait; color: #555; }
.nn-fog {
    position: absolute; inset: 0; background: rgba(255, 255, 255, .62); display: flex; align-items: center; justify-content: center;
    padding: 12px; cursor: wait;
}
.nn-banner:focus { outline: 0; }
.nn-banner { background: var(--w-face); box-shadow: var(--w-raised), 3px 3px 0 rgba(0, 0, 0, .3); max-width: 300px; font: 12px var(--w-font); cursor: default; }
.nn-banner-title { background: linear-gradient(90deg, #000080, #1084d0); color: #fff; font-weight: 700; padding: 3px 6px; }
.nn-banner p { margin: 10px 12px; line-height: 1.4; }
.nn-banner .row { display: flex; gap: 8px; justify-content: center; padding: 0 10px 10px; }
.nn-banner .bo-btn { min-height: 34px; min-width: 90px; }

/* --- Glitchsweeper --- */
.gs { height: 100%; background: var(--w-face); padding: 8px; display: flex; flex-direction: column; gap: 8px; font: 12px var(--w-font); position: relative; overflow: hidden; }
.gs-top { display: flex; align-items: center; justify-content: space-between; padding: 6px; box-shadow: var(--w-sunken); }
.gs-lcd { background: #000; color: #ff2a1a; font: 700 22px "Courier New", monospace; padding: 0 4px; letter-spacing: 1px; min-width: 52px; text-align: center; text-shadow: 0 0 6px #ff2a1a; }
.gs-face { width: 38px; height: 38px; font-size: 22px; padding: 0; line-height: 1; }
.gs-field {
    align-self: center; display: grid; grid-template-columns: repeat(9, var(--gs-cell, 32px)); grid-auto-rows: var(--gs-cell, 32px);
    box-shadow: var(--w-sunken); padding: 3px; background: #808080; gap: 0;
}
.gs-cell { border: 0; padding: 0; background: var(--w-face); box-shadow: var(--w-raised); font-size: calc(var(--gs-cell, 32px) * .55); line-height: 1; cursor: pointer; }
.gs-cell.boom { box-shadow: inset 1px 1px #808080; background: #ffd400; cursor: default; }
.gs-cell.boom.latest { background: #ff3b30; }
.gs-status { text-align: center; min-height: 2.6em; line-height: 1.3; color: #000; }
.gs-win {
    position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%) rotate(-6deg); pointer-events: none;
    font: 900 44px var(--w-comic); color: #ffea00; white-space: nowrap;
    text-shadow: 3px 3px 0 #000080, -2px -2px 0 #ff2bd6, 0 0 18px #fff; animation: bo-win 1.3s ease-out forwards;
}
@keyframes bo-win { 0% { transform: translate(-50%, -50%) scale(.2) rotate(-30deg); } 25% { transform: translate(-50%, -50%) scale(1.25) rotate(-4deg); } 80% { opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1) rotate(-6deg); opacity: 0; } }
.gs-bit { position: fixed; width: 7px; height: 7px; pointer-events: none; z-index: 20000; animation: bo-bit .9s ease-out forwards; }
@keyframes bo-bit { to { transform: translate(var(--dx), var(--dy)) rotate(540deg); opacity: 0; } }

/* --- Paint-splatter --- */
.splat-btn { width: auto !important; padding: 0 6px; font: 700 12px var(--w-font); color: #c0007a; }
.splat-status { position: absolute; right: 8px; top: 8px; max-width: calc(100% - 16px); font: 11px var(--w-font); background: rgba(192, 192, 192, .92); padding: 3px 6px; box-shadow: var(--w-raised); color: #000; pointer-events: none; }
.splat-status.possessed { color: #fff; background: #c0007a; }

/* --- Elevamp --- */
.ea { height: 100%; background: #2b2b38; padding: 8px; display: flex; flex-direction: column; justify-content: center; gap: 8px; font: 11px var(--w-font); color: #d8d8e8; }
.ea-lcd { background: #000; box-shadow: inset 1px 1px #000, inset -1px -1px #5a5a70, inset 2px 2px #14141c; padding: 8px; display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; align-items: center; }
.ea-time { font: 700 26px "Courier New", monospace; color: #00e85a; text-shadow: 0 0 6px #00a040; }
.ea-viz { display: flex; align-items: flex-end; gap: 2px; height: 30px; }
.ea-viz i { flex: 1; background: linear-gradient(0deg, #00e85a, #e8e800 70%, #ff3b30); height: 2px; min-width: 3px; }
.ea-marquee { grid-column: 1 / -1; overflow: hidden; white-space: nowrap; color: #00e85a; font: 12px "Courier New", monospace; }
.ea-marquee span { display: inline-block; padding-left: 100%; animation: bo-marquee 12s linear infinite; }
@keyframes bo-marquee { to { transform: translateX(-100%); } }
.ea-info { grid-column: 1 / -1; color: #7ab88e; font: 11px "Courier New", monospace; min-height: 1.3em; }
.ea-row { display: flex; gap: 4px; }
.ea-row .bo-btn { flex: 1; min-height: 36px; padding: 0; font-size: 15px; }
.ea-vol { display: flex; align-items: center; gap: 8px; color: #d8d8e8; font-weight: 700; }
.ea-vol input { flex: 1; accent-color: #00e85a; min-height: 32px; }

/* --- Web Explorer (dial-up) --- */
.we { height: 100%; display: flex; flex-direction: column; background: var(--w-face); font: 12px var(--w-font); color: #000; }
.we-bar { display: flex; gap: 4px; padding: 4px; flex-wrap: wrap; }
.we-bar .bo-btn { min-height: 32px; padding: 0 10px; }
.we-addr { display: flex; align-items: center; gap: 6px; padding: 0 4px 4px; }
.we-url { flex: 1; min-width: 0; background: #fff; box-shadow: var(--w-sunken); padding: 4px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.we-page { flex: 1; min-height: 0; overflow: auto; background: #fff; box-shadow: var(--w-sunken); margin: 0 4px; }
.we-status { padding: 3px 6px; min-height: 20px; }
.we-dial { height: 100%; display: flex; align-items: center; justify-content: center; background: #008080; padding: 10px; }
.we-dial-box { background: var(--w-face); box-shadow: var(--w-raised), 3px 3px 0 rgba(0, 0, 0, .3); width: min(330px, 100%); padding: 3px; }
.we-dial-title { background: linear-gradient(90deg, #000080, #1084d0); color: #fff; font-weight: 700; padding: 3px 6px; }
.we-dial-in { padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.we-wires { font-size: 22px; display: flex; align-items: center; justify-content: space-between; }
.we-wires .dots { flex: 1; height: 4px; margin: 0 6px; background: repeating-linear-gradient(90deg, #000 0 4px, transparent 4px 10px); background-size: 20px 4px; animation: bo-dots .5s linear infinite; }
@keyframes bo-dots { to { background-position: 20px 0; } }
.we-prog { height: 18px; box-shadow: var(--w-sunken); padding: 3px; background: #fff; }
.we-prog i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, #000080 0 9px, transparent 9px 11px); }
.we-dial-in p { margin: 0; line-height: 1.35; }
.we-rate { color: #404040; }
.we-skip { align-self: flex-end; min-height: 34px; }
.we-err { padding: 14px 16px 18px; max-width: 520px; font: 13px Verdana, Geneva, Tahoma, sans-serif; color: #000; line-height: 1.45; }
.we-err h2 { font: 700 17px Verdana, Geneva, Tahoma, sans-serif; margin: 6px 0 8px; }
.we-err ul { margin: 6px 0 10px 20px; }
.we-err hr { border: 0; border-top: 1px solid #c0c0c0; margin: 10px 0; }
.we-err .we-code { color: #555; font-size: 11px; }
.we-dino { display: block; width: 160px; height: auto; cursor: pointer; margin: 0 0 4px; touch-action: manipulation; image-rendering: pixelated; }
.we-dino.hop { animation: bo-hop .5s cubic-bezier(.3, .9, .4, 1); }
@keyframes bo-hop { 40% { transform: translateY(-26px); } 100% { transform: none; } }
.we-gb { padding: 8px; }

/* --- Task Manager --- */
.tm { height: 100%; display: flex; flex-direction: column; background: var(--w-face); padding: 6px; gap: 6px; font: 12px var(--w-font); color: #000; }
.tm-tabs { display: flex; gap: 2px; }
.tm-tabs span { padding: 4px 10px; box-shadow: var(--w-raised); }
.tm-tabs span.on { font-weight: 700; }
.tm-list { flex: 1; min-height: 0; overflow: auto; background: #fff; box-shadow: var(--w-sunken); padding: 2px; }
.tm-head, .tm-row { display: grid; grid-template-columns: minmax(0, 1fr) 46px 74px; gap: 6px; align-items: center; width: 100%; }
.tm-head { position: sticky; top: 0; background: var(--w-face); box-shadow: var(--w-raised); padding: 3px 6px; font-weight: 700; }
.tm-row { border: 0; background: none; font: 12px var(--w-font); text-align: left; padding: 4px 6px; min-height: 28px; cursor: pointer; color: #000; }
.tm-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-row span + span, .tm-head span + span { text-align: right; }
.tm-row[aria-selected="true"] { background: #000080; color: #fff; }
.tm-row.ending { color: #808080; font-style: italic; }
.tm-row.new { animation: bo-flash .8s steps(4); }
@keyframes bo-flash { 50% { background: #ffff00; } }
.tm-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 36px; }
.tm-foot .bo-btn { min-height: 34px; min-width: 96px; }
.tm-note { flex: 1; color: #000080; line-height: 1.3; }
.tm-status { box-shadow: var(--w-sunken); padding: 3px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* --- Blown-Out Update --- */
.up { height: 100%; background: var(--w-face); padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; font: 12px var(--w-font); color: #000; }
.up-head { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.up-head .spin { font-size: 26px; display: inline-block; animation: bo-spin 2s linear infinite; }
@keyframes bo-spin { to { transform: rotate(360deg); } }
.up p { margin: 0; line-height: 1.4; }
.up-prog { height: 22px; box-shadow: var(--w-sunken); padding: 3px; background: #fff; }
.up-prog i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, #000080 0 11px, transparent 11px 13px); transition: width .25s steps(3); }
.up-warn { color: #800000; }
.up-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.up-btns .bo-btn { min-height: 34px; }

/* --- Shut Down (Explode) --- */
.bo-flashout { position: fixed; inset: 0; background: #fff; z-index: 200000; pointer-events: none; animation: bo-flashout .7s ease-out forwards; }
@keyframes bo-flashout { from { opacity: 1; } to { opacity: 0; } }
.bo-kaboom { position: fixed; left: 50%; top: 45%; z-index: 200001; font-size: 120px; pointer-events: none; transform: translate(-50%, -50%); animation: bo-kaboom 1.2s ease-out forwards; }
@keyframes bo-kaboom { 0% { transform: translate(-50%, -50%) scale(.1); } 30% { transform: translate(-50%, -50%) scale(2.4); } 100% { transform: translate(-50%, -50%) scale(3.2); opacity: 0; } }
.bo-shake { animation: bo-shake .5s linear 2; }
@keyframes bo-shake { 25% { transform: translate(-8px, 5px) rotate(-1deg); } 50% { transform: translate(7px, -6px); } 75% { transform: translate(-5px, -4px) rotate(1deg); } }
.bo-flying { transition: transform 1.1s cubic-bezier(.2, .7, .4, 1), opacity 1.1s ease-in; }

/* --- 3D Pinball (2D Edition): the Seven Hills table --- */
.pb { height: 100%; display: flex; flex-direction: column; background: var(--w-face); font: 12px var(--w-font); }
.pb-top { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px; margin: 4px; box-shadow: var(--w-sunken); }
.pb-lives { min-width: 30px; }
.pb-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; background: #1c1226; margin: 0 4px 4px; box-shadow: var(--w-sunken); overflow: hidden; }
.pb-canvas { display: block; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; cursor: pointer; }

/* --- phones and small screens --- */
@media (max-width: 768px) {
    .start-menu { bottom: 48px; width: min(260px, calc(100vw - 8px)); }
    .start-menu-item, .submenu-item { min-height: 40px; }
    .taskbar-systray { height: 40px; }
    .tray-sloppy { height: 40px; padding: 0 6px; }
    .tray-face { width: 30px; height: 30px; }
    #muteButton { min-width: 40px; height: 36px; font-size: 16px; }
    .taskbar-time { height: 34px; padding: 4px 8px; font-size: 13px; }
    .bo-task { height: 36px; max-width: 110px; }
    .staples { bottom: 60px; }
    .bo-balloon { bottom: 58px; }
    /* Programs and Games open inside the menu on narrow screens, by tap */
    .start-menu-item.has-submenu { flex-wrap: wrap; }
    .start-menu-item.has-submenu:hover > .start-submenu { display: none; }
    .start-menu-item.has-submenu.open > .start-submenu { display: block; }
    .start-menu-item.has-submenu.open { background: #000080; color: #fff; }
    .start-menu-item.has-submenu::after { top: 14px; }
    .start-menu-item.has-submenu.open::after { content: "▼"; }
    .start-submenu { position: static; flex-basis: calc(100% + 32px); width: auto; margin: 8px -16px -8px; color: #000; box-shadow: none; border-width: 2px 0 0; }
    .start-submenu .submenu-item { padding-left: 34px; }
}
@media (max-width: 480px) {
    .window { max-width: 100vw; }
    .staples-guy { width: 52px; height: 70px; }
    .gs-win { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) {
    .staples, .staples-guy, .bo-err, .bo-balloon, .gs-win, .gs-bit, .start-menu.bo-run, .taskbar-time.melting,
    .we-wires .dots, .ea-marquee span, .tray-sloppy.show, .up-head .spin, .we-dino.hop, .bo-shake, .tm-row.new { animation: none !important; }
    .ea-marquee span { padding-left: 0; }
}
