:root {
    color-scheme: light;
    --desktop: #008080;
    --silver: #c0c0c0;
    --paper: #fff;
    --ink: #171717;
    --navy: #000080;
    --shadow: #808080;
    --raised: inset -1px -1px #0a0a0a, inset 1px 1px #fff, inset -2px -2px #808080, inset 2px 2px #dfdfdf;
    --inset: inset -1px -1px #fff, inset 1px 1px #808080, inset -2px -2px #dfdfdf, inset 2px 2px #0a0a0a;
    font-family: Tahoma, 'MS Sans Serif', Arial, sans-serif;
    font-size: 16px;
    font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--desktop); }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; border-radius: 0; }
button:disabled { cursor: wait; color: #686868; }
button:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 2px dotted #111; outline-offset: -5px; }
button:focus-visible { position: relative; z-index: 1; }
input:focus-visible { outline-offset: 3px; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button svg { flex-shrink: 0; }
svg { width: 24px; height: 24px; }
[hidden] { display: none !important; }
.icon-definitions { width: 0; height: 0; position: absolute; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.desktop { position: relative; min-height: 650px; height: calc(100dvh - 46px - env(safe-area-inset-bottom)); overflow: hidden; }
.desktop-icons { position: absolute; z-index: 1; left: 18px; top: 26px; display: grid; gap: 20px; width: 100px; }
.desktop-icon { display: flex; flex-direction: column; align-items: center; gap: 8px; border: 0; background: none; padding: 4px; min-height: 78px; color: white; font-size: .8125rem; line-height: 1.35; text-shadow: 1px 1px #003e3e; }
.desktop-icon svg { width: 36px; height: 36px; image-rendering: pixelated; filter: drop-shadow(1px 1px 0 #005656); }
.desktop-icon span { padding: 2px 3px; border: 1px solid transparent; }
.desktop-icon.is-selected span, .desktop-icon:focus-visible span { background: var(--navy); border: 1px dotted #c9cccc; }
.desktop-icon:focus-visible { outline: none; }
.desktop-icon:hover svg { transform: translateY(-1px); }
.desktop-brand { position: absolute; right: 44px; bottom: 34px; color: #006565; text-shadow: 1px 1px #159191; user-select: none; text-align: right; }
.desktop-brand > span { display: block; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2rem, 4vw, 4rem); letter-spacing: -.06em; }
.desktop-brand i { font-weight: normal; font-size: .55em; }
.desktop-brand small { display: block; font-size: .8125rem; letter-spacing: .035em; margin-top: 5px; }
.window { background: var(--silver); padding: 3px; box-shadow: var(--raised), 3px 4px 0 #003d3d70; }
.login-window { position: absolute; z-index: 3; left: 50%; top: 46%; transform: translate(-50%, -50%); width: 452px; }
.title-bar { min-height: 30px; padding: 3px 3px 3px 6px; background: linear-gradient(90deg, #000080 20%, #1084d0); display: flex; align-items: center; justify-content: space-between; gap: 8px; color: white; user-select: none; }
[data-drag] { cursor: grab; touch-action: none; }
[data-drag].is-dragging { cursor: grabbing; }
.title-bar h1, .title-bar h2 { display: flex; align-items: center; gap: 6px; min-width: 0; margin: 0; font-size: .875rem; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.title-bar h1 svg, .title-bar h2 svg { width: 19px; height: 19px; flex-shrink: 0; }
.window-controls { display: flex; gap: 3px; flex-shrink: 0; }
.window-button { width: 24px; height: 24px; border: 0; background: var(--silver); box-shadow: var(--raised); color: #000; padding: 0 0 3px; font: bold 19px/1 Arial, sans-serif; }
.window-button:active, .win-button:active, .win-button.is-active { box-shadow: var(--inset); }
.close-button { font-size: 24px; padding-bottom: 2px; }
.login-menu, .messenger-menu { display: flex; align-items: center; justify-content: space-between; min-height: 32px; padding: 1px 9px; font-size: .875rem; }
.login-menu button, .messenger-menu button { border: 0; background: transparent; padding: 5px 8px; }
.login-menu button:hover, .messenger-menu button:hover { background: #d1d1d1; box-shadow: var(--raised); }
.login-menu > span { font-size: .75rem; color: #505050; padding-right: 4px; }
.aol-banner { margin: 0 7px; min-height: 119px; padding: 21px 25px; display: flex; align-items: center; gap: 19px; background: #fff; border: 1px solid #888; box-shadow: inset 0 -4px #f0f0f0; }
.aol-emblem { display: grid; place-items: center; width: 70px; height: 74px; background: #11138f; border: 2px solid #09094d; box-shadow: inset 1px 1px #8585d1; }
.aol-emblem svg { width: 58px; height: 58px; image-rendering: pixelated; }
.aol-wordmark { font-family: Arial, Helvetica, sans-serif; color: #000066; white-space: nowrap; }
.aol-wordmark > div { font-size: 3.125rem; font-weight: 900; line-height: .94; letter-spacing: -.075em; }
.registered { display: inline-block; vertical-align: top; font-size: .75rem; margin: 5px 0 0 5px; letter-spacing: normal; }
.aol-wordmark > span { display: block; font-size: 1.1875rem; font-weight: bold; margin-top: 7px; letter-spacing: -.04em; }
.trademark { font-size: .65em; vertical-align: super; margin-left: 2px; }
.login-body { padding: 23px 28px 19px; }
.welcome { margin-bottom: 23px; }
.welcome h2 { margin: 0 0 6px; font-size: 1.125rem; }
.welcome p { margin: 0; font-size: .875rem; line-height: 1.5; color: #454545; }
#login-form label { display: block; font-size: .875rem; margin: 15px 0 7px; }
.screen-name-field, .password-field { display: flex; background: white; box-shadow: var(--inset); padding: 2px; min-height: 42px; align-items: stretch; }
.screen-name-field input, .password-field input { width: 100%; min-width: 0; border: 0; background: transparent; border-radius: 0; padding: 8px 10px; line-height: 1.25; color: #111; outline-offset: 0; }
.screen-name-field input { background: #f0f0f0; }
.screen-name-field > span { display: grid; place-items: center; width: 32px; margin: 1px; background: var(--silver); box-shadow: var(--raised); color: #555; flex-shrink: 0; }
.password-field button { background: #fff; border: 0; min-width: 54px; font-size: .8125rem; color: #000080; padding: 0 8px; text-decoration: underline; text-underline-offset: 2px; }
.password-field input::placeholder { color: #777; }
.field-hint { font-size: .75rem; color: #4b4b4b; margin: 8px 0 0; line-height: 1.5; }
.login-error { padding: 10px 11px; background: #fff0e5; border: 1px solid #a74820; color: #7e2200; font-size: .875rem; line-height: 1.5; margin: 12px 0 0; }
.login-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; }
.connection-label { display: flex; align-items: center; gap: 7px; font-size: .75rem; color: #454545; }
.status-dot { display: inline-block; height: 7px; width: 7px; flex-shrink: 0; background: #777; border: 1px solid #555; box-shadow: 1px 1px #e0e0e0; }
.status-dot.online { background: #008b00; border-color: #005400; }
.win-button { display: inline-flex; gap: 8px; align-items: center; justify-content: center; min-height: 34px; padding: 6px 14px; border: 0; box-shadow: var(--raised); background: var(--silver); font-size: .875rem; }
.win-button:hover { background: #cecece; }
.primary-button { min-width: 124px; min-height: 43px; outline: 1px solid #0a0a0a; outline-offset: 0; font-weight: bold; }
.primary-button svg { width: 23px; height: 23px; }
.window-status { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 3px 2px; padding: 5px 7px 4px; box-shadow: inset 1px 1px #888, inset -1px -1px #fff; min-height: 25px; font-size: .75rem; color: #404040; }
.status-grip { color: #757575; font-size: .875rem; line-height: 1; }
.desktop-hint { position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%); display: none; align-items: center; gap: 10px; color: #fff; font-size: .875rem; line-height: 1.5; text-align: center; }
.desktop-hint.is-visible { display: flex; }
.desktop-hint svg { width: 30px; height: 30px; flex-shrink: 0; }
.taskbar { display: flex; align-items: center; gap: 8px; position: sticky; bottom: 0; z-index: 20; height: calc(46px + env(safe-area-inset-bottom)); padding: 5px 7px calc(5px + env(safe-area-inset-bottom)); background: var(--silver); box-shadow: inset 0 1px #dfdfdf, inset 0 2px #fff; }
.start-button { min-height: 34px; padding: 4px 8px; font-size: 1rem; }
.start-button svg { width: 24px; height: 24px; }
.taskbar-divider { display: block; height: 30px; width: 2px; background: #888; border-right: 1px solid #fff; }
.taskbar-app { width: 240px; justify-content: flex-start; min-width: 0; min-height: 34px; padding: 4px 9px; }
.taskbar-app span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.taskbar-app svg { width: 21px; height: 21px; }
.taskbar-app.is-active { background: #d6d6d6; font-weight: bold; }
.inset { box-shadow: var(--inset); }
.system-tray { display: flex; align-items: center; gap: 11px; height: 34px; margin-left: auto; padding: 4px 10px 4px 4px; }
.system-tray button { position: relative; display: grid; place-items: center; border: 0; background: none; padding: 3px; width: 28px; height: 28px; color: #333; }
.system-tray svg { width: 19px; height: 19px; }
.mute-mark { position: absolute; right: 0; bottom: 0; color: #970000; font-size: 15px; line-height: 1; font-weight: bold; background: #c0c0c0; }
.system-tray time { font-size: .8125rem; white-space: nowrap; }
.start-menu { position: fixed; z-index: 25; bottom: calc(46px + env(safe-area-inset-bottom)); left: 4px; display: flex; max-width: calc(100vw - 8px); box-shadow: var(--raised), 2px 2px #2228; }
.start-rail { background: #808080; color: #c0c0c0; writing-mode: vertical-rl; transform: rotate(180deg); font: bold 25px/1.1 Arial, sans-serif; padding: 9px 6px; }
.start-rail span { color: #fff; font-weight: normal; }
.start-items { width: 270px; padding: 3px 0; }
.start-items > button { display: flex; align-items: center; gap: 13px; width: 100%; min-height: 54px; text-align: left; padding: 9px 13px; border: 0; background: none; font-size: .875rem; }
.start-items > button svg { width: 30px; height: 30px; }
.start-items > button:hover, .start-items > button:focus-visible { background: var(--navy); color: white; }
.menu-divider { border-top: 1px solid #808080; border-bottom: 1px solid #fff; margin: 4px; }
.messenger-window { position: absolute; z-index: 4; width: min(900px, calc(100% - 180px)); height: min(650px, calc(100% - 70px)); min-height: 450px; left: 53%; top: 48%; transform: translate(-50%, -50%); display: flex; flex-direction: column; }
.messenger-window.is-maximised { left: 0 !important; top: 0 !important; transform: none !important; width: 100%; height: 100%; }
.messenger-menu { justify-content: flex-start; gap: 2px; padding: 3px 6px; min-height: 36px; }
.messenger-menu > span { display: flex; align-items: center; gap: 7px; margin-left: auto; font-size: .75rem; padding-right: 7px; }
.messenger-content { display: flex; flex: 1; min-height: 0; margin: 0 5px 7px; border-top: 1px solid #858585; }
.buddy-panel { position: relative; flex: 0 0 196px; border-right: 1px solid #888; padding: 16px 8px 40px 0; box-shadow: 1px 0 #eee; }
.buddy-brand { display: flex; align-items: center; gap: 8px; padding: 0 10px; color: #000066; }
.buddy-brand svg { width: 35px; height: 35px; }
.buddy-brand strong { font: 900 30px/1 Arial, sans-serif; letter-spacing: -2px; }
.buddy-account { padding: 13px 12px 17px; font-size: .875rem; }
.buddy-panel h3 { font-size: .875rem; font-weight: normal; margin: 0; padding: 8px 7px; border-top: 1px solid #888; box-shadow: inset 0 1px #eee; }
.buddy-item { display: flex; align-items: center; gap: 7px; border: 0; background: var(--navy); color: white; padding: 10px 8px; width: 100%; font-size: .8125rem; overflow-wrap: anywhere; text-align: left; }
.buddy-item svg { width: 20px; height: 20px; }
.buddy-panel-footer { display: flex; align-items: center; gap: 7px; position: absolute; bottom: 12px; left: 9px; font-size: .75rem; }
.conversation-panel { display: flex; flex: 1; min-width: 0; min-height: 0; flex-direction: column; padding: 0 0 0 10px; }
.conversation-header { display: flex; align-items: center; gap: 12px; min-height: 79px; padding: 12px 9px; }
.conversation-header > svg { width: 33px; height: 33px; flex-shrink: 0; }
.conversation-header > div { min-width: 0; }
.conversation-header h3 { margin: 0 0 5px; font-size: 1rem; overflow-wrap: anywhere; }
.conversation-header p { font-size: .75rem; color: #4b4b4b; margin: 0; line-height: 1.4; }
.archive-badge { margin-left: auto; font-size: .75rem; padding: 5px 7px; border: 1px solid #888; white-space: nowrap; }
.sample-notice { font-size: .75rem; line-height: 1.5; background: #fffbda; color: #695312; border: 1px solid #a99555; padding: 7px 10px; margin: 0 0 7px; }
.chat-log { background: #fff; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 22px 22px 18px; scrollbar-color: #c0c0c0 #e5e5e5; scrollbar-width: auto; }
.chat-log::-webkit-scrollbar { width: 16px; }
.chat-log::-webkit-scrollbar-track { background: repeating-conic-gradient(#ddd 0% 25%, #fff 0% 50%) 0 0 / 2px 2px; }
.chat-log::-webkit-scrollbar-thumb { background: #c0c0c0; border: 2px solid; border-color: #fff #777 #777 #fff; }
.chat-date { text-align: center; color: #606060; font-size: .75rem; margin: 0 0 23px; padding-bottom: 15px; border-bottom: 1px solid #d8d8d8; line-height: 1.6; }
.chat-subject { font-size: .8125rem; color: #555; margin: 0 0 23px; font-style: italic; line-height: 1.6; }
.chat-message { margin-bottom: 21px; }
.message-meta { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; margin-bottom: 5px; }
.message-sender { color: #0000b0; font-size: .875rem; font-weight: bold; overflow-wrap: anywhere; }
.chat-message.is-self .message-sender { color: #a20000; }
.message-time { color: #6d6d6d; font-size: .75rem; }
.message-text { margin: 0; font-family: Arial, Helvetica, sans-serif; font-size: 1rem; line-height: 1.6; overflow-wrap: anywhere; white-space: pre-wrap; }
.chat-ending { color: #616161; background: #f2f2f2; font-size: .8125rem; padding: 12px; margin: 25px 0 0; line-height: 1.6; }
.chat-loading { font-size: .875rem; color: #666; }
.chat-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 2px 3px; }
.chat-readonly { color: #4b4b4b; font-size: .75rem; }
.chat-footer .win-button { white-space: nowrap; font-size: .8125rem; }
.info-dialog { color: #111; border: 0; padding: 3px; width: min(430px, calc(100% - 28px)); max-height: calc(100dvh - 50px); }
.info-dialog::backdrop { background: #002a2a55; }
.info-content { background: white; margin: 11px 9px 0; padding: 20px; font-size: 1rem; line-height: 1.65; max-height: 58dvh; overflow-y: auto; }
.info-content h3 { margin: 0 0 13px; font-size: 1.125rem; }
.info-content p { margin: 0 0 14px; }
.info-content p:last-child { margin-bottom: 0; }
.info-content small { font-size: .75rem; color: #626262; }
.dialog-actions { display: flex; justify-content: center; padding: 14px; }
.dialog-actions button { min-width: 90px; }
.noscript-notice { position: absolute; z-index: 6; top: 20%; left: 10%; width: 80%; padding: 24px; background: #fff4bd; border: 2px solid #222; line-height: 1.6; }
@media (max-width: 700px) {
    .desktop { min-height: 635px; }
    .desktop-icons { top: max(14px, env(safe-area-inset-top)); left: 6px; right: 6px; display: flex; width: auto; justify-content: space-around; gap: 0; }
    .desktop-icon { min-height: 80px; width: 25%; gap: 5px; font-size: .75rem; padding: 3px 0; }
    .desktop-icon svg { width: 30px; height: 30px; }
    .desktop-icon span { padding: 1px 2px; }
    .desktop-brand { right: 17px; bottom: 19px; }
    .desktop-brand > span { font-size: 1.75rem; }
    .desktop-brand small { display: none; }
    .login-window { top: max(110px, calc(19% - 12px)); width: min(428px, calc(100% - 24px)); transform: translateX(-50%); }
    .title-bar { min-height: 35px; }
    .title-bar h1, .title-bar h2 { font-size: .8125rem; gap: 4px; }
    .window-button { width: 29px; height: 29px; }
    .aol-banner { gap: 16px; padding: 17px 19px; min-height: 108px; }
    .aol-emblem { width: 61px; height: 65px; }
    .aol-emblem svg { width: 50px; height: 50px; }
    .aol-wordmark > div { font-size: 2.8125rem; }
    .aol-wordmark > span { font-size: 1.0625rem; }
    .login-body { padding: 19px 21px 20px; }
    .welcome { margin-bottom: 18px; }
    .welcome p { font-size: .8125rem; }
    .screen-name-field, .password-field { min-height: 44px; }
    .password-field button { min-width: 55px; }
    .login-actions { margin-top: 22px; }
    .primary-button { min-height: 44px; min-width: 113px; }
    .taskbar { gap: 5px; padding-left: 5px; padding-right: 5px; }
    .taskbar-app { width: auto; flex: 1; padding: 4px 6px; }
    .taskbar-app span { font-size: .75rem; }
    .system-tray { gap: 6px; padding-right: 7px; }
    .system-tray time { font-size: .75rem; }
    .start-button { gap: 5px; padding: 4px 7px; font-size: .875rem; }
    .start-button svg { width: 21px; height: 21px; }
    .desktop-hint { left: 18px; right: 18px; bottom: 115px; transform: none; justify-content: center; }
    .messenger-window { top: 105px; left: 7px; width: calc(100% - 14px); height: calc(100% - 117px); min-height: 0; transform: none; }
    .maximise-button { display: none; }
    .buddy-panel { display: none; }
    .messenger-content { margin: 0 3px 5px; }
    .conversation-panel { padding-left: 0; }
    .conversation-header { min-height: 76px; gap: 10px; padding: 12px 8px; }
    .conversation-header h3 { font-size: .9375rem; }
    .archive-badge { display: none; }
    .chat-log { padding: 18px 15px; }
    .chat-footer { flex-wrap: wrap; gap: 7px; padding: 8px 3px 2px; }
    .chat-readonly { max-width: 128px; line-height: 1.4; }
    .chat-footer .win-button { min-height: 38px; padding: 6px 10px; }
    .message-text { line-height: 1.65; }
}
@media (max-width: 360px) {
    .login-window { width: calc(100% - 16px); }
    .aol-banner { gap: 12px; padding-left: 13px; padding-right: 10px; }
    .aol-wordmark > span { font-size: .9375rem; }
    .login-body { padding-left: 16px; padding-right: 16px; }
    .connection-label { max-width: 110px; line-height: 1.5; }
    .system-tray { gap: 2px; padding-right: 5px; }
    .taskbar-app > span { display: none; }
    .taskbar-app { flex: 0 0 45px; justify-content: center; }
    .chat-readonly { max-width: 100px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media (pointer: coarse) {
    .login-menu button, .messenger-menu button { min-height: 36px; }
}
