/* ═══════════════════════════════════════════════════════════════
   WINDOWS  98  SKIN   (visuals only — structure lives in base.css)
   Palette: #008080 · #d4d0c8 · #000080 · #ffd740
   Load order: base.css → this file (skin overrides base by cascade).
   ═══════════════════════════════════════════════════════════════ */

/* ── Body — Win98 teal desktop ──────────────────────────────── */
body {
    background-color: #008080;
    color: #000000;
    font-family: 'MS Sans Serif', Tahoma, Arial, sans-serif;
    font-size: 0.82rem;
    line-height: 1.65;
}

/* ── Container ─────────────────────────────────────────────── */
.terminal {
    max-width: 980px;
    padding: 32px 24px 100px;
}

/* ── Block — Win98 window panel ─────────────────────────────── */
.block {
    background: #d4d0c8;
    border-top:    2px solid #ffffff;
    border-left:   2px solid #ffffff;
    border-right:  2px solid #404040;
    border-bottom: 2px solid #404040;
    box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 #808080;
    margin-bottom: 6px;
    padding: 14px;
}

/* ── Prompt — Win98 title bar ───────────────────────────────── */
.prompt {
    background: linear-gradient(to right, #000080 0%, #1084d0 70%);
    margin: -14px -14px 14px;
    padding: 3px 4px 3px 6px;
    gap: 7px;
    overflow-x: hidden;
}

/* Crisp SVG folder icon — title bar (content:url renders as vector, no blur) */
.prompt::before {
    content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='13' viewBox='0 0 16 13' shape-rendering='crispEdges'><path d='M0,4 L0,0 L7,0 L7,4 L16,4 L16,13 L0,13 Z' fill='%23ffd740'/><polyline points='0,13 0,0 7,0 7,4 16,4' fill='none' stroke='%23ffe880' stroke-width='1'/><polyline points='16,4 16,13 0,13' fill='none' stroke='%23806000' stroke-width='1'/></svg>");
    flex-shrink: 0;
    line-height: 1;
    vertical-align: middle;
}

/* Command = window title */
.p-cmd {
    font-family: Tahoma, 'MS Sans Serif', Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0;
    text-transform: none;
    flex: 1;
}

/* Win98 window control buttons — SVG draws each button properly */
.prompt::after {
    content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='54' height='14' shape-rendering='crispEdges'><rect x='0' y='0' width='16' height='14' fill='%23d4d0c8'/><polyline points='15,0 0,0 0,13' fill='none' stroke='%23ffffff' stroke-width='1'/><polyline points='0,13 15,13 15,0' fill='none' stroke='%23404040' stroke-width='1'/><rect x='4' y='10' width='7' height='2' fill='%23000000'/><rect x='19' y='0' width='16' height='14' fill='%23d4d0c8'/><polyline points='34,0 19,0 19,13' fill='none' stroke='%23ffffff' stroke-width='1'/><polyline points='19,13 34,13 34,0' fill='none' stroke='%23404040' stroke-width='1'/><rect x='23' y='4' width='8' height='7' fill='none' stroke='%23000000' stroke-width='1'/><rect x='23' y='4' width='8' height='2' fill='%23000000'/><rect x='38' y='0' width='16' height='14' fill='%23d4d0c8'/><polyline points='53,0 38,0 38,13' fill='none' stroke='%23ffffff' stroke-width='1'/><polyline points='38,13 53,13 53,0' fill='none' stroke='%23404040' stroke-width='1'/><line x1='42' y1='4' x2='49' y2='10' stroke='%23000000' stroke-width='1.5'/><line x1='49' y1='4' x2='42' y2='10' stroke='%23000000' stroke-width='1.5'/></svg>");
    flex-shrink: 0;
    cursor: default;
    line-height: 1;
    vertical-align: middle;
}

/* ── Divider — Win98 separator ──────────────────────────────── */
.divider {
    border: none;
    border-top:    1px solid #808080;
    border-bottom: 1px solid #ffffff;
    margin: 24px 0;
}

/* ── Output text ────────────────────────────────────────────── */
.out { color: #000000; font-size: 0.82rem; }
.out.dim { color: #808080; font-size: 0.75rem; }

.caret { color: #000080; margin-right: 6px; }
.out strong { color: #000000; font-weight: 700; }

code {
    font-family: 'Courier New', monospace;
    font-size: 0.85em;
    color: #000080;
    background: #ffffff;
    border-top:    1px solid #808080;
    border-left:   1px solid #808080;
    border-right:  1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    padding: 0 4px;
}

.out.quote {
    margin-top: 12px;
    padding: 8px 12px;
    background: #ffffff;
    border-top:    1px solid #808080;
    border-left:   1px solid #808080;
    border-right:  1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    color: #000000;
    font-style: normal;
    font-size: 0.85rem;
}

.out a { color: #0000cc; text-decoration: underline; font-weight: normal; }
.out a:hover { color: #cc0000; }

/* ── ASCII art — MS-DOS cmd window ─────────────────────────── */
.ascii-art {
    background: #000000;
    color: #c0c0c0;
    font-family: 'Courier New', monospace;
    font-size: clamp(0.38rem, 1.1vw, 0.62rem);
    line-height: 1.2;
    letter-spacing: 0;
    white-space: pre;
    overflow-x: auto;
    margin: 6px 0 14px;
    padding: 8px 10px;
    border-top:    2px solid #808080;
    border-left:   2px solid #808080;
    border-right:  2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
}

/* ── ls meta ────────────────────────────────────────────────── */
.ls-meta { margin-bottom: 12px; }

/* ── Cards grid ─────────────────────────────────────────────── */
.cards-grid { gap: 16px; }

/* ── Card — Win98 application window ────────────────────────── */
.card {
    background: #d4d0c8;
    border-top:    2px solid #ffffff;
    border-left:   2px solid #ffffff;
    border-right:  2px solid #404040;
    border-bottom: 2px solid #404040;
    box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 #808080, 1px 1px 0 #404040;
    animation: winIn 0.18s ease both;
}

/* Title bar — blue Win98 chrome with icon + window buttons */
.card-bar {
    gap: 6px;
    background: linear-gradient(to right, #000080 0%, #1084d0 70%);
    padding: 3px 4px 3px 6px;
}
.card-bar::before {
    content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' shape-rendering='crispEdges'><rect x='1' y='1' width='12' height='12' fill='%23ffffff'/><rect x='1' y='1' width='12' height='3' fill='%23000080'/><rect x='3' y='6' width='8' height='6' fill='%231084d0'/><rect width='14' height='14' fill='none' stroke='%23404040' stroke-width='1'/></svg>");
    flex-shrink: 0;
    line-height: 1;
}
/* Project cards have no functional window buttons — a plain title bar reads
   more honestly now that real windows own the min/max/close controls. */
.card-title {
    font-family: Tahoma, 'MS Sans Serif', Arial, sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    color: #ffffff;
}

/* Window body — screenshot left, details right */
.card-main {
    padding: 8px;
    gap: 10px;
}
.card-shot {
    background: #000000;
    border-top:    1px solid #808080;
    border-left:   1px solid #808080;
    border-right:  1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
}
.card-img {
    min-height: 170px;
}
.card-body {
    padding: 2px 4px;
}
.card-subtitle {
    font-family: Tahoma, 'MS Sans Serif', Arial, sans-serif;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #000080;
    margin-bottom: 6px;
}
.card-desc {
    font-family: Tahoma, 'MS Sans Serif', Arial, sans-serif;
    font-size: 0.8rem;
    line-height: 1.55;
    color: #000000;
    margin-bottom: 10px;
}
.card-tag {
    font-family: Tahoma, 'MS Sans Serif', Arial, sans-serif;
    font-size: 0.62rem;
    color: #000000;
    background: #d4d0c8;
    border-top:    1px solid #808080;
    border-left:   1px solid #808080;
    border-right:  1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    padding: 1px 6px;
}
.card-links { gap: 14px; }
.card-tag-mobile {
    background: #0a7a0a; color: #ffffff; font-weight: 700;
    border-top-color: #4fd44f; border-left-color: #4fd44f;
    border-right-color: #044a04; border-bottom-color: #044a04;
}
.card-tag-mobile::before { content: '\2713\00a0'; }   /* check mark */
.card-commit {
    font-family: 'Courier New', monospace; font-size: 0.64rem;
    color: #606060; margin-bottom: 8px; line-height: 1.4;
}
.card-commit .cc-label { color: #000080; text-transform: uppercase; font-size: 0.54rem; letter-spacing: 0.04em; }
.card-commit .cc-sha { color: #0000cc; text-decoration: none; background: #eaeaf6; padding: 0 3px; }
.card-commit .cc-sha:hover { text-decoration: underline; }
.card-commit .cc-msg { color: #404040; }
.card-commit .cc-time { color: #808080; }
.card-demo, .card-gh {
    font-family: Tahoma, Arial, sans-serif;
    font-size: 0.76rem;
    color: #0000cc;
}
.card-demo:hover, .card-gh:hover { color: #cc0000; }
.card-demo svg, .card-gh svg { width: 12px; height: 12px; }

@media (max-width: 640px) {
    .card-img { height: 160px; }
}

/* ── Empty state ────────────────────────────────────────────── */
.empty-state { grid-column: 1 / -1; color: #808080; font-size: 0.78rem; }

/* ═══════════════════════════════════════════════════════════════
   STATUS  WIDGETS  —  unified Win98 mini-window style
   ═══════════════════════════════════════════════════════════════ */

/* ── Shared panel base ───────────────────────────────────────── */
.sp-panel,
.gh-panel,
.steam-panel {
    background: #d4d0c8;
    border-top:    2px solid #ffffff;
    border-left:   2px solid #ffffff;
    border-right:  2px solid #404040;
    border-bottom: 2px solid #404040;
    box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 #808080;
    padding: 0;
    max-width: none;
    overflow: hidden;
}

/* ── Blue Win98 title bars ───────────────────────────────────── */
.sp-panel::before,
.gh-panel::before,
.steam-panel::before {
    display: block;
    background: linear-gradient(to right, #000080 0%, #1084d0 70%);
    color: #ffffff;
    font-family: Tahoma, 'MS Sans Serif', Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 7px;
    flex-shrink: 0;
    letter-spacing: 0;
    text-transform: none;
}
.sp-panel::before    { content: 'Now Playing'; }
.gh-panel::before    { content: 'Last Push'; }
.steam-panel::before { content: 'Recently Played'; }

.sp-panel::after { display: none; }

/* ── Spotify widget ──────────────────────────────────────────── */
.sp-status {
    font-family: Tahoma, Arial, sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.06em;
    color: #808080;
    padding: 8px 10px 4px;
    gap: 7px;
    margin-bottom: 0;
    border-bottom: 1px solid #808080;
}
.sp-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #808080;
}
.sp-panel.playing .sp-dot {
    background: #1db954;
    animation: blink 1s step-end infinite;
}
.sp-track {
    font-family: Tahoma, Arial, sans-serif;
    color: #000000;
    font-size: 0.85rem;
    font-weight: 700;
    font-style: normal;
    padding: 8px 10px 2px;
    margin-bottom: 0;
    text-shadow: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: none;
}
.sp-artist {
    font-family: Tahoma, Arial, sans-serif;
    color: #808080;
    font-size: 0.72rem;
    padding: 0 10px 10px;
    margin-bottom: 0;
    text-shadow: none;
    background: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-style: normal;
    flex: 1;
}
.sp-link {
    padding: 6px 10px;
    border-top: 1px solid #808080;
    color: #1db954;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0;
    text-transform: none;
    text-shadow: none;
    background: none;
    margin-top: auto;
}
.sp-link:hover { text-decoration: underline; color: #22dd66; }
.sp-link svg { width: 13px; height: 13px; }

/* Album art (sized large by the .wmp rules below) */
.sp-art-empty {
    background: #11141c url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%234dffa0'><path d='M9 17V5l10-2v12'/><circle cx='6.5' cy='17.5' r='2.5'/><circle cx='16.5' cy='15.5' r='2.5'/></svg>") center/30px no-repeat;
}

.sp-error  { color: #cc0000; font-family: Tahoma, Arial, sans-serif; font-size: 0.72rem; padding: 10px; }
.sp-loading { color: #808080; font-family: Tahoma, Arial, sans-serif; font-size: 0.72rem; padding: 10px; }

/* ── GitHub widget — GitHub dark theme ──────────────────────── */
.gh-panel {
    background: #0d1117;        /* GitHub dark mode bg */
    border-color: #30363d;
    box-shadow: none;
}
.gh-panel::before {
    content: 'Activity';
    background: #161b22;        /* GitHub dark nav */
    border-bottom: 1px solid #30363d;
}
.gh-panel.active { border-color: #3fb950; }

.gh-status {
    font-family: 'Courier New', monospace;
    font-size: 0.58rem;
    color: #8b949e;
    padding: 8px 10px 5px;
    gap: 6px;
    letter-spacing: 0.08em;
    border-bottom: 1px solid #21262d;
    background: #0d1117;
}
.gh-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #3fb950;        /* always GitHub green */
    box-shadow: 0 0 5px rgba(63,185,80,0.5);
    animation: pulse 2.5s ease-in-out infinite;
}
.gh-meta {
    gap: 10px;
    padding: 6px 10px;
    border-top: 1px solid #21262d;
    margin-top: auto;
    background: #161b22;
}
.gh-link {
    font-family: 'Courier New', monospace;
    font-size: 0.58rem;
    color: #58a6ff;
    text-decoration: none;
    gap: 5px;
}
.gh-link svg { width: 11px; height: 11px; }
.gh-link:hover { text-decoration: underline; color: #79c0ff; }

/* GitHub stats bar */
.gh-stats { display: flex; gap: 10px; align-items: center; padding: 5px 10px; background: #0d1117; border-bottom: 1px solid #21262d; }
.gh-streak { font-family: 'Courier New', monospace; font-size: 0.62rem; color: #e3b341; letter-spacing: 0.04em; }
.gh-top-repo { font-family: 'Courier New', monospace; font-size: 0.62rem; color: #8b949e; letter-spacing: 0.04em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.gh-lang { display: inline-block; font-family: 'Courier New', monospace; font-size: 0.55rem; padding: 1px 3px; border-radius: 2px; color: #000; vertical-align: middle; margin-left: 2px; font-weight: 700; opacity: 0.88; }

/* Activity feed (Event Viewer) */
.gh-feed { list-style: none; margin: 0; padding: 0; flex: 1; overflow-y: auto; max-height: 152px; }
.gh-ev { display: flex; align-items: center; gap: 7px; padding: 3px 10px; font-family: 'Courier New', monospace; font-size: 0.6rem; color: #c9d1d9; white-space: nowrap; }
.gh-ev:nth-child(even) { background: #0e141b; }
.gh-ev-ico { flex-shrink: 0; width: 13px; height: 13px; display: flex; align-items: center; justify-content: center; font-size: 0.6rem; font-weight: 700; color: #0d1117; background: #3fb950; border-radius: 2px; }
.gh-ev-star   { background: #e3b341; }
.gh-ev-create { background: #58a6ff; }
.gh-ev-fork   { background: #bc8cff; }
.gh-ev-pr     { background: #a371f7; }
.gh-ev-issue  { background: #f85149; }
.gh-ev-text { overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.gh-ev-repo { color: #58a6ff; text-decoration: none; }
.gh-ev-repo:hover { text-decoration: underline; }
.gh-ev-time { color: #6e7681; flex-shrink: 0; font-size: 0.54rem; }

/* ── Steam widget — Steam dark theme ────────────────────────── */
.steam-panel {
    background: #1b2838;        /* Steam store dark navy */
    border-color: #4b6171;
    box-shadow: none;
}
.steam-panel::before {
    content: 'Recently Played';
    background: linear-gradient(to right, #1b2838 0%, #2a475e 100%);  /* Steam nav gradient */
    border-bottom: 1px solid #4b6171;
}
.steam-panel.active { border-color: #66c0f4; }

.steam-status {
    font-family: Tahoma, Arial, sans-serif;
    font-size: 0.58rem;
    color: #8f98a0;
    padding: 7px 10px 4px;
    gap: 6px;
    letter-spacing: 0.06em;
    border-bottom: 1px solid #4b6171;
    background: #1b2838;
}
.steam-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #66c0f4;        /* Steam light blue — always on */
}
.steam-panel.active .steam-dot { box-shadow: 0 0 5px rgba(102,192,244,0.6); animation: pulse 2.5s ease-in-out infinite; }
.steam-img {
    height: 84px;               /* taller — game art is the hero */
    border-bottom: 1px solid #4b6171;
    filter: brightness(0.9) saturate(1.05);
    transition: filter 0.2s;
}
.steam-panel:hover .steam-img { filter: brightness(1) saturate(1.1); }
.steam-info { padding: 7px 10px 10px; flex: 1; display: flex; flex-direction: column; background: #1b2838; }
.steam-game {
    font-family: Tahoma, Arial, sans-serif;
    color: #c6d4df;             /* Steam's light text */
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 3px;
}
.steam-meta {
    font-family: Tahoma, Arial, sans-serif;
    color: #8f98a0;             /* Steam's muted text */
    font-size: 0.58rem;
    margin-bottom: 8px;
    flex: 1;
}
.steam-link {
    font-family: Tahoma, Arial, sans-serif;
    font-size: 0.58rem;
    color: #66c0f4;
    text-decoration: none;
    margin-top: auto;
    gap: 5px;
}
.steam-link svg { width: 13px; height: 13px; }
.steam-link:hover { color: #79c8f0; text-decoration: underline; }

/* ── Animations (skin-specific) ─────────────────────────────── */
@keyframes winIn {
    from { opacity: 0; transform: scale(0.97); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

/* ═══════════════════════════════════════════════════════════════
   DESKTOP ENVIRONMENT — Win98 paint
   ═══════════════════════════════════════════════════════════════ */
.taskbar {
    background: #d4d0c8;
    border-top: 2px solid #ffffff;
    box-shadow: inset 0 1px 0 #dfdfdf;
}

/* Start button */
.start-btn {
    height: 24px;
    padding: 2px 9px 2px 5px;
    background: #d4d0c8;
    border-top:    2px solid #ffffff;
    border-left:   2px solid #ffffff;
    border-right:  2px solid #404040;
    border-bottom: 2px solid #404040;
    font-family: Tahoma, 'MS Sans Serif', Arial, sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    color: #000000;
}
.start-btn.pressed, .start-btn:active {
    border-top-color: #404040; border-left-color: #404040;
    border-right-color: #ffffff; border-bottom-color: #ffffff;
    padding: 3px 8px 1px 6px;
}
.start-logo {
    width: 16px; height: 14px;
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='14' viewBox='0 0 16 14'><g transform='skewY(-9)' transform-origin='8 7'><rect x='1' y='4' width='6' height='4' fill='%23ff3b30'/><rect x='8' y='4' width='6' height='4' fill='%232fb344'/><rect x='1' y='9' width='6' height='4' fill='%23308cff'/><rect x='8' y='9' width='6' height='4' fill='%23ffd200'/></g></svg>") center/contain no-repeat;
}

/* Taskbar window buttons */
.task-btn {
    height: 24px;
    padding: 2px 5px;
    flex: 0 0 auto;
    background: #d4d0c8;
    border-top:    2px solid #ffffff;
    border-left:   2px solid #ffffff;
    border-right:  2px solid #404040;
    border-bottom: 2px solid #404040;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 0.7rem;
    color: #000000;
}
.task-btn.active {
    border-top-color: #404040; border-left-color: #404040;
    border-right-color: #ffffff; border-bottom-color: #ffffff;
    background: #c8c4bc;
    box-shadow: inset 1px 1px 0 #808080;
    font-weight: 700;
}
.tb-ico {
    width: 14px; height: 12px;
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='13' viewBox='0 0 16 13' shape-rendering='crispEdges'><path d='M0,4 L0,0 L7,0 L7,4 L16,4 L16,13 L0,13 Z' fill='%23ffd740'/><polyline points='0,13 0,0 7,0 7,4 16,4' fill='none' stroke='%23806000' stroke-width='1'/></svg>") center/contain no-repeat;
}

/* System tray */
.tray {
    height: 24px;
    padding: 1px 8px;
    border-top:    1px solid #808080;
    border-left:   1px solid #808080;
    border-right:  1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
}
.tray-clock { font-family: Tahoma, Arial, sans-serif; font-size: 0.7rem; color: #000000; }

/* ── Tray icons (volume + dial-up modem) ────────────────────── */
.tray { gap: 5px; }
.tray-ico { width: 18px; height: 16px; padding: 0; border: none; cursor: pointer; background: transparent center/contain no-repeat; }
.tray-vol {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><path d='M2 6 h2 l3 -3 v10 l-3 -3 h-2 z' fill='%23202020'/><path d='M10 5 a3 3 0 0 1 0 6' fill='none' stroke='%23202020' stroke-width='1.3'/><path d='M11.6 3.4 a5.5 5.5 0 0 1 0 9.2' fill='none' stroke='%23202020' stroke-width='1.3'/></svg>");
}
.tray-vol.muted {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><path d='M2 6 h2 l3 -3 v10 l-3 -3 h-2 z' fill='%23202020'/><path d='M10 5 L15 11 M15 5 L10 11' stroke='%23cc0000' stroke-width='1.6'/></svg>");
}
.tray-modem {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='16' viewBox='0 0 18 16' shape-rendering='crispEdges'><rect x='1' y='3' width='9' height='7' fill='%23c0c0c0' stroke='%23000'/><rect x='2' y='4' width='7' height='5' fill='%23008080'/><rect x='8' y='6' width='9' height='7' fill='%23c0c0c0' stroke='%23000'/><rect x='9' y='7' width='7' height='5' fill='%2300b000'/></svg>");
    animation: modem-blink 0.85s step-end infinite;
}
@keyframes modem-blink {
    50% { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='16' viewBox='0 0 18 16' shape-rendering='crispEdges'><rect x='1' y='3' width='9' height='7' fill='%23c0c0c0' stroke='%23000'/><rect x='2' y='4' width='7' height='5' fill='%2300b000'/><rect x='8' y='6' width='9' height='7' fill='%23c0c0c0' stroke='%23000'/><rect x='9' y='7' width='7' height='5' fill='%23008080'/></svg>"); }
}
.modem-big {
    width: 32px; height: 32px;
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 36 32' shape-rendering='crispEdges'><rect x='1' y='5' width='18' height='14' fill='%23c0c0c0' stroke='%23000'/><rect x='3' y='7' width='14' height='10' fill='%23008080'/><rect x='15' y='12' width='18' height='14' fill='%23c0c0c0' stroke='%23000'/><rect x='17' y='14' width='14' height='10' fill='%2300b000'/></svg>") center/contain no-repeat;
}

/* Volume slider popup */
.vol-pop { position: fixed; z-index: 10001; display: none; flex-direction: column; align-items: center; gap: 6px;
    background: #d4d0c8; padding: 10px 12px;
    border-top: 2px solid #ffffff; border-left: 2px solid #ffffff; border-right: 2px solid #404040; border-bottom: 2px solid #404040;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.4); }
.vol-pop.open { display: flex; }
.vol-title { font-family: Tahoma, Arial, sans-serif; font-size: 0.66rem; color: #000000; }
.vol-slider { writing-mode: vertical-lr; direction: rtl; -webkit-appearance: slider-vertical; width: 20px; height: 96px; }
.vol-val { font-family: 'Courier New', monospace; font-size: 0.7rem; background: #101810; color: #33ff66; padding: 1px 5px; min-width: 40px; text-align: center; }
.vol-mute { font-family: Tahoma, Arial, sans-serif; font-size: 0.64rem; color: #000000; display: flex; align-items: center; gap: 3px; cursor: pointer; }

/* Start menu */
.start-menu {
    background: #d4d0c8;
    border-top:    2px solid #ffffff;
    border-left:   2px solid #ffffff;
    border-right:  2px solid #404040;
    border-bottom: 2px solid #404040;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.4);
}
.sm-rail {
    width: 26px;
    padding: 10px 4px;
    background: linear-gradient(to top, #000080, #1084d0);
    color: #c0c0c0;
    font-family: Tahoma, Arial, sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.08em;
}
.sm-rail b { color: #ffffff; }
.sm-list { padding: 3px; }
.sm-head {
    font-family: Tahoma, Arial, sans-serif;
    font-size: 0.62rem;
    color: #808080;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 8px 6px;
    border-bottom: 1px solid #808080;
    margin-bottom: 2px;
}
.sm-item {
    background: none; border: none;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 0.78rem;
    color: #000000;
    padding: 5px 20px 5px 8px;
}
.sm-item:hover { background: #000080; color: #ffffff; }
.sm-ico {
    width: 18px; height: 16px;
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='13' viewBox='0 0 16 13' shape-rendering='crispEdges'><path d='M0,4 L0,0 L7,0 L7,4 L16,4 L16,13 L0,13 Z' fill='%23ffd740'/><polyline points='0,13 0,0 7,0 7,4 16,4' fill='none' stroke='%23806000' stroke-width='1'/></svg>") center/contain no-repeat;
}

/* Window control buttons */
.prompt.wm::after { display: none; }     /* hide the decorative SVG button strip */
.win-ctrls { gap: 1px; }
.wc {
    background: #d4d0c8;
    border-top:    1px solid #ffffff;
    border-left:   1px solid #ffffff;
    border-right:  1px solid #404040;
    border-bottom: 1px solid #404040;
}
.wc:active {
    border-top-color: #404040; border-left-color: #404040;
    border-right-color: #ffffff; border-bottom-color: #ffffff;
}
.wc-min::before  { left: 3px; right: 4px; bottom: 2px; height: 2px; background: #000000; }
.wc-max::before  { left: 3px; right: 3px; top: 2px; bottom: 3px; border: 1px solid #000000; border-top-width: 2px; }
.wc-close::before {
    content: '\2715'; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 8px; font-weight: 700; color: #000000; line-height: 1;
}

/* ── Desktop icons — Win98 ──────────────────────────────────── */
.desk-label {
    font-family: Tahoma, Arial, sans-serif; font-size: 0.72rem;
    color: #ffffff; text-shadow: 1px 1px 1px rgba(0,0,0,0.7); padding: 1px 3px;
}
.desk-icon:hover .desk-label, .desk-icon:focus .desk-label { background: #000080; outline: 1px dotted #ffffff; }
.icon-computer .desk-glyph {
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32' shape-rendering='crispEdges'><rect x='6' y='3' width='20' height='16' rx='1' fill='%23cfc9ba' stroke='%23000'/><rect x='8' y='5' width='16' height='12' fill='%231084d0'/><rect x='8' y='5' width='16' height='3' fill='%2300a8a8'/><rect x='10' y='10' width='6' height='1' fill='%23bfe3ff'/><rect x='10' y='12' width='9' height='1' fill='%23bfe3ff'/><rect x='13' y='19' width='6' height='2' fill='%23a8a294' stroke='%23000'/><rect x='3' y='23' width='26' height='6' rx='1' fill='%23cfc9ba' stroke='%23000'/><rect x='5' y='25' width='9' height='1.5' fill='%23808080'/><rect x='16' y='25' width='6' height='1.5' fill='%23808080'/><circle cx='25.5' cy='26' r='1' fill='%2300a000'/></svg>") center/contain no-repeat;
}
.icon-note .desk-glyph {
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32' shape-rendering='crispEdges'><path d='M7 2 L21 2 L25 6 L25 30 L7 30 Z' fill='%23ffffff' stroke='%23000' stroke-width='1'/><path d='M21 2 L21 6 L25 6' fill='none' stroke='%23000' stroke-width='1'/><line x1='10' y1='11' x2='22' y2='11' stroke='%23000080' stroke-width='1'/><line x1='10' y1='15' x2='22' y2='15' stroke='%23000080' stroke-width='1'/><line x1='10' y1='19' x2='22' y2='19' stroke='%23000080' stroke-width='1'/><line x1='10' y1='23' x2='18' y2='23' stroke='%23000080' stroke-width='1'/></svg>") center/contain no-repeat;
}
.icon-bin .desk-glyph {
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><path d='M9 8 L23 8 L21 29 L11 29 Z' fill='%23c2ccd4' stroke='%23000' stroke-width='1'/><path d='M14 9 L13 28 M16 9 L16 28 M18 9 L19 28' stroke='%238a98a0' stroke-width='0.8' fill='none'/><rect x='7' y='5' width='18' height='3.5' rx='1.2' fill='%23d8dee4' stroke='%23000'/><g fill='%2316a015'><path d='M16 12 l2.1 3.7 -4.2 0 z'/><path d='M21 20.5 l-4 0.4 2 -3.6 z'/><path d='M11 20.9 l1.9 -3.2 2.1 3.7 z'/></g></svg>") center/contain no-repeat;
}

/* ── Context menu — Win98 ───────────────────────────────────── */
.ctx-menu {
    background: #d4d0c8; padding: 2px;
    border-top: 2px solid #ffffff; border-left: 2px solid #ffffff;
    border-right: 2px solid #404040; border-bottom: 2px solid #404040;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.4);
}
.ctx-item { font-family: Tahoma, Arial, sans-serif; font-size: 0.76rem; color: #000000; padding: 4px 24px 4px 10px; }
.ctx-item:hover { background: #000080; color: #ffffff; }
.ctx-sep { height: 0; border-top: 1px solid #808080; border-bottom: 1px solid #ffffff; margin: 3px 2px; }

/* ── Dialog — Win98 ─────────────────────────────────────────── */
.dlg-overlay { background: rgba(0,0,0,0.12); }
.dlg {
    background: #d4d0c8;
    border-top: 2px solid #ffffff; border-left: 2px solid #ffffff;
    border-right: 2px solid #404040; border-bottom: 2px solid #404040;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.45);
}
.dlg-bar { background: linear-gradient(to right, #000080, #1084d0); padding: 3px 4px 3px 7px; }
.dlg-title { font-family: Tahoma, Arial, sans-serif; font-size: 0.74rem; font-weight: 700; color: #ffffff; }
.dlg-x {
    width: 16px; height: 14px; background: #d4d0c8;
    border-top: 1px solid #ffffff; border-left: 1px solid #ffffff;
    border-right: 1px solid #404040; border-bottom: 1px solid #404040;
}
.dlg-x::before { content: '\2715'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 8px; font-weight: 700; color: #000000; }
.dlg-body { padding: 16px; font-family: Tahoma, Arial, sans-serif; font-size: 0.8rem; color: #000000; }
.dlg-p { line-height: 1.6; }
.dlg-sys-text p { margin-bottom: 5px; }
.dlg-sys-logo {
    width: 48px; height: 42px;
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='14' viewBox='0 0 16 14'><g transform='skewY(-9)' transform-origin='8 7'><rect x='1' y='4' width='6' height='4' fill='%23ff3b30'/><rect x='8' y='4' width='6' height='4' fill='%232fb344'/><rect x='1' y='9' width='6' height='4' fill='%23308cff'/><rect x='8' y='9' width='6' height='4' fill='%23ffd200'/></g></svg>") center/contain no-repeat;
}
/* Error-dialog layout — red icon beside the message */
.dlg-error { display: flex; gap: 16px; align-items: flex-start; }
.dlg-error-ico {
    flex-shrink: 0; width: 32px; height: 32px;
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><circle cx='16' cy='16' r='15' fill='%23d8000c'/><circle cx='16' cy='16' r='15' fill='none' stroke='%23800000' stroke-width='1'/><circle cx='16' cy='16' r='13' fill='none' stroke='%23ff8a8a' stroke-width='1' stroke-opacity='0.7'/><path d='M10 10 L22 22 M22 10 L10 22' stroke='%23ffffff' stroke-width='3.4' stroke-linecap='round'/></svg>") center/contain no-repeat;
}
.dlg-error-text { line-height: 1.6; }
.dlg-error-text p { margin-bottom: 9px; }
.dlg-error-text p:last-child { margin-bottom: 0; }
.dlg-foot { padding: 0 16px 14px; }
.dlg-ok {
    min-width: 72px; padding: 4px 12px; background: #d4d0c8;
    border-top: 2px solid #ffffff; border-left: 2px solid #ffffff;
    border-right: 2px solid #404040; border-bottom: 2px solid #404040;
    font-family: Tahoma, Arial, sans-serif; font-size: 0.76rem; color: #000000;
}
.dlg-ok:active {
    border-top-color: #404040; border-left-color: #404040;
    border-right-color: #ffffff; border-bottom-color: #ffffff;
}

/* ═══════════════════════════════════════════════════════════════
   APP: Projects → Internet Explorer + a blog
   ═══════════════════════════════════════════════════════════════ */
.block[data-app="ie"] { display: flex; flex-direction: column; padding: 0; }
.block[data-app="ie"] > .prompt { margin: 0; }
/* IE "e" logo in the title bar */
.block[data-app="ie"] > .prompt::before {
    content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='14' viewBox='0 0 16 14'><ellipse cx='8' cy='7' rx='7' ry='3.1' fill='none' stroke='%23ffd200' stroke-width='1.6' transform='rotate(-20 8 7)'/><text x='8' y='11.4' font-family='Georgia,serif' font-size='12' font-weight='bold' fill='%231560bd' text-anchor='middle'>e</text></svg>");
}

.ie-menubar { display: flex; gap: 14px; background: #d4d0c8; padding: 3px 8px; border-bottom: 1px solid #808080; font-family: Tahoma, Arial, sans-serif; font-size: 0.72rem; color: #000000; }
.ie-menubar span:first-letter { text-decoration: underline; }

.ie-toolbar { display: flex; align-items: center; gap: 1px; background: #d4d0c8; padding: 3px 5px; border-bottom: 1px solid #808080; }
.ie-btn {
    display: inline-flex; align-items: center; gap: 5px;
    background: transparent; border: 1px solid transparent;
    padding: 3px 7px; font-family: Tahoma, Arial, sans-serif; font-size: 0.72rem; color: #000000; cursor: pointer;
}
.ie-btn:not([disabled]):hover {
    border-top-color: #ffffff; border-left-color: #ffffff;
    border-right-color: #404040; border-bottom-color: #404040;
}
.ie-btn:not([disabled]):active {
    border-top-color: #404040; border-left-color: #404040;
    border-right-color: #ffffff; border-bottom-color: #ffffff;
}
.ie-btn[disabled] { color: #808080; cursor: default; }
.ie-btn[disabled] .ie-ico { opacity: 0.4; filter: grayscale(1); }
.ie-ico { width: 20px; height: 18px; flex-shrink: 0; background: center/contain no-repeat; }
.ie-ico-back    { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='18' viewBox='0 0 20 18'><path d='M9 4 L3 9 L9 14 L9 11 L16 11 L16 7 L9 7 Z' fill='%231a4a8a'/></svg>"); }
.ie-ico-fwd     { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='18' viewBox='0 0 20 18'><path d='M11 4 L17 9 L11 14 L11 11 L4 11 L4 7 L11 7 Z' fill='%231a4a8a'/></svg>"); }
.ie-ico-stop    { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='18' viewBox='0 0 20 18'><circle cx='10' cy='9' r='6' fill='%23c43025'/><path d='M7 6 L13 12 M13 6 L7 12' stroke='%23fff' stroke-width='1.6'/></svg>"); }
.ie-ico-refresh { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='18' viewBox='0 0 20 18'><path d='M14 5 a6 6 0 1 0 1.5 4' fill='none' stroke='%23159a3a' stroke-width='1.8'/><path d='M14 3 L15 6 L11.7 6 Z' fill='%23159a3a'/></svg>"); }
.ie-ico-home    { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='18' viewBox='0 0 20 18'><path d='M10 3 L4 8 L5 8 L5 14 L15 14 L15 8 L16 8 Z' fill='%23c98a23'/><rect x='8.5' y='10' width='3' height='4' fill='%23ffffff'/></svg>"); }

.ie-address { display: flex; align-items: center; gap: 6px; background: #d4d0c8; padding: 3px 8px 5px; border-bottom: 1px solid #808080; }
.ie-addr-label { font-family: Tahoma, Arial, sans-serif; font-size: 0.72rem; color: #404040; flex-shrink: 0; }
.ie-url {
    flex: 1; min-width: 0;
    background: #ffffff; padding: 2px 6px; outline: none;
    font-family: Tahoma, Arial, sans-serif; font-size: 0.74rem; color: #000000;
    border-top: 1px solid #808080; border-left: 1px solid #808080;
    border-right: 1px solid #ffffff; border-bottom: 1px solid #ffffff;
}
.ie-favicon {
    width: 14px; height: 13px; flex-shrink: 0;
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='14' viewBox='0 0 16 14'><ellipse cx='8' cy='7' rx='7' ry='3.1' fill='none' stroke='%23ffd200' stroke-width='1.6' transform='rotate(-20 8 7)'/><text x='8' y='11.4' font-family='Georgia,serif' font-size='12' font-weight='bold' fill='%231560bd' text-anchor='middle'>e</text></svg>") center/contain no-repeat;
}
.ie-go {
    flex-shrink: 0; padding: 2px 12px; background: #d4d0c8; text-decoration: none; color: #000000;
    font-family: Tahoma, Arial, sans-serif; font-size: 0.72rem;
    border-top: 1px solid #ffffff; border-left: 1px solid #ffffff;
    border-right: 1px solid #404040; border-bottom: 1px solid #404040;
}
.ie-go:active { border-top-color: #404040; border-left-color: #404040; border-right-color: #ffffff; border-bottom-color: #ffffff; }

.ie-page {
    flex: 1 1 auto; min-height: 0; max-height: 62vh; overflow-y: auto;
    background: #ffffff; padding: 6px 0 0;
    border-left: 1px solid #808080; border-right: 1px solid #ffffff;
}
.block[data-app="ie"].win-max .ie-page { max-height: none; }

.ie-statusbar {
    display: flex; justify-content: space-between; gap: 6px;
    background: #d4d0c8; border-top: 1px solid #ffffff; padding: 2px 4px;
    font-family: Tahoma, Arial, sans-serif; font-size: 0.68rem; color: #404040;
}
.ie-statusbar span {
    padding: 1px 8px;
    border-top: 1px solid #808080; border-left: 1px solid #808080;
    border-right: 1px solid #ffffff; border-bottom: 1px solid #ffffff;
}
.ie-status-text { flex: 1; }
.ie-zone::before { content: ''; display: inline-block; width: 11px; height: 11px; margin-right: 5px; vertical-align: -2px;
    background: radial-gradient(circle at 50% 40%, #7fd0ff 0 40%, #2a7fd0 55%, #155a9e 100%); border-radius: 50%; }

/* ── Project cards rendered as blog posts inside the IE page ──── */
[data-app="ie"] .ls-meta { display: none; }
[data-app="ie"] .cards-grid { gap: 0; padding: 0; }
[data-app="ie"] .card {
    background: #ffffff; border: none; box-shadow: none; animation: none;
    border-bottom: 1px dashed #b8b8b8; padding: 16px 22px 18px;
}
[data-app="ie"] .card:last-child { border-bottom: none; }
[data-app="ie"] .card-bar { background: none; padding: 0; display: block; }
[data-app="ie"] .card-bar::before { content: none; }
[data-app="ie"] .card-title {
    font-family: Georgia, 'Times New Roman', serif; font-size: 1.25rem; font-weight: 700;
    color: #0b3d91; text-decoration: none; letter-spacing: 0; white-space: normal;
}
[data-app="ie"] .card-main { display: flex; align-items: flex-start; padding: 10px 0 0; gap: 16px; }
[data-app="ie"] .card-shot { flex: 0 0 38%; align-self: flex-start; border: 1px solid #808080; }
[data-app="ie"] .card-img { min-height: 0; max-height: 150px; }
[data-app="ie"] .card-body { padding: 0; }
[data-app="ie"] .card-subtitle { color: #7a7a7a; font-size: 0.62rem; margin-bottom: 8px; }
[data-app="ie"] .card-desc { font-family: Georgia, 'Times New Roman', serif; font-size: 0.92rem; line-height: 1.6; color: #1a1a1a; }
[data-app="ie"] .card-commit { color: #777777; }
[data-app="ie"] .card-commit .cc-label::before { content: 'posted by Damien · '; text-transform: none; color: #999; }
[data-app="ie"] .card-tag { background: #eef0f4; border-color: #c0c4cc; color: #334; }
[data-app="ie"] .card-tag-mobile { background: #0a7a0a; color: #fff; }
[data-app="ie"] .card-demo, [data-app="ie"] .card-gh { font-family: Tahoma, Arial, sans-serif; color: #0b3d91; }
[data-app="ie"] .card-demo::after { content: ' »'; }

/* ═══════════════════════════════════════════════════════════════
   APP: Welcome → MS-DOS Prompt
   ═══════════════════════════════════════════════════════════════ */
.block[data-app="dos"] { display: flex; flex-direction: column; padding: 0; }
.block[data-app="dos"] > .prompt { margin: 0; }
.block[data-app="dos"] > .prompt::before {
    content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='14' viewBox='0 0 16 14' shape-rendering='crispEdges'><rect width='16' height='14' fill='%23000000' stroke='%23808080'/><text x='2' y='10' font-family='monospace' font-size='8' fill='%23c0c0c0'>C:\</text></svg>");
}
.dos-screen { background: #000000; padding: 12px 16px 16px; overflow: auto; max-height: 58vh; cursor: text; }
.block[data-app="dos"].win-max .dos-screen { max-height: none; }
.dos-screen .ascii-art { background: none; border: none; margin: 4px 0 12px; padding: 0; color: #c0c0c0; }
.dos-screen .out { color: #c0c0c0; font-family: 'Courier New', monospace; font-size: 0.8rem; }
.dos-screen .out.dim { color: #7a7a7a; }
.dos-echo { color: #e0e0e0; }
.dos-line { display: flex; align-items: baseline; font-family: 'Courier New', monospace; color: #c0c0c0; font-size: 0.85rem; margin-top: 12px; white-space: pre; }
.dos-input {
    background: transparent; border: 0; outline: 0; padding: 0; margin: 0;
    font-family: 'Courier New', monospace; font-size: 0.85rem; color: #c0c0c0;
    caret-color: transparent; min-width: 1ch;
}
.dos-cursor { color: #c0c0c0; animation: dos-blink 1s step-end infinite; }
@keyframes dos-blink { 50% { opacity: 0; } }

/* ═══════════════════════════════════════════════════════════════
   APP: About → Notepad
   ═══════════════════════════════════════════════════════════════ */
.block[data-app="notepad"] { display: flex; flex-direction: column; padding: 0; }
.block[data-app="notepad"] > .prompt { margin: 0; }
.block[data-app="notepad"] > .prompt::before {
    content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' shape-rendering='crispEdges'><rect x='2' y='1' width='10' height='12' fill='%23ffffff' stroke='%23000000'/><rect x='2' y='1' width='10' height='2' fill='%231560bd'/><line x1='4' y1='6' x2='10' y2='6' stroke='%23808080'/><line x1='4' y1='8' x2='10' y2='8' stroke='%23808080'/><line x1='4' y1='10' x2='8' y2='10' stroke='%23808080'/></svg>");
}
.np-menubar { display: flex; gap: 14px; background: #d4d0c8; padding: 3px 8px; border-bottom: 1px solid #808080; font-family: Tahoma, Arial, sans-serif; font-size: 0.72rem; color: #000000; }
.np-menubar span:first-letter { text-decoration: underline; }
.np-page {
    flex: 1 1 auto; min-height: 0; max-height: 60vh; overflow-y: auto;
    background: #ffffff; padding: 10px 12px;
    border-top: 1px solid #808080; border-left: 1px solid #808080;
}
.block[data-app="notepad"].win-max .np-page { max-height: none; }
.np-page .out { font-family: 'Lucida Console', 'Courier New', monospace; font-size: 0.76rem; color: #000000; line-height: 1.75; margin-bottom: 12px; }
.np-page .caret { color: #008000; }
.np-page .out.quote { background: #ffffff; border: none; border-left: 3px solid #b0b0b0; padding: 2px 0 2px 12px; margin-top: 6px; font-size: 0.76rem; }
.np-page a { color: #0000cc; }
.np-page strong { color: #000080; }

/* ═══════════════════════════════════════════════════════════════
   STATUS APPS — each widget styled as its own 98-era program
   ═══════════════════════════════════════════════════════════════ */

/* ── Now Playing → Windows Media Player (compact / minimal) ─── */
.sp-panel {
    background: linear-gradient(180deg, #34394a 0%, #1f2330 100%);
    border-top-color: #5a6076; border-left-color: #5a6076;
    border-right-color: #0a0c12; border-bottom-color: #0a0c12;
    box-shadow: none; color: #cdd6e6;
    display: flex; flex-direction: column;
}
.sp-panel::before {
    content: 'Media Player';
    background: linear-gradient(to bottom, #3a4055, #20242f);
    color: #aebbd2; letter-spacing: 0.06em;
    border-bottom: 1px solid #0a0c12;
}

/* Compact now-playing row: small cover + meta + mini EQ */
.sp-now { display: flex; align-items: center; gap: 9px; padding: 8px 9px; }
.sp-panel.wmp .sp-art { width: 72px; height: 72px; flex-shrink: 0; border: 1px solid #0a0c12; border-radius: 2px; object-fit: cover; display: block; box-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.sp-panel.wmp .sp-art-empty { background-color: #11141c; }
.sp-meta { min-width: 0; flex: 1; }
.sp-panel.wmp .sp-status { display: flex; align-items: center; gap: 5px; padding: 0 0 2px; margin: 0; border: 0; font-family: Tahoma, Arial, sans-serif; font-size: 0.54rem; letter-spacing: 0.06em; text-transform: uppercase; color: #aebbd2; }
.sp-panel.wmp .sp-dot { width: 6px; height: 6px; border-radius: 50%; background: #aab3c8; }
.sp-panel.wmp.playing .sp-dot { background: #25e07a; box-shadow: 0 0 5px rgba(37,224,122,0.7); animation: blink 1.4s step-end infinite; }
.sp-panel.wmp .sp-track { padding: 0; font-family: Tahoma, Arial, sans-serif; color: #5dffac; font-weight: 700; font-size: 0.78rem; text-shadow: 0 0 6px rgba(77,255,160,0.35); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-panel.wmp .sp-artist { padding: 0; flex: none; font-family: Tahoma, Arial, sans-serif; color: #cdd9ea; font-size: 0.66rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Mini EQ (animates only while actually playing) */
.sp-eq { display: flex; align-items: flex-end; gap: 2px; height: 18px; flex-shrink: 0; }
.sp-eq i { width: 3px; background: linear-gradient(#4dffa0, #1d8a55); opacity: 0.85; }
.sp-eq i:nth-child(1) { height: 40%; } .sp-eq i:nth-child(2) { height: 75%; } .sp-eq i:nth-child(3) { height: 50%; }
.sp-eq i:nth-child(4) { height: 90%; } .sp-eq i:nth-child(5) { height: 35%; }
.sp-panel.wmp.playing .sp-eq i { animation: sp-eq 0.85s ease-in-out infinite alternate; }
.sp-panel.wmp.playing .sp-eq i:nth-child(odd) { animation-duration: 0.6s; }
@keyframes sp-eq { from { height: 15%; } to { height: 100%; } }

/* "last" footnote + profile link */
.sp-last { padding: 0 9px 7px; font-family: Tahoma, Arial, sans-serif; font-size: 0.58rem; color: #bcc7da; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-last-k { color: #8e99af; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.52rem; margin-right: 4px; }
.sp-panel .sp-link { color: #c2d4ef; background: transparent; border-top: 1px solid #2a3040; padding: 5px 9px; }
.sp-panel .sp-link:hover { color: #ffffff; }

/* ── GitHub → warped retro CRT terminal ────────────────────── */
.gh-panel { background: #020a04; border-color: #143; box-shadow: none; position: relative; }
.gh-panel::before {
    content: 'Terminal';
    background: #0a1a0e; color: #33ff66; border-bottom: 1px solid #0a3a18;
    font-family: 'Courier New', monospace; letter-spacing: 0; text-transform: none;
}
/* Curved-glass overlay: scanlines + phosphor glow + heavy corner vignette */
.gh-panel::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 5;
    border-radius: 11px / 18px;
    background:
        repeating-linear-gradient(0deg, rgba(0,0,0,0) 0 2px, rgba(0,0,0,0.30) 2px 3px),
        radial-gradient(130% 120% at 50% 0%, rgba(80,255,150,0.10), transparent 46%);
    box-shadow:
        inset 0 0 26px 7px rgba(0,0,0,0.88),
        inset 0 0 0 2px rgba(0,0,0,0.9);
}
.gh-status { background: transparent; color: #2bd457; border-bottom-color: #0a3a18; text-shadow: 0 0 4px rgba(51,255,102,0.4); }
.gh-status::after { content: ' · online'; color: #1f9c43; }
.gh-dot { background: #33ff66; box-shadow: 0 0 6px rgba(51,255,102,0.8); }
.gh-feed { background: transparent; }
.gh-ev { color: #33ff66; text-shadow: 0 0 4px rgba(51,255,102,0.45); }
.gh-ev:nth-child(even) { background: rgba(20,80,40,0.16); }
.gh-ev-ico, .gh-ev-star, .gh-ev-create, .gh-ev-fork, .gh-ev-pr, .gh-ev-issue {
    background: transparent; color: #33ff66; border-radius: 0; width: auto; height: auto;
}
.gh-ev-repo { color: #5cd8ff; text-shadow: 0 0 4px rgba(92,216,255,0.45); }
.gh-ev-time { color: #1f9c43; }
.gh-meta { background: transparent; border-top-color: #0a3a18; }
.gh-link { color: #5cd8ff; text-shadow: 0 0 4px rgba(92,216,255,0.4); }
.gh-link:hover { color: #9be3ff; }

/* ── Steam → vinyl record (draggable, slim header) ───────────── */
.steam-panel {
    background: transparent;
    border: none;
    box-shadow: none;
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 14px 0 0;
}
.steam-panel::before,
.steam-status { display: none; }

/* Vinyl disc — concentric grooves + center label */
.steam-disc {
    display: block; position: relative;
    width: 210px; height: 210px; margin: 0 auto 14px;
    border-radius: 50%;
    background: #181818;
    animation: disc-spin 16s linear infinite;
    cursor: pointer;
}
.steam-disc.paused { animation-play-state: paused; }   /* off-screen / tab hidden */
/* Game art fills the entire disc */
.steam-disc .steam-img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    border-radius: 50%;
    object-fit: cover; display: block;
    filter: brightness(0.82) saturate(0.9);
    z-index: 0;
}
/* Groove rings overlay — light enough that art shows through */
.steam-disc::before {
    content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; z-index: 2;
    background: radial-gradient(circle,
        rgba(0,0,0,0)    0% 20%,
        rgba(0,0,0,0.42) 20% 21.5%,  rgba(255,255,255,0.055) 21.5% 22%,
        rgba(0,0,0,0.36) 22% 24.5%,  rgba(255,255,255,0.055) 24.5% 25%,
        rgba(0,0,0,0.36) 25% 28%,    rgba(255,255,255,0.055) 28% 28.5%,
        rgba(0,0,0,0.36) 28.5% 32%,  rgba(255,255,255,0.055) 32% 32.5%,
        rgba(0,0,0,0.36) 32.5% 36%,  rgba(255,255,255,0.055) 36% 36.5%,
        rgba(0,0,0,0.36) 36.5% 40%,  rgba(255,255,255,0.055) 40% 40.5%,
        rgba(0,0,0,0.36) 40.5% 45%,  rgba(255,255,255,0.055) 45% 45.5%,
        rgba(0,0,0,0.36) 45.5% 50%,  rgba(255,255,255,0.055) 50% 50.5%,
        rgba(0,0,0,0.36) 50.5% 55%,  rgba(255,255,255,0.055) 55% 55.5%,
        rgba(0,0,0,0.36) 55.5% 60%,  rgba(255,255,255,0.055) 60% 60.5%,
        rgba(0,0,0,0.36) 60.5% 66%,  rgba(255,255,255,0.055) 66% 66.5%,
        rgba(0,0,0,0.36) 66.5% 72%,  rgba(255,255,255,0.055) 72% 72.5%,
        rgba(0,0,0,0.36) 72.5% 79%,  rgba(255,255,255,0.055) 79% 79.5%,
        rgba(0,0,0,0.36) 79.5% 86%,  rgba(255,255,255,0.055) 86% 86.5%,
        rgba(0,0,0,0.55) 86.5% 100%
    );
}
/* Conic sheen + edge gloss on top */
.steam-disc::after {
    content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; z-index: 3;
    background:
        conic-gradient(from 0deg,
            rgba(255,255,255,0) 0deg, rgba(180,200,255,0.09) 70deg, rgba(255,255,255,0) 130deg,
            rgba(200,160,255,0.07) 210deg, rgba(255,255,255,0) 270deg,
            rgba(160,220,190,0.08) 330deg, rgba(255,255,255,0) 360deg),
        radial-gradient(circle at 34% 26%, rgba(255,255,255,0.13), transparent 52%);
    mix-blend-mode: screen;
}
.steam-disc-hub {       /* spindle hole */
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 10px; height: 10px; border-radius: 50%; pointer-events: none; z-index: 3;
    background: #0c0f15;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.2);
}
@keyframes disc-spin { to { transform: rotate(360deg); } }

/* Info bubble — appears on hover above the disc */
.steam-info {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(12, 15, 21, 0.94);
    border: 1px solid #5a6478;
    border-radius: 6px;
    padding: 9px 16px 10px;
    white-space: nowrap;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
    z-index: 10;
}
.steam-info::after {    /* downward caret */
    content: '';
    position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #5a6478;
}
.steam-panel:hover .steam-info { opacity: 1; pointer-events: auto; }
/* Static / away state — no disc, show info inline */
/* Profile footer — full width, matches the title bar; avatar/status/library + profile link */
.steam-foot {
    display: flex; flex-direction: column; gap: 6px;
    width: 100%;
    padding: 8px 12px 9px;
    background: rgba(12,16,24,0.82);
    border-top: 1px solid rgba(102,192,244,0.18);
    border-radius: 0 0 4px 4px;
    font-family: Arial, sans-serif;
    font-size: 0.62rem;
    color: #c6d4df;
    white-space: nowrap;
    box-sizing: border-box;
}
.steam-foot-id { display: flex; align-items: center; gap: 7px; }
.steam-foot-link {
    display: flex; align-items: center; justify-content: center; gap: 5px;
    padding: 4px 0 1px;
    border-top: 1px solid rgba(102,192,244,0.12);
    color: #9ecbf0; text-decoration: none;
    font-size: 0.6rem; letter-spacing: 0.02em;
}
.steam-foot-link svg { width: 12px; height: 12px; }
.steam-foot-link:hover { color: #ffffff; }
.steam-avatar {
    width: 22px; height: 22px;
    border-radius: 2px;
    border: 1px solid #4b6171;
    object-fit: cover; flex-shrink: 0;
}
.steam-online-dot {
    width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
}
.steam-online-dot.s0 { background: #6d6d6f; }                   /* Offline */
.steam-online-dot.s1 { background: #57cbde; box-shadow: 0 0 4px rgba(87,203,222,0.6); } /* Online */
.steam-online-dot.s2 { background: #cc4444; }                   /* Busy */
.steam-online-dot.s3 { background: #998866; }                   /* Away */
.steam-online-dot.s4 { background: #7a8899; }                   /* Snooze */
.steam-online-dot.s5, .steam-online-dot.s6 { background: #57cbde; } /* Trade/Play */
.steam-persona { flex: 1; font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.steam-lib { color: #8f98a0; font-size: 0.58rem; flex-shrink: 0; }

.steam-panel:not(.active) .steam-info {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 4px 0 8px;
    white-space: normal;
}
.steam-panel:not(.active) .steam-info::after { display: none; }
.steam-game { color: #9fe8a0; font-family: 'Courier New', monospace; font-size: 0.78rem; font-weight: 700; margin-bottom: 4px; text-align: center; }
.steam-meta { color: #7fd0a0; font-family: 'Courier New', monospace; font-size: 0.68rem; text-align: center; margin-bottom: 2px; flex: none; }
.steam-meta::before { content: '\25B6  '; }
.steam-store-link { color: #66c0f4; display: flex; align-items: center; justify-content: center; gap: 4px; font-family: Tahoma, Arial, sans-serif; font-size: 0.64rem; text-decoration: none; margin-top: 7px; }
.steam-store-link:hover { color: #9ddcff; text-decoration: underline; }
.steam-link { color: #7fd0ff; justify-content: center; font-size: 0.64rem; margin-top: 4px; padding-top: 6px; border-top: 1px solid #3a4254; }
.steam-link:hover { color: #a8e0ff; text-decoration: underline; }

/* Status apps shed the chunky Win98 frame and wear their own app skin —
   the slim title bar (drag handle + controls) is restyled per app. */
.block[data-app="winamp"], .block[data-app="terminal"] {
    padding: 0; border: 1px solid #000000; box-shadow: 0 2px 7px rgba(0,0,0,0.45);
}
.block[data-app="winamp"]   { border-color: #0a0c12; }
.block[data-app="terminal"] { border-color: #061206; border-radius: 9px; overflow: hidden; }
/* cdplayer: slim Steam-themed drag handle, disc floats below */
.block[data-app="cdplayer"] { padding: 0; background: transparent; border: none; box-shadow: none; width: 230px; margin: 0 auto; }
.block[data-app="cdplayer"] > .prompt { margin: 0; background: rgba(12,16,24,0.82); border-bottom: 1px solid rgba(102,192,244,0.18); border-radius: 4px 4px 0 0; }
.block[data-app="cdplayer"] > .prompt .p-cmd { color: #9ab8d4; font-size: 0.7rem; }
.block[data-app="winamp"] > .prompt,
.block[data-app="terminal"] > .prompt { margin: 0; }
.block[data-app="winamp"] > .prompt   { background: linear-gradient(180deg, #3a4055, #20242f); border-bottom: 1px solid #0a0c12; }
.block[data-app="terminal"] > .prompt { background: #0a1a0e; border-bottom: 1px solid #0a3a18; }
.block[data-app="terminal"] > .prompt .p-cmd { font-family: 'Courier New', monospace; color: #33ff66; text-shadow: 0 0 4px rgba(51,255,102,0.4); }
/* Flat, color-matched window buttons — the chunky beige ones clash on dark bars */
.block[data-app="winamp"] .wc,
.block[data-app="terminal"] .wc,
.block[data-app="cdplayer"] .wc { background: transparent; border: 1px solid transparent; }
.block[data-app="winamp"] .wc:hover,
.block[data-app="terminal"] .wc:hover,
.block[data-app="cdplayer"] .wc:hover { background: rgba(255,255,255,0.14); }
.block[data-app="winamp"] .wc:active,
.block[data-app="terminal"] .wc:active,
.block[data-app="cdplayer"] .wc:active { background: rgba(0,0,0,0.25); border-color: transparent; }
.block[data-app="winamp"] .wc-min::before,  .block[data-app="cdplayer"] .wc-min::before  { background: #e6ecf6; }
.block[data-app="winamp"] .wc-max::before,  .block[data-app="cdplayer"] .wc-max::before  { border-color: #e6ecf6; }
.block[data-app="winamp"] .wc-close::before, .block[data-app="cdplayer"] .wc-close::before { color: #e6ecf6; }
.block[data-app="terminal"] .wc-min::before  { background: #33ff66; }
.block[data-app="terminal"] .wc-max::before  { border-color: #33ff66; }
.block[data-app="terminal"] .wc-close::before { color: #33ff66; }
.block[data-app="terminal"] .gh-stats { background: transparent; border-bottom-color: rgba(51,255,102,0.12); }
.block[data-app="terminal"] .gh-streak { color: #ffb800; text-shadow: 0 0 4px rgba(255,184,0,0.5); }
.block[data-app="terminal"] .gh-top-repo { color: #1f9c43; }
.block[data-app="winamp"] .sp-panel,
.block[data-app="terminal"] .gh-panel,
.block[data-app="cdplayer"] .steam-panel { border: none; box-shadow: none; }
.block[data-app="winamp"] .sp-panel::before,
.block[data-app="terminal"] .gh-panel::before,
.block[data-app="cdplayer"] .steam-panel::before { display: none; }
/* a fitting app icon in each status window's title bar */
.block[data-app="terminal"] > .prompt::before {
    content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' shape-rendering='crispEdges'><rect width='14' height='14' fill='%23000' stroke='%23808080'/><text x='2' y='10' font-family='monospace' font-size='8' fill='%2333ff66'>&gt;_</text></svg>");
}
.block[data-app="cdplayer"] > .prompt::before {
    content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'><circle cx='7' cy='7' r='6.5' fill='%23181818'/><circle cx='7' cy='7' r='5.2' fill='none' stroke='%23ffffff' stroke-width='0.6' stroke-opacity='0.18'/><circle cx='7' cy='7' r='3.8' fill='none' stroke='%23ffffff' stroke-width='0.6' stroke-opacity='0.18'/><circle cx='7' cy='7' r='2.5' fill='none' stroke='%23ffffff' stroke-width='0.6' stroke-opacity='0.18'/><circle cx='7' cy='7' r='1.7' fill='%23444'/><circle cx='7' cy='7' r='0.7' fill='%23181818'/></svg>");
}

/* "Activate Windows" watermark + footer (Win98) */
.activate-wm { color: rgba(255,255,255,0.5); font-family: Tahoma, Arial, sans-serif; text-shadow: 0 1px 1px rgba(0,0,0,0.25); }
.activate-title { font-size: 1.2rem; font-weight: 400; letter-spacing: 0.01em; }
.activate-sub { font-size: 0.78rem; margin-top: 2px; }
.activate-foot { font-size: 0.66rem; margin-top: 8px; color: rgba(255,255,255,0.4); }
.activate-foot a { color: rgba(255,255,255,0.6); text-decoration: underline; }
.activate-foot a:hover { color: #ffffff; }

/* Blog "coming soon" teaser post */
.ie-teaser { padding: 16px 22px 22px; border-top: 1px dashed #b8b8b8; }
.ie-teaser-title { font-family: Georgia, 'Times New Roman', serif; font-size: 1.1rem; font-weight: 700; color: #7a7a7a; font-style: italic; margin-bottom: 6px; }
.ie-teaser-body { font-family: Georgia, 'Times New Roman', serif; font-size: 0.88rem; line-height: 1.6; color: #555555; }
.ie-teaser-body a { color: #0b3d91; }

/* ═══════════════════════════════════════════════════════════════
   BROWSER PAGES — the IE window's internal "web" (portfolio + gags)
   ═══════════════════════════════════════════════════════════════ */
.bw-page { max-width: 900px; margin: 0 auto; padding: 12px 20px 22px; font-family: Tahoma, Arial, sans-serif; color: #000000; }
.bw-page [data-link] { cursor: pointer; }
.bw-page .ie-teaser { margin: 18px -20px -22px; }

/* Retro nav strip */
.bw-nav { text-align: center; padding: 4px 0 10px; margin-bottom: 14px; border-bottom: 1px solid #d0d0d0; font-size: 0.78rem; }
.bw-navlink { color: #0b3d91; text-decoration: underline; }
.bw-navlink.on { color: #000000; font-weight: 700; text-decoration: none; }
.bw-navsep { color: #b0b0b0; margin: 0 7px; }

/* AltaVista-style search */
.bw-av { text-align: center; padding: 14px 0 6px; }
.bw-av-logo { font-family: Georgia, 'Times New Roman', serif; font-size: 1.9rem; font-style: italic; color: #1560bd; letter-spacing: -1px; }
.bw-av-logo b { color: #cc0000; }
.bw-av-form { margin: 12px 0 6px; }
.bw-av-input { width: 58%; min-width: 160px; padding: 3px 6px; font-family: Tahoma, Arial, sans-serif; font-size: 0.8rem;
    border-top: 1px solid #808080; border-left: 1px solid #808080; border-right: 1px solid #fff; border-bottom: 1px solid #fff; }
.bw-av-btn { padding: 3px 14px; margin-left: 5px; cursor: pointer; background: #d4d0c8; font-family: Tahoma, Arial, sans-serif; font-size: 0.74rem;
    border-top: 1px solid #fff; border-left: 1px solid #fff; border-right: 1px solid #404040; border-bottom: 1px solid #404040; }
.bw-av-btn:active { border-color: #404040 #fff #fff #404040; }
.bw-av-tip { color: #999; font-size: 0.7rem; font-style: italic; margin-top: 6px; }
.bw-results { margin-top: 16px; border-top: 1px solid #d0d0d0; padding-top: 12px; }
.bw-results-meta { font-size: 0.7rem; color: #888; margin-bottom: 12px; }
.bw-result { margin-bottom: 13px; }
.bw-result-title { color: #0b3d91; text-decoration: underline; font-size: 0.95rem; }
.bw-result-url { color: #007800; font-size: 0.7rem; margin: 1px 0; }
.bw-result-desc { color: #333; font-size: 0.78rem; line-height: 1.4; }

/* 90s guestbook */
.bw-guestbook { text-align: center; }
.bw-gb-title { font-family: 'Comic Sans MS', 'Comic Sans', cursive; color: #cc00cc; font-size: 1.4rem; margin-bottom: 4px; }
.bw-gb-sub { font-size: 0.78rem; color: #555; margin-bottom: 14px; }
.bw-counter { font-family: 'Courier New', monospace; background: #000; color: #00ff00; padding: 1px 5px; letter-spacing: 2px; }
.bw-gb-list { text-align: left; margin-bottom: 14px; }
.bw-gb-entry { border: 1px solid #d8c8e8; background: #fffdf2; padding: 6px 9px; margin-bottom: 8px; }
.bw-gb-head { display: flex; justify-content: space-between; font-size: 0.68rem; color: #999; margin-bottom: 2px; }
.bw-gb-head b { color: #cc00cc; font-family: 'Comic Sans MS', cursive; }
.bw-gb-entry p { font-size: 0.82rem; color: #222; line-height: 1.4; }
.bw-gb-mine { border-color: #b9d7a8; background: #f4fbef; }   /* your own signatures */
.bw-gb-mine .bw-gb-head b { color: #2a8a2a; }
.bw-gb-signs { color: #888; }
.bw-gb-form { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.bw-gb-row { display: flex; gap: 6px; align-items: flex-start; }
.bw-gb-name, .bw-gb-input { padding: 4px 6px; font-family: Tahoma, Arial, sans-serif; font-size: 0.78rem;
    border-top: 1px solid #808080; border-left: 1px solid #808080; border-right: 1px solid #fff; border-bottom: 1px solid #fff; }
.bw-gb-name { width: 100%; }
.bw-gb-input { flex: 1; resize: vertical; }
.bw-gb-btn { padding: 4px 14px; cursor: pointer; background: #d4d0c8; font-family: 'Comic Sans MS', cursive; font-size: 0.74rem; flex-shrink: 0; align-self: stretch;
    border-top: 1px solid #fff; border-left: 1px solid #fff; border-right: 1px solid #404040; border-bottom: 1px solid #404040; }
.bw-gb-btn:active { border-color: #404040 #fff #fff #404040; }

/* Blog — polished "coming soon" index */
.bw-blog-head { text-align: center; border-bottom: 1px solid #e2e2e2; padding-bottom: 14px; margin-bottom: 14px; }
.bw-blog-h { font-family: Georgia, 'Times New Roman', serif; font-size: 1.9rem; font-weight: 700; color: #0b3d91; }
.bw-blog-tag { font-family: Georgia, serif; font-style: italic; color: #777; font-size: 0.92rem; margin-top: 4px; }
.bw-blog-soon { text-align: center; color: #9a7b00; background: #fff8e0; border: 1px solid #ecd98a; border-radius: 3px;
    padding: 5px 10px; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 auto 18px; width: fit-content; }
.bw-blog-drafts { display: flex; flex-direction: column; gap: 0; }
.bw-blog-draft { padding: 13px 2px 14px; border-bottom: 1px dashed #d6d6d6; }
.bw-blog-draft:last-child { border-bottom: none; }
.bw-blog-draft-h { font-family: Georgia, 'Times New Roman', serif; font-size: 1.12rem; font-weight: 700; color: #555; }
.bw-blog-draft-meta { font-family: 'Courier New', monospace; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.06em; color: #b08a00; margin: 3px 0 6px; }
.bw-blog-draft-p { font-family: Georgia, serif; font-size: 0.9rem; line-height: 1.55; color: #444; }
.bw-blog-sub { margin-top: 18px; padding: 14px 16px; background: #f6f7f9; border: 1px solid #e0e2e6; border-radius: 3px; text-align: center; }
.bw-blog-sub-label { font-family: Tahoma, Arial, sans-serif; font-size: 0.82rem; color: #333; margin-bottom: 9px; }
.bw-blog-sub-row { display: flex; gap: 6px; justify-content: center; }
.bw-blog-sub-input { flex: 0 1 240px; min-width: 0; padding: 4px 7px; font-family: Tahoma, Arial, sans-serif; font-size: 0.8rem;
    border-top: 1px solid #808080; border-left: 1px solid #808080; border-right: 1px solid #fff; border-bottom: 1px solid #fff; }
.bw-blog-sub-btn { padding: 4px 14px; cursor: pointer; background: #d4d0c8; font-family: Tahoma, Arial, sans-serif; font-size: 0.74rem; flex-shrink: 0;
    border-top: 1px solid #fff; border-left: 1px solid #fff; border-right: 1px solid #404040; border-bottom: 1px solid #404040; }
.bw-blog-sub-btn:active { border-color: #404040 #fff #fff #404040; }
.bw-blog-sub-note { font-size: 0.68rem; color: #999; font-style: italic; margin-top: 8px; }

/* 404 */
.bw-404-h { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.bw-404-p { margin: 8px 0; font-size: 0.85rem; line-height: 1.5; }
.bw-404-list { margin: 8px 0 8px 24px; font-size: 0.85rem; line-height: 1.7; }
.bw-404-list a { color: #0b3d91; }
.bw-404-code { margin-top: 16px; color: #888; font-size: 0.72rem; font-family: 'Courier New', monospace; line-height: 1.5; }

/* New desktop icons + Start-menu extras (Win98) */
.icon-mine .desk-glyph {
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><circle cx='16' cy='17' r='9' fill='%23111'/><g stroke='%23111' stroke-width='2'><line x1='16' y1='3' x2='16' y2='31'/><line x1='2' y1='17' x2='30' y2='17'/><line x1='6' y1='7' x2='26' y2='27'/><line x1='26' y1='7' x2='6' y2='27'/></g><circle cx='13' cy='14' r='2.2' fill='%23fff'/></svg>") center/contain no-repeat;
}
.sm-sep { border-top: 1px solid #808080; border-bottom: 1px solid #ffffff; margin: 3px 4px; }
.sm-ico-mine {
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 32 32'><circle cx='16' cy='17' r='9' fill='%23111'/><g stroke='%23111' stroke-width='2'><line x1='16' y1='3' x2='16' y2='31'/><line x1='2' y1='17' x2='30' y2='17'/></g><circle cx='13' cy='14' r='2.2' fill='%23fff'/></svg>") center/contain no-repeat;
}
.sm-ico-restart {
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><path d='M12.5 8 a4.5 4.5 0 1 1 -1.4 -3.3' fill='none' stroke='%23006000' stroke-width='1.8'/><path d='M11.4 1.6 l0.7 3.3 -3.3 -0.5 z' fill='%23006000'/></svg>") center/contain no-repeat;
}
.sm-ico-task {
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' shape-rendering='crispEdges'><rect x='1' y='2' width='14' height='12' fill='%23fff' stroke='%23000'/><rect x='3' y='9' width='2' height='3' fill='%23008000'/><rect x='6' y='6' width='2' height='6' fill='%23008000'/><rect x='9' y='4' width='2' height='8' fill='%23008000'/><rect x='12' y='7' width='2' height='5' fill='%23008000'/></svg>") center/contain no-repeat;
}

/* ── Per-app Start-menu icons ───────────────────────────────── */
.sm-ico-dos {
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><rect x='1' y='2' width='14' height='12' rx='1' fill='%23000' stroke='%23606060'/><path d='M3 6 l2 2 -2 2' fill='none' stroke='%23c0c0c0' stroke-width='1'/><rect x='7' y='9' width='4' height='1' fill='%23c0c0c0'/></svg>") center/contain no-repeat;
}
.sm-ico-winamp {
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><rect x='1' y='2' width='14' height='12' rx='2' fill='%23303848' stroke='%23000'/><path d='M6 5 l5 3 -5 3 z' fill='%2325e07a'/></svg>") center/contain no-repeat;
}
.sm-ico-terminal {
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><rect x='1' y='2' width='14' height='12' rx='1' fill='%23000' stroke='%23114422'/><path d='M3 6 l2 2 -2 2' fill='none' stroke='%2333ff66' stroke-width='1'/><rect x='7' y='9' width='4' height='1' fill='%2333ff66'/></svg>") center/contain no-repeat;
}
.sm-ico-cdplayer {
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><circle cx='8' cy='8' r='6.5' fill='%23cfd6e4' stroke='%23454d5e'/><circle cx='8' cy='8' r='2' fill='%23454d5e'/><circle cx='8' cy='8' r='0.8' fill='%23fff'/></svg>") center/contain no-repeat;
}
.sm-ico-notepad {
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' shape-rendering='crispEdges'><path d='M3 1 H10 L13 4 V15 H3 Z' fill='%23fff' stroke='%23000'/><path d='M10 1 V4 H13' fill='none' stroke='%23000'/><line x1='5' y1='7' x2='11' y2='7' stroke='%23000080'/><line x1='5' y1='9' x2='11' y2='9' stroke='%23000080'/><line x1='5' y1='11' x2='9' y2='11' stroke='%23000080'/></svg>") center/contain no-repeat;
}
.sm-ico-ie {
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><ellipse cx='8' cy='8' rx='7' ry='3.2' fill='none' stroke='%23ffd200' stroke-width='1.6' transform='rotate(-20 8 8)'/><text x='8' y='12' font-family='Georgia,serif' font-size='12' font-weight='bold' fill='%231560bd' text-anchor='middle'>e</text></svg>") center/contain no-repeat;
}
.sm-ico-calc {
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' shape-rendering='crispEdges'><rect x='2' y='1' width='12' height='14' rx='1' fill='%23d8d4c8' stroke='%23000'/><rect x='3' y='2' width='10' height='3' fill='%2390b070'/><g fill='%23404040'><rect x='3' y='6' width='2' height='2'/><rect x='6' y='6' width='2' height='2'/><rect x='9' y='6' width='2' height='2'/><rect x='3' y='9' width='2' height='2'/><rect x='6' y='9' width='2' height='2'/><rect x='9' y='9' width='2' height='2'/><rect x='3' y='12' width='2' height='2'/></g><rect x='9' y='12' width='2' height='2' fill='%23c04040'/></svg>") center/contain no-repeat;
}

/* ── Social shortcut icons (own branding) ───────────────────── */
.icon-instagram .desk-glyph {
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><defs><linearGradient id='ig' x1='0' y1='1' x2='1' y2='0'><stop offset='0' stop-color='%23feda75'/><stop offset='0.35' stop-color='%23fa7e1e'/><stop offset='0.65' stop-color='%23d62976'/><stop offset='1' stop-color='%234f5bd5'/></linearGradient></defs><rect x='2' y='2' width='28' height='28' rx='8' fill='url(%23ig)'/><circle cx='16' cy='16' r='7' fill='none' stroke='%23fff' stroke-width='2.4'/><circle cx='23.5' cy='8.5' r='1.9' fill='%23fff'/></svg>") center/contain no-repeat;
}
.icon-linkedin .desk-glyph {
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><rect x='2' y='2' width='28' height='28' rx='5' fill='%230a66c2'/><text x='16' y='23' font-family='Arial,Helvetica,sans-serif' font-size='15' font-weight='700' fill='%23fff' text-anchor='middle'>in</text></svg>") center/contain no-repeat;
}
.icon-facebook .desk-glyph {
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><rect x='2' y='2' width='28' height='28' rx='6' fill='%231877f2'/><text x='17' y='25' font-family='Georgia,Times,serif' font-size='23' font-weight='700' fill='%23fff' text-anchor='middle'>f</text></svg>") center/contain no-repeat;
}
.icon-github .desk-glyph {
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><rect width='32' height='32' rx='7' fill='%23181717'/><path fill='%23fff' d='M16 5.5A10.5 10.5 0 0 0 5.5 16c0 4.64 3.01 8.57 7.18 9.96.52.1.72-.23.72-.5 0-.25-.01-.91-.01-1.78-2.9.63-3.51-1.4-3.51-1.4-.47-1.2-1.16-1.52-1.16-1.52-.94-.64.07-.63.07-.63 1.04.07 1.59 1.07 1.59 1.07.93 1.58 2.43 1.12 3.02.86.09-.67.36-1.12.66-1.38-2.31-.26-4.73-1.15-4.73-5.15 0-1.14.41-2.07 1.07-2.8-.11-.26-.47-1.32.1-2.75 0 0 .87-.28 2.86 1.07A9.96 9.96 0 0 1 16 9.88c.84 0 1.68.11 2.47.33 1.99-1.35 2.86-1.07 2.86-1.07.56 1.43.21 2.49.1 2.75.67.73 1.07 1.66 1.07 2.8 0 4-.24 4.89-4.74 5.15.37.32.7.95.7 1.91 0 1.38-.01 2.5-.01 2.83 0 .27.18.6.71.5A10.5 10.5 0 0 0 26.5 16 10.5 10.5 0 0 0 16 5.5z'/></svg>") center/contain no-repeat;
}

/* ── Start-menu social icons ────────────────────────────────── */
.sm-ico-instagram {
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 32 32'><defs><linearGradient id='ig' x1='0' y1='1' x2='1' y2='0'><stop offset='0' stop-color='%23feda75'/><stop offset='0.35' stop-color='%23fa7e1e'/><stop offset='0.65' stop-color='%23d62976'/><stop offset='1' stop-color='%234f5bd5'/></linearGradient></defs><rect x='2' y='2' width='28' height='28' rx='8' fill='url(%23ig)'/><circle cx='16' cy='16' r='7' fill='none' stroke='%23fff' stroke-width='2.4'/><circle cx='23.5' cy='8.5' r='1.9' fill='%23fff'/></svg>") center/contain no-repeat;
}
.sm-ico-linkedin {
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 32 32'><rect x='2' y='2' width='28' height='28' rx='5' fill='%230a66c2'/><text x='16' y='23' font-family='Arial,Helvetica,sans-serif' font-size='15' font-weight='700' fill='%23fff' text-anchor='middle'>in</text></svg>") center/contain no-repeat;
}
.sm-ico-facebook {
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 32 32'><rect x='2' y='2' width='28' height='28' rx='6' fill='%231877f2'/><text x='17' y='25' font-family='Georgia,Times,serif' font-size='23' font-weight='700' fill='%23fff' text-anchor='middle'>f</text></svg>") center/contain no-repeat;
}
.sm-ico-github {
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 32 32'><rect width='32' height='32' rx='7' fill='%23181717'/><path fill='%23fff' d='M16 5.5A10.5 10.5 0 0 0 5.5 16c0 4.64 3.01 8.57 7.18 9.96.52.1.72-.23.72-.5 0-.25-.01-.91-.01-1.78-2.9.63-3.51-1.4-3.51-1.4-.47-1.2-1.16-1.52-1.16-1.52-.94-.64.07-.63.07-.63 1.04.07 1.59 1.07 1.59 1.07.93 1.58 2.43 1.12 3.02.86.09-.67.36-1.12.66-1.38-2.31-.26-4.73-1.15-4.73-5.15 0-1.14.41-2.07 1.07-2.8-.11-.26-.47-1.32.1-2.75 0 0 .87-.28 2.86 1.07A9.96 9.96 0 0 1 16 9.88c.84 0 1.68.11 2.47.33 1.99-1.35 2.86-1.07 2.86-1.07.56 1.43.21 2.49.1 2.75.67.73 1.07 1.66 1.07 2.8 0 4-.24 4.89-4.74 5.15.37.32.7.95.7 1.91 0 1.38-.01 2.5-.01 2.83 0 .27.18.6.71.5A10.5 10.5 0 0 0 26.5 16 10.5 10.5 0 0 0 16 5.5z'/></svg>") center/contain no-repeat;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE TWEAKS — visuals for the stacked phone/tablet layout
   (structural reorder lives in base.css)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
    html, body { overflow-x: hidden; }          /* kill stray horizontal scroll */
    .terminal { padding: 18px 12px 96px; }
    .block { margin-bottom: 26px; }             /* breathing room between windows */
    /* note: no :last-child reset — DOM order != flex visual order here, so it
       would wrongly target the IE window (last in markup). Terminal padding
       handles trailing space. */

    /* IE projects window: compact chrome so it never overflows the screen */
    .block[data-app="ie"] .ie-menubar { gap: 11px; flex-wrap: wrap; }
    .block[data-app="ie"] .ie-toolbar { flex-wrap: wrap; gap: 0; }
    .block[data-app="ie"] .ie-btn { font-size: 0; gap: 0; padding: 4px 6px; }  /* icon-only buttons */
    .block[data-app="ie"] .ie-addr-label { display: none; }
    .block[data-app="ie"] .ie-page { max-height: none; }

    /* "Activate" footer — keep it readable + centered above the taskbar */
    .activate-title { font-size: 1rem; }
    .activate-sub   { font-size: 0.7rem; }
    .activate-foot  { font-size: 0.6rem; padding: 0 12px; }
}
