/* AOL 8.0 for Windows XP. One deliberate look (XP Luna + the 8.0 silver/blue
   toolbar skin), so every colour is set explicitly. */
:root {
  color-scheme: light;
  --face: #ece9d8;          /* XP 3D face */
  --face-dk: #aca899;
  --ink: #000;
  --navy: #14246b;
  --link: #0000ee;
  --aol-blue: #1d3c8f;
  --mdi: #808080;           /* Windows AppWorkspace */
  --sel: #316ac5;
  --tip: #ffffe1;
  --ui: Tahoma, Verdana, "DejaVu Sans", "Segoe UI", sans-serif;
  --title: "Trebuchet MS", Tahoma, "DejaVu Sans", sans-serif;
  --arial: Arial, Helvetica, "Liberation Sans", sans-serif;
  /* 8.0 toolbar skin (sampled from 2002 TechTV footage, approximate) */
  --tab-mail: #b9c3e3; --tab-people: #a7d3c2; --tab-services: #bdb3cd; --tab-settings: #a8d7dc; --tab-fav: #d6b5cf;
  --tab-ink: #14246b;
  --row: linear-gradient(#ffffff, #eef2f7 55%, #d3dce8);
  --row-ink: #14246b;
  --nav: linear-gradient(#dcebf5, #b2d0e4);
}
/* "Classic 7.0" toolbar colour (8.0 let members change the toolbar colour) */
.skin-70 {
  --tab-mail: #0da2c4; --tab-people: #0da393; --tab-services: #9692c6; --tab-settings: #16baa8; --tab-fav: #7f4580;
  --tab-ink: #fff; --row-ink: #fff; --nav: linear-gradient(#2a82ad, #196c97);
}
.skin-70 .tgroup.mail .ticons { background: #3180a5 } .skin-70 .tgroup.people .ticons { background: #087064 }
.skin-70 .tgroup.services .ticons { background: #656291 } .skin-70 .tgroup.settings .ticons { background: #602963 }
.skin-70 .tgroup.fav .ticons, .skin-70 .tfill .ticons { background: #602963 } .skin-70 .tfill .ttab { background: #945a95 }
.skin-70 .navbar .navlbl { color: #fff }
.skin-silver { --tab-mail: #d8dce6; --tab-people: #d8dce6; --tab-services: #d8dce6; --tab-settings: #d8dce6; --tab-fav: #d8dce6; }

* { box-sizing: border-box }
html, body { height: 100%; margin: 0; touch-action: manipulation }
body { background: var(--face); color: var(--ink); font: 11px/1.25 var(--ui); overflow: hidden; -webkit-font-smoothing: auto }
button, input, select, textarea { font: inherit; color: inherit }
a { color: var(--link) }

#app { position: fixed; inset: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px) 0; display: flex; flex-direction: column; background: var(--face) }

/* outer XP application title bar */
.xptitle { height: 29px; flex: none; display: flex; align-items: center; gap: 6px; padding: 0 4px 0 7px; color: #fff;
  font: bold 13px var(--title); text-shadow: 1px 1px #0f1089;
  background: linear-gradient(#0997ff, #0053ee 8%, #0050ee 40%, #06f 88%, #06f 93%, #005bff 95%, #003dd7 96%, #003dd7);
  border-radius: 7px 7px 0 0 }
.xptitle .tb-title { flex: 1; text-align: left }
.xptitle .tb-btns button { width: 21px; height: 21px }

/* menu bar */
.menubar { flex: none; display: flex; height: 20px; align-items: stretch; background: var(--face); border-bottom: 1px solid #fff; padding-left: 2px }
.menubar > span { padding: 3px 7px 0; cursor: default; user-select: none }
.menubar > span:hover, .menubar > span.open { background: var(--sel); color: #fff }

/* tab toolbar */
.toolbar { flex: none; display: flex; align-items: stretch; background: var(--row); border-bottom: 1px solid #8ea4c2; overflow: hidden; position: relative }
.tgroup { display: flex; flex-direction: column; border-right: 1px solid #9fb0c8; flex: none }
.ttab { height: 19px; display: flex; align-items: center; gap: 4px; padding: 0 8px 0 7px; font-weight: bold; color: var(--tab-ink);
  cursor: default; user-select: none; border-bottom: 1px solid rgba(0,0,0,.18); background-image: linear-gradient(rgba(255,255,255,.55), rgba(255,255,255,0) 70%) }
.ttab .arr { margin-left: auto; font-size: 8px; padding-left: 10px }
.ttab:hover, .ttab.open { filter: brightness(1.07); box-shadow: inset 0 0 0 1px rgba(20,36,107,.45) }
.tgroup.mail .ttab { background-color: var(--tab-mail) } .tgroup.people .ttab { background-color: var(--tab-people) }
.tgroup.services .ttab { background-color: var(--tab-services) } .tgroup.settings .ttab { background-color: var(--tab-settings) }
.tgroup.fav .ttab, .tfill .ttab { background-color: var(--tab-fav) }
.ticons { display: flex; align-items: center; height: 33px; padding: 0 2px }
.tbtn { display: flex; align-items: center; gap: 4px; height: 29px; padding: 0 6px 0 4px; border: 1px solid transparent; border-radius: 3px;
  background: none; cursor: default; color: var(--row-ink); font-weight: bold; white-space: nowrap }
.tbtn:hover { border-color: #7b9ebd; background: linear-gradient(#fff, #dde8f4) }
.tbtn:active { background: linear-gradient(#cddcee, #eef4fb) }
.tbtn.off { opacity: .45; pointer-events: none }
.tfill { flex: 1; min-width: 40px; display: flex; flex-direction: column }
.tfill .ticons { color: #6a7896; font-style: italic; padding-left: 8px; white-space: nowrap; overflow: hidden }
.tlogo { flex: none; width: 64px; height: 53px; overflow: hidden; background: #fff; border-left: 1px solid #9fb0c8; cursor: pointer }
.tlogo img { display: block; width: 64px; height: 58px; margin-top: -2px }

/* navigation row */
.navbar { flex: none; height: 30px; display: flex; align-items: center; gap: 3px; padding: 0 4px; background: var(--nav); border-bottom: 1px solid #6f8fb0 }
.navbar .nb { display: flex; flex-direction: column; align-items: center; border: 1px solid transparent; background: none; padding: 0 2px; border-radius: 3px; cursor: default }
.navbar .nb:hover { border-color: #6f8fb0; background: rgba(255,255,255,.4) }
.navbar .nb.off { opacity: .4; pointer-events: none }
.navbar .chbtn { display: flex; align-items: center; gap: 4px; height: 23px; padding: 0 7px; border: 1px solid #5f7fa6; border-radius: 3px;
  background: linear-gradient(#fff, #c9dbee); font-weight: bold; color: var(--navy); white-space: nowrap }
.navbar .chbtn.on { background: linear-gradient(#b9d0ea, #e9f1fa) }
.kwbox { flex: 1; min-width: 80px; display: flex; height: 22px; border: 1px solid #7f9db9; background: #fff }
.kwbox input { flex: 1; min-width: 0; border: 0; padding: 0 4px; outline: 0; background: #fff }
.kwbox input::placeholder { color: #8a8a8a }
.kwbox .dd { width: 17px; border: 0; border-left: 1px solid #c3d3e5; background: linear-gradient(#e6eefc, #c1d3fb); font-size: 8px; color: #4d6185 }
.gobtn { border: 0; background: none; padding: 0; display: flex; cursor: pointer }
.srch { display: flex; height: 22px; border: 2px solid #f0c419; background: #fff; width: 170px; flex: none }
.srch input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 4px }
.navbtn { height: 22px; padding: 0 8px; border: 1px solid #1d4f86; border-radius: 11px; color: #fff; font-weight: bold;
  background: linear-gradient(#7fb3e8, #2a68b0 55%, #1d5698); white-space: nowrap }
.navbtn:active { background: linear-gradient(#1d5698, #4f8bd0) }

/* main area */
.main { flex: 1; min-height: 0; display: flex }
.channels { width: 150px; flex: none; background: linear-gradient(90deg, #d7e7f6, #bcd4ec); border-right: 1px solid #6f8fb0; overflow-y: auto; padding: 4px 0 }
.channels h3 { margin: 2px 8px 6px; font: bold 12px var(--title); color: var(--navy) }
.channels button { display: flex; width: calc(100% - 8px); margin: 1px 4px; align-items: center; gap: 4px; text-align: left; padding: 3px 6px;
  border: 1px solid #9db8d6; border-radius: 2px; background: linear-gradient(#fdfeff, #dce8f5); color: var(--navy); font-weight: bold }
.channels button::before { content: "▸"; color: #2a68b0; font-size: 10px }
.channels button:hover { background: linear-gradient(#fff6d5, #ffd979); border-color: #c9a227 }
#mdi { flex: 1; min-width: 0; position: relative; overflow: hidden; overflow: clip; background: var(--mdi) }
#mdi.bg-teal { background: #3a6e8f } #mdi.bg-khaki { background: #c8a256 } #mdi.bg-sky { background: linear-gradient(#5b9be0, #b9dcff) } #mdi.bg-grey { background: var(--mdi) }

/* status bar of the offline preview */
.offline-note { position: absolute; right: 6px; bottom: 4px; z-index: 1; color: #e8e8e8; font-size: 10px; text-shadow: 1px 1px #333; pointer-events: none }

/* XP child windows */
.win { position: absolute; display: flex; flex-direction: column; background: var(--face); border: 3px solid #0831d9; border-top: 0;
  border-radius: 7px 7px 0 0; box-shadow: 1px 2px 6px rgba(0,0,0,.35); min-width: 160px }
.win .tb { height: 25px; flex: none; display: flex; align-items: center; gap: 4px; padding: 0 2px 0 4px; margin: 0 -3px; color: #fff;
  font: bold 13px var(--title); text-shadow: 1px 1px #0f1089; user-select: none; touch-action: none; border-radius: 7px 7px 0 0;
  background: linear-gradient(#0997ff, #0053ee 8%, #0050ee 40%, #06f 88%, #06f 93%, #005bff 95%, #003dd7 96%, #003dd7) }
.win:not(.active) { border-color: #7a96df }
.win:not(.active) .tb { background: linear-gradient(#a9c0f0, #7a96df 10%, #7a96df 80%, #6a86cf); color: #d8e4f8; text-shadow: none }
.tb-ico { display: flex; flex: none }
.tb-title { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis }
.tb-btns { display: flex; gap: 2px; flex: none }
.tb-btns button { width: 21px; height: 21px; border: 1px solid #fff; border-radius: 3px; padding: 0; position: relative;
  background: linear-gradient(135deg, #5a8cf5, #2560e0 60%, #1b4fc8) }
.win:not(.active) .tb-btns button { opacity: .75 }
.tb-btns button:hover { filter: brightness(1.15) }
.tb-btns .close { background: linear-gradient(135deg, #e8836a, #d4401e 60%, #b9301a) }
.tb-btns .close::before, .tb-btns .close::after { content: ""; position: absolute; left: 4px; top: 8px; width: 11px; height: 2.4px; background: #fff; transform: rotate(45deg) }
.tb-btns .close::after { transform: rotate(-45deg) }
.tb-btns .min::before { content: ""; position: absolute; left: 4px; bottom: 4px; width: 7px; height: 3px; background: #fff }
.tb-btns .max::before { content: ""; position: absolute; left: 4px; top: 3px; width: 11px; height: 11px; border: 1px solid #fff; border-top-width: 3px; box-sizing: border-box }
.tb-btns .fav { background: linear-gradient(#fff, #e8edf8); border-color: #c5d3f0; display: flex; align-items: center; justify-content: center }
.win.maxed { border-radius: 0 } .win.maxed .tb { border-radius: 0 } .win.maxed .grip { display: none }
.win.minned .wbody, .win.minned .wmenu, .win.minned .grip, .win.minned .fav { display: none }
.wbody { flex: 1; min-height: 0; position: relative; overflow: hidden; display: flex; flex-direction: column }
.grip { position: absolute; right: -3px; bottom: -3px; width: 14px; height: 14px; cursor: nwse-resize; touch-action: none;
  background: linear-gradient(135deg, transparent 50%, #aca899 50%, #aca899 60%, transparent 60%, transparent 70%, #aca899 70%, #aca899 80%, transparent 80%) }
.wmenu { display: flex; background: var(--face); border-bottom: 1px solid #c5c2b2; padding-left: 2px }
.wmenu span { padding: 2px 7px }

/* drop-down menus */
.menu { position: fixed; z-index: 100000; min-width: 160px; background: #fff; border: 1px solid #aca899; box-shadow: 2px 2px 3px rgba(0,0,0,.3); padding: 2px; font: 11px var(--ui) }
.mi { display: flex; align-items: center; height: 19px; padding-right: 10px; cursor: default; white-space: nowrap }
.mi:hover { background: var(--sel); color: #fff }
.mi.off { color: #aca899 }
.mi.off:hover { background: none; color: #aca899 }
.mi.sub-open { background: var(--sel); color: #fff }
.mi.has-sub .mkey { padding-left: 24px; margin-left: auto; font-size: 9px }
.mchk { width: 20px; text-align: center }
.mlabel { flex: 1 }
.mkey { padding-left: 24px }
.msep { height: 1px; background: #aca899; margin: 3px 1px }
.tooltip { position: fixed; z-index: 100001; background: var(--tip); border: 1px solid #000; padding: 1px 4px; font: 11px var(--ui); pointer-events: none; max-width: 300px; box-shadow: 2px 2px 2px rgba(0,0,0,.25) }

/* XP push buttons and fields */
.btn { min-width: 70px; height: 23px; padding: 0 10px; border: 1px solid #003c74; border-radius: 3px; background: linear-gradient(#fff, #f3f3ef 70%, #d6d0c5); cursor: default; color: #000 }
.btn:hover { box-shadow: inset 0 0 0 2px #fbc761 }
.btn:focus-visible, .btn.def { box-shadow: inset 0 0 0 2px #b4c8f4 }
.btn:active { background: linear-gradient(#e3e2da, #f2f1ee) }
.btn[disabled] { color: #aca899; border-color: #c9c7ba }
.field, select.field, textarea.field { border: 1px solid #7f9db9; background: #fff; color: #000; padding: 2px 3px; outline: 0 }
.field:focus { border-color: #316ac5 }
/* AOL 8.0 area buttons: rounded blue gloss, white bold text */
.abtn { height: 22px; padding: 0 12px; border: 1px solid #0d3a70; border-radius: 4px; color: #fff; font-weight: bold; white-space: nowrap; cursor: pointer;
  background: linear-gradient(#73a9e0, #2c6cb8 50%, #1a559c 51%, #2463ad); text-shadow: 0 -1px rgba(0,0,0,.35); box-shadow: 1px 1px 0 #87b4e3 }
.abtn:hover { filter: brightness(1.1) } .abtn:active { filter: brightness(.9) }
.abtn[disabled] { filter: grayscale(.8) opacity(.6) }
.abtn.dd::after { content: " ▾" }
.ybtn { white-space: nowrap; height: 21px; padding: 0 10px; border: 1px solid #b07c12; border-radius: 4px; color: #3a2500; font-weight: bold; cursor: pointer;
  background: linear-gradient(#fff3c4, #ffd45a 50%, #f5b81c 51%, #ffd04a) }
.ibtn { display: flex; flex-direction: column; align-items: center; gap: 1px; border: 1px solid transparent; background: none; padding: 2px 3px; font-size: 10px; color: #000; border-radius: 3px; cursor: pointer; min-width: 44px }
.ibtn:hover { border-color: #7b9ebd; background: rgba(255,255,255,.6) }
.kw { font-size: 10px; color: #333 }
.kw b { color: var(--navy) }
.lnk { color: var(--link); text-decoration: underline; cursor: pointer; background: none; border: 0; padding: 0; font: inherit; text-align: left }

/* message boxes */
.dlg .wbody { background: var(--face) }
.mb { display: flex; gap: 12px; padding: 14px 14px 6px; flex: 1 }
.mbi { flex: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font: bold 20px Georgia, serif; border: 1px solid #fff; box-shadow: 0 0 0 1px #555 }
.mbi.i { background: radial-gradient(circle at 35% 30%, #8cb8ff, #1f5fd6) } .mbi.q { background: radial-gradient(circle at 35% 30%, #8cb8ff, #1f5fd6) } .mbi.x { background: radial-gradient(circle at 35% 30%, #ff9b8a, #d4301e); font-family: var(--ui) }
.mbt { flex: 1; font-size: 11px; padding-top: 4px; overflow-wrap: anywhere }
.who-list { margin-top: 6px; max-height: 180px; overflow: auto; background: #fff; border: 1px solid #7f9db9; padding: 2px 4px }
.mbb { display: flex; justify-content: center; gap: 8px; padding: 8px }
.ask { padding: 12px; display: flex; flex-direction: column; gap: 6px }
.ask label { display: flex; flex-direction: column; gap: 4px }
.ask .mbb { padding: 6px 0 0 }

/* lists */
.list { background: #fff; border: 1px solid #7f9db9; overflow-y: auto; min-height: 0 }
.list .row { padding: 1px 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: default; user-select: none }
.list .row.sel { background: var(--sel); color: #fff }
.grid { width: 100%; border-collapse: collapse; table-layout: fixed }
.grid th { position: sticky; top: 0; text-align: left; font-weight: normal; padding: 2px 5px; background: linear-gradient(#fff, #ebeadb); border-bottom: 2px solid #d6d2c2; border-right: 1px solid #e2e0d4 }
.grid td { padding: 1px 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: default }
.grid tr.sel td { background: #0a246a; color: #fff }
.grid tr.unread td { font-weight: bold }
.empty { color: #666; padding: 8px; font-style: italic }

/* ---------- Sign On ---------- */
.signon .wbody { flex-direction: row; background: #fefaf0; overflow: auto }
.so-band { width: 112px; flex: none; position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(#3d9fc9, #1b80a9) }
.so-band::before { content: ""; position: absolute; left: -60px; top: 90px; width: 260px; height: 260px; border-radius: 50%; border: 22px solid rgba(255,255,255,.09) }
.so-band::after { content: ""; position: absolute; left: -110px; top: 40px; width: 260px; height: 330px; border-radius: 50%; border: 14px solid rgba(255,255,255,.07) }
.so-logo { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; padding-top: 14px }
.so-logo .amer { font: bold 9px var(--arial); letter-spacing: 3px; margin-top: 2px }
.so-logo .online { font: italic bold 25px/1 "Brush Script MT", "Segoe Script", cursive, var(--title); margin-top: -1px; text-shadow: 1px 1px rgba(0,0,0,.25) }
.so-ver { position: absolute; z-index: 1; left: 12px; bottom: 12px; font: bold 13px var(--arial) }
.so-main { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 18px 16px 12px 28px; position: relative }
.so-form { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding-left: 60px; max-width: 420px }
.so-form label { font: bold 12px var(--arial); color: #000; margin-top: 8px }
.so-form label i { color: var(--navy); font-size: 13px }
.so-key { display: inline-block; vertical-align: middle; margin-left: 4px }
.so-form select, .so-form input { height: 21px; font: 13px var(--arial) }
.so-form select:focus, .so-form input:focus { background: #d9822b; color: #fff; border-color: #8a4b0f }
.so-form select:focus option { background: #fff; color: #000 }
.so-note { font: 12px var(--arial) }
.so-pw { display: flex; flex-direction: column; gap: 4px }
.so-btns { display: flex; justify-content: space-between; gap: 6px; padding-top: 10px }
.so-btn { height: 21px; padding: 0 9px; white-space: nowrap; border: 1px solid #12385c; color: #fff; font: 11px var(--arial); text-transform: uppercase; background: #2678ad; box-shadow: 2px 2px 0 #7a8a96; cursor: pointer }
.so-btn.def { border: 2px solid #0a1f33 }
.so-btn:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 #7a8a96 }
.so-err { color: #b00000; font: bold 11px var(--arial); min-height: 14px }
/* connecting panels (PICTURE 0/4/6/7) */
.so-connect { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px }
.so-panels { display: flex; gap: 12px; justify-content: center }
.so-panel { width: 92px; height: 70px; background: #c5c8ef; border: 3px solid #1b2a63; box-shadow: inset 0 0 0 2px #fff; display: flex; align-items: center; justify-content: center; opacity: .25; transition: opacity .3s }
.so-panel.lit { opacity: 1 }
.so-step { font: 12px var(--arial); min-height: 16px; text-align: center }
.so-bar { width: 260px; height: 2px; background: #000 }

/* ---------- Welcome ---------- */
.welcome .wbody { background: #8a9a3c }
.wl { flex: 1; min-height: 0; display: grid; grid-template-columns: 96px 1fr 190px; grid-template-rows: auto 1fr auto; overflow: auto;
  background: linear-gradient(#a7b552, #7d8c2f) }
.wl-head { grid-column: 1 / -1; display: flex; align-items: flex-end; gap: 12px; padding: 4px 10px 2px; height: 46px; background: linear-gradient(#6c7a22, #94a443) }
.wl-head h1 { margin: 0; font: bold 34px/1 var(--title); color: #e9f2b0; letter-spacing: -1px; text-shadow: 1px 1px #4b5714 }
.wl-head .stripe { flex: 1; height: 5px; background: linear-gradient(90deg, #f28c1e, #f28c1e 40%, transparent); margin-bottom: 8px; max-width: 160px }
.wl-head .date { margin-left: auto; color: #f7fbe0; font-weight: bold; padding-bottom: 4px; white-space: nowrap }
.wl-left { grid-row: 2 / 4; background: linear-gradient(90deg, #66741f, #7e8d2e); padding: 6px 4px; display: flex; flex-direction: column; gap: 4px; align-items: stretch }
.wl-left button { display: flex; flex-direction: column; align-items: center; gap: 2px; background: none; border: 1px solid transparent; color: #fff; font-weight: bold; font-size: 10px; padding: 3px 0; border-radius: 3px; cursor: pointer; text-shadow: 1px 1px #3c4510 }
.wl-left button:hover { border-color: #e9f2b0; background: rgba(255,255,255,.12) }
.wl-center { padding: 8px; display: flex; flex-direction: column; gap: 8px; min-width: 0 }
.wl-feature { background: #fff; border: 2px solid #d9e2a6; padding: 8px 10px; display: flex; gap: 10px; min-height: 120px }
.wl-feature .kicker { color: #d06a00; font-weight: bold; font-size: 10px; text-transform: uppercase }
.wl-feature h2 { margin: 2px 0 4px; font: bold 18px/1.15 var(--title); color: #1b2a63; text-wrap: balance }
.wl-feature p { margin: 0 0 4px; font: 11px/1.35 var(--ui) }
.wl-top { background: #fff; border: 1px solid #d9e2a6; padding: 4px 8px }
.wl-top b { color: #c0392b }
.wl-top div { padding: 1px 0; display: flex; gap: 4px; align-items: baseline }
.wl-strip { background: #1b1b1b; color: #ffd34d; font: bold 11px var(--title); padding: 3px 8px; display: flex; justify-content: space-between }
.wl-ess { background: #f4f7df; border: 1px solid #c6d184; padding: 4px 8px; columns: 2; font-size: 11px }
.wl-ess div { break-inside: avoid; padding: 1px 0 }
.wl-ess h4 { column-span: all; margin: 0 0 2px; color: #b35f00; font: bold 11px var(--title); letter-spacing: 1px }
.wl-right { padding: 8px 8px 8px 0; display: flex; flex-direction: column; gap: 6px; min-width: 0 }
.wl-box { background: #fff; border: 2px solid #d9e2a6 }
.wl-box h3 { margin: 0; padding: 2px 6px; background: linear-gradient(#f39a2e, #d06a00); color: #fff; font: bold 11px var(--title) }
.wl-box .in { padding: 4px 6px }
.wl-wx { display: flex; gap: 4px; justify-content: space-between; text-align: center; font-size: 10px }
.wl-wx b { color: #c0392b } .wl-wx i { color: #1d3c8f; font-style: normal }
.wl-q { width: 100%; border-collapse: collapse; font-size: 10px }
.wl-q td { padding: 0 2px; white-space: nowrap } .wl-q td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums }
.up { color: #008000 } .dn { color: #c00000 }
.wl-foot { grid-column: 2 / 4; display: flex; justify-content: space-between; align-items: center; padding: 3px 8px; background: #66741f; color: #fff }
.wl-foot .lnk { color: #fff; font-weight: bold }
.snapnote { font-size: 9px; color: #888 }

/* ---------- Buddy List ---------- */
.buddy .wbody { background: #fff; padding: 0 }
.bl-head { display: flex; align-items: center; gap: 6px; padding: 4px 6px; background: linear-gradient(#e1ecf9, #c2d6f0); border-bottom: 1px solid #8ea4c2 }
.bl-head b { font: bold 15px var(--title); color: var(--navy); flex: 1 }
.bl-tree { flex: 1; overflow-y: auto; padding: 4px 2px; font: 12px var(--arial); min-height: 0 }
.bl-g { display: flex; align-items: center; gap: 3px; padding: 1px 2px; cursor: default; font-weight: bold; color: #4b2a00 }
.bl-g .tg { width: 9px; height: 9px; border: 1px solid #919b9c; font: 9px/7px var(--ui); text-align: center; color: #000; background: #fff; flex: none }
.bl-b { display: flex; align-items: center; gap: 3px; padding: 1px 2px 1px 26px; cursor: default; white-space: nowrap }
.bl-b.sel, .bl-g.sel { background: var(--sel); color: #fff }
.bl-b.away { color: #777; font-style: italic }
.bl-b.arrive { animation: arrive 1.2s 2 }
@keyframes arrive { 50% { background: #ffe680 } }
.bicon { display: inline-flex; width: 16px; height: 16px; flex: none }
.bl-btns { display: flex; justify-content: space-around; padding: 3px 0; border-top: 1px solid #c5d3e5; background: linear-gradient(#f4f8fd, #dce7f5); flex-wrap: wrap }
.bl-foot { display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 4px 6px; background: #dce7f5 }

/* ---------- IM ---------- */
.im .wbody { background: #dce7f5; padding: 6px; gap: 4px }
.im-to { display: flex; align-items: center; gap: 6px }
.im-to input { flex: 1 }
.im-panes { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 4px }
.im-log { flex: 1; min-height: 40px; background: #fff; border: 1px solid #7f9db9; overflow-y: auto; padding: 3px 5px; font: 13px var(--arial); overflow-wrap: anywhere }
.im-log .rem { color: #3c93bc; font-size: 11px }
.fmtbar { display: flex; align-items: center; gap: 2px; flex-wrap: wrap }
.fmtbar button { min-width: 22px; height: 20px; border: 1px solid #a5b6cc; background: linear-gradient(#fff, #dfe7f2); border-radius: 2px; padding: 0 3px; font: bold 11px var(--arial); display: flex; align-items: center; justify-content: center }
.fmtbar button.on { background: #b9cde8; border-color: #4d6b97 }
.fmtbar select { height: 20px }
.im-in { height: 58px; flex: none; border: 1px solid #7f9db9; background: #fff; padding: 3px 5px; font: 13px var(--arial); overflow-y: auto; outline: 0; overflow-wrap: anywhere }
.im-in:empty::before { content: attr(data-ph); color: #999 }
.im-acts { display: flex; align-items: flex-end; gap: 2px; flex-wrap: wrap }
.im-acts .grow { flex: 1 }
.im-send { height: 38px; min-width: 58px; border: 1px solid #0d3a70; border-radius: 4px; color: #fff; font-weight: bold;
  background: linear-gradient(#73a9e0, #2c6cb8 50%, #1a559c 51%, #2463ad) }
.smileys { position: fixed; z-index: 100000; background: #fff; border: 1px solid #7f9db9; padding: 3px; display: grid; grid-template-columns: repeat(4, 24px); gap: 2px; box-shadow: 2px 2px 3px rgba(0,0,0,.3) }
.smileys button { width: 24px; height: 24px; border: 1px solid transparent; background: none; padding: 1px }
.smileys button:hover { border-color: #316ac5; background: #e6eefc }
.smi { vertical-align: -4px }

/* ---------- Chat ---------- */
.chat .wbody { flex-direction: row; background: #dbe8f5; padding: 6px; gap: 6px }
.ch-left { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px }
.ch-log { flex: 1; min-height: 60px; background: #fff; border: 1px solid #7f9db9; overflow-y: auto; padding: 4px 6px; font: 13px var(--arial) }
.ch-line { display: grid; grid-template-columns: minmax(70px, 120px) 1fr; column-gap: 8px; padding: 1px 0; overflow-wrap: anywhere }
.ch-line.dbl { padding: 4px 0 }
.ch-line .who { font: bold 12px var(--arial); color: #000; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.ch-line.me .who { color: #000 }
.ch-line.host .who { color: #0000aa }
.ch-in-row { display: flex; gap: 4px }
.ch-in { flex: 1; min-width: 0; height: 22px; font: 13px var(--arial) }
.ch-right { width: 170px; flex: none; display: flex; flex-direction: column; gap: 4px }
.ch-top { display: flex; justify-content: space-between; gap: 4px }
.ch-count { font-weight: bold }
.ch-tab { align-self: flex-start; background: linear-gradient(#78a8e0, #3b75bd); color: #fff; font-weight: bold; padding: 3px 12px; border-radius: 6px 6px 0 0; margin-bottom: -4px }
.ch-people { flex: 1; min-height: 50px; font: 13px var(--arial) }
.ch-acts { display: flex; justify-content: center; gap: 6px }
.ch-foot { display: flex; justify-content: space-between; font-size: 10px }

/* ---------- Chat Room Listings ---------- */
.crl .wbody { background: #fff; padding: 0 }
.crl-head { display: flex; align-items: center; gap: 8px; padding: 6px 10px 4px; flex-wrap: wrap }
.crl-head .brand { font: bold 22px var(--arial); color: #1b2a63; letter-spacing: -1px }
.crl-head .brand span { color: #1b2a63; font-weight: normal }
.crl-head .sp { flex: 1 }
.crl-body { flex: 1; min-height: 0; display: flex; gap: 10px; padding: 0 10px 6px; overflow: auto }
.crl-mainc { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; min-height: 280px }
.crl-search { display: flex; gap: 4px; align-items: center }
.crl-tabs { display: flex; gap: 2px; margin-top: 4px }
.crl-tabs button { flex: 1; border: 1px solid #5d87b9; border-bottom: 0; border-radius: 6px 6px 0 0; background: linear-gradient(#5f9fd8, #2e6fae); color: #fff; font-weight: bold; padding: 4px 6px }
.crl-tabs button.on { background: #cfe2f5; color: #1b2a63 }
.crl-panel { flex: 1; min-height: 0; background: #cfe2f5; border: 1px solid #5d87b9; padding: 6px; display: flex; gap: 8px }
.crl-col { display: flex; flex-direction: column; gap: 3px; min-width: 0; min-height: 0 }
.crl-col .num { display: inline-flex; width: 16px; height: 16px; border-radius: 50%; background: #1b2a63; color: #fff; align-items: center; justify-content: center; font-weight: bold; margin-right: 4px }
.crl-col .list { flex: 1 }
.crl-rooms td:first-child { text-align: right; width: 44px; font-variant-numeric: tabular-nums }
.crl-btns { display: flex; justify-content: center; gap: 6px; padding-top: 4px }
.crl-side { width: 170px; flex: none; display: flex; flex-direction: column; gap: 8px; font-size: 11px }
.crl-side h4 { margin: 0; color: #d0330f; font: bold 11px var(--arial) }
.crl-side .box { border: 1px solid #9db8d6; padding: 6px; display: flex; flex-direction: column; gap: 4px }
.crl-foot { text-align: right; padding: 2px 10px 4px }

/* ---------- People Connection ---------- */
.pc .wbody { background: linear-gradient(#fff, #e3eef9); padding: 0 }
.pc-head { padding: 8px 12px; background: linear-gradient(90deg, #1b2a63, #2e6fae); color: #fff; font: bold 20px var(--title) }
.pc-head small { display: block; font: 11px var(--ui); color: #d8e6f7 }
.pc-body { flex: 1; overflow: auto; padding: 10px 12px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; align-content: start }
.pc-card { border: 1px solid #9db8d6; background: #fff; padding: 8px; display: flex; flex-direction: column; gap: 6px }
.pc-card h3 { margin: 0; color: #1b2a63; font: bold 13px var(--title) }
.pc-card p { margin: 0; color: #333 }

/* ---------- Mail ---------- */
.mailbox .wbody { background: #fff; padding: 0 }
.mb-head { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: linear-gradient(#e6effa, #c6d8f0); border-bottom: 1px solid #8ea4c2 }
.mb-head h2 { margin: 0; font: bold 16px var(--title); color: var(--navy); flex: 1 }
.mb-tabs { display: flex; flex-wrap: wrap; gap: 2px; padding: 6px 10px 0 }
.mb-tabs button { border: 1px solid #8ea4c2; border-bottom: 0; border-radius: 5px 5px 0 0; padding: 3px 12px; background: linear-gradient(#f4f8fd, #d6e2f1); color: var(--navy); font-weight: bold }
.mb-tabs button.on { background: #fff; position: relative; top: 1px }
.mb-list { flex: 1; min-height: 0; margin: 0 10px; border: 1px solid #8ea4c2; overflow-y: auto; background: #fff }
.mb-btns { display: flex; gap: 6px; padding: 6px 10px; flex-wrap: wrap; align-items: center }
.mb-btns .grow { flex: 1 }
.mread .wbody, .mwrite .wbody { background: var(--face); padding: 6px; gap: 4px }
.mhdr { display: grid; grid-template-columns: auto 1fr; gap: 3px 6px; align-items: center; background: #fff; border: 1px solid #c5c2b2; padding: 4px 6px }
.mhdr b { text-align: right }
.mbody { flex: 1; min-height: 0; background: #fff; border: 1px solid #7f9db9; padding: 6px; overflow-y: auto; white-space: pre-wrap; font: 13px var(--arial); overflow-wrap: anywhere }
textarea.mbody { resize: none; outline: 0 }
.mrow { display: flex; gap: 6px; align-items: center }
.mrow label { width: 56px; text-align: right; font-weight: bold }
.mrow input { flex: 1; min-width: 0 }

/* ---------- Message Boards ---------- */
.boards .wbody { background: #fff; padding: 0 }
.bd-head { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: linear-gradient(#0a246a, #3a6ea5); color: #fff }
.bd-head h2 { margin: 0; font: bold 15px var(--title); flex: 1; min-width: 0 }
.bd-intro { display: flex; gap: 8px; align-items: flex-start; padding: 6px 10px; font-size: 11px; color: #000 }
.bd-intro .ic { flex: none }
.bd-list { flex: 1; min-height: 0; margin: 0 10px; border: 1px solid #7f9db9; overflow-y: auto; background: #fff }
.bd-list .grid th { background: #fff; border: 0; font: bold 12px var(--arial); color: #000; padding: 3px 6px }
.bd-list .grid td { font: 12px var(--arial); padding: 2px 6px }
.bd-btns { display: flex; gap: 6px; padding: 8px 10px; flex-wrap: wrap; align-items: center }
.bd-btns .grow { flex: 1 }
.bd-foot { padding: 3px 10px; background: linear-gradient(#5f7fd0, #3a5bb8); color: #fff; font-size: 10px; display: flex; gap: 12px }
.bd-foot .lnk { color: #fff }
.post .wbody { background: #fff; padding: 0 }
.ps-head { padding: 6px 10px; background: #eef3fb; border-bottom: 1px solid #c5d3e5; display: grid; grid-template-columns: auto 1fr; gap: 1px 8px }
.ps-head b { text-align: right }
.ps-body { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 10px; font: 13px var(--arial); white-space: pre-wrap; overflow-wrap: anywhere }
.ps-nav { display: flex; gap: 6px; padding: 6px 10px; border-top: 1px solid #c5d3e5; flex-wrap: wrap; align-items: center }
.ps-nav .grow { flex: 1 }
.ps-count { color: #555 }
.tp-list .row { display: flex; justify-content: space-between; gap: 8px; padding: 3px 8px; font: 12px var(--arial); border-bottom: 1px solid #eef2f7 }
.tp-list .row::before { content: "📁"; filter: grayscale(.2) }
.tp-list .row span:first-of-type { flex: 1 }

/* ---------- live data windows ---------- */
.live .wbody { background: #fff; padding: 0 }
.lv-head { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: linear-gradient(#1b2a63, #2e6fae); color: #fff; flex-wrap: wrap }
.lv-head h2 { margin: 0; font: bold 16px var(--title); flex: 1 }
.lv-head input { width: 140px }
.lv-body { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 10px }
.lv-src { padding: 3px 10px; font-size: 10px; color: #555; border-top: 1px solid #dde }
.lv-tabs { display: flex; gap: 2px; flex-wrap: wrap; padding: 6px 10px 0 }
.lv-tabs button { border: 1px solid #f0a020; background: linear-gradient(#ffe7a8, #ffc94d); color: #3a2500; font-weight: bold; padding: 2px 8px; border-radius: 2px }
.lv-tabs button.on { background: #1b2a63; color: #fff; border-color: #1b2a63 }
.wx-now { display: flex; gap: 14px; align-items: center; padding: 6px 0 10px }
.wx-now .t { font: bold 40px var(--arial); color: #1b2a63 }
.wx-days { display: grid; grid-template-columns: repeat(auto-fit, minmax(62px, 1fr)); gap: 6px; text-align: center }
.wx-days .pop { color: #2e6fae; font-size: 10px }
.wx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, auto) minmax(110px, 1fr)); gap: 2px 10px; padding: 4px 8px; margin-bottom: 6px; background: #f4f8fd; border: 1px solid #c5d3e5; font-size: 11px }
.wx-grid span { color: #555 }
.wx-h { font: bold 12px var(--title); color: #1b2a63; margin: 10px 0 4px; border-bottom: 1px solid #c5d3e5 }
.wx-h span { font-weight: normal; color: #777; font-size: 10px }
.wx-hours { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 4px }
.wx-hours > div { flex: 0 0 auto; width: 52px; display: flex; flex-direction: column; align-items: center; border: 1px solid #c5d3e5; background: #fff; padding: 3px 0; font-size: 11px }
.wx-hours i { color: #2e6fae; font-style: normal; font-size: 10px }
.wx-alert { background: #fff4c2; border: 1px solid #e0a800; padding: 3px 6px; margin-bottom: 6px; font-size: 11px }
.wx-alert.sev { background: #ffe0e0; border-color: #c0392b }
.wx-alert summary { font-weight: bold; cursor: pointer; color: #8a1c10 }
.wx-alert pre { white-space: pre-wrap; font: 11px var(--ui); margin: 4px 0 0 }
.wx-note { background: #eef3fb; border: 1px solid #b5c3d5; padding: 4px 6px; margin-bottom: 6px; font-size: 11px }
.wx-radar { position: relative; height: 260px; overflow: hidden; border: 1px solid #1b2a63; background: #aad3df }
.wx-tiles { position: absolute; width: 768px; height: 768px }
.wx-tiles img { position: absolute; width: 256px; height: 256px; max-width: none }
.wx-tiles img.rd { opacity: .75 }
.wx-pin { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: #e00; border: 2px solid #fff; box-shadow: 0 0 0 1px #000 }
.wx-days > div { border: 1px solid #c5d3e5; background: #f4f8fd; padding: 4px 2px }
.wx-days b { color: #c0392b } .wx-days i { color: #1d3c8f; font-style: normal }
.news-item { padding: 6px 0; border-bottom: 1px dotted #b5c3d5 }
.news-item a { font: bold 12px var(--arial) }
.news-item p { margin: 2px 0 0; color: #333 }
.news-item .when { color: #777; font-size: 10px }
.qt td, .qt th { text-align: right; font-variant-numeric: tabular-nums }
.qt td:nth-child(2), .qt th:nth-child(2) { text-align: left }
.qt td:first-child, .qt th:first-child { text-align: left; font-weight: bold }
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px }
.game { border: 1px solid #c5d3e5; background: #f4f8fd; padding: 4px 6px; display: grid; grid-template-columns: 1fr auto; gap: 1px 6px; font-size: 11px }
.game .st { grid-column: 1 / -1; color: #c0392b; font-size: 10px }
.game .sc { font-weight: bold; font-variant-numeric: tabular-nums }

/* generic content (help, prefs, profile) */
.content .wbody { background: #fff; padding: 0 }
.ct-head { padding: 6px 10px; background: linear-gradient(#1b2a63, #2e6fae); color: #fff; font: bold 16px var(--title) }
.ct-body { flex: 1; min-height: 0; overflow-y: auto; padding: 10px 12px; font-size: 11px }
.ct-body h3 { margin: 10px 0 4px; color: #1b2a63; font: bold 12px var(--title) }
.ct-body p { margin: 0 0 6px; max-width: 65ch }
.prefs .wbody { background: var(--face); padding: 8px; gap: 8px }
.pf { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 8px }
fieldset { border: 1px solid #d0d0bf; border-radius: 4px; padding: 6px 10px; margin: 0 }
legend { color: #0046d5; padding: 0 3px }
.ck { display: flex; align-items: center; gap: 6px; padding: 2px 0 }
.pf-btns { display: flex; justify-content: flex-end; gap: 6px }
.goodbye .so-main { justify-content: center }

/* phones and small tablets (#mdi.narrow is set by the window manager when it is under 700px):
   windows fill the screen and scroll instead of cutting their content off */
#mdi.narrow .wbody { overflow: auto; -webkit-overflow-scrolling: touch }
#mdi.narrow .win.dlg { height: auto !important; max-height: 100% }
#mdi.narrow .signon .wbody { flex-direction: column }
#mdi.narrow .so-band { width: auto; height: 54px; flex: none; display: flex; align-items: center; padding: 0 10px }
#mdi.narrow .so-band::before, #mdi.narrow .so-band::after, #mdi.narrow .so-ver { display: none }
#mdi.narrow .so-logo { flex-direction: row; align-items: baseline; gap: 6px; padding: 0 }
#mdi.narrow .so-logo svg { width: 30px; height: 28px; align-self: center }
#mdi.narrow .so-logo .online { font-size: 22px }
#mdi.narrow .so-main { flex: none; padding: 8px 12px 14px }
#mdi.narrow .so-form { flex: none; justify-content: flex-start; padding-left: 0; max-width: none }
#mdi.narrow .so-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-top: 12px }
#mdi.narrow .so-btn { padding: 0 4px; white-space: normal }
#mdi.narrow .so-btn.def { grid-column: 1 / -1; order: -1; height: 36px; font-size: 13px }
/* keep Sign On in reach: the buttons stay pinned to the bottom of the window while the form scrolls */
#mdi.narrow .so-btns { position: sticky; bottom: 0; z-index: 1; margin: 0 -12px -14px; padding: 8px 12px 10px; background: #fefaf0; border-top: 1px solid #d8d2bf; row-gap: 6px }
#mdi.narrow .so-btns .so-btn:not(.def) { height: 26px; font-size: 10px }
#mdi.narrow .so-connect { flex: none; padding: 16px 8px }
#mdi.narrow .so-panels { flex-wrap: wrap; gap: 6px } #mdi.narrow .so-panel { width: 70px; height: 54px }
#mdi.narrow .so-bar { width: 80% }

/* phones turned sideways: keep the tabs, drop the icon row to save height */
@media (max-height: 500px) and (pointer: coarse) {
  .toolbar .ticons, .toolbar .tlogo { display: none }
}

/* on-screen keyboard open (set by wm.js): keep everything above it */
html.kb-open #app { bottom: var(--kb) }
html.kb-open #aimdesk { bottom: var(--kb) }
html.kb-open .xpbar { display: none }

/* touch screens: finger-sized buttons and fields */
@media (pointer: coarse) {
  .so-btn { height: 30px }
  .so-form select, .so-form input { height: 30px }
  .win .tb { height: 30px }
  .tb-btns { gap: 7px; padding-right: 3px } .tb-btns button { transform: scale(1.2) }
  .abtn, .ybtn { height: 28px }
  .grip { width: 22px; height: 22px }
}

/* phones: compact toolbar, single-column windows */
@media (max-width: 760px) {
  .tbtn .lbl, .tfill, .navlbl, .srch, .ttab .tlbl-long { display: none }
  .ttab { padding: 0 5px }
  .tlogo { width: 46px } .tlogo img { width: 46px; height: 42px; margin-top: 4px }
  .ch-right { width: 120px }
  .wl { grid-template-columns: 70px 1fr }
  .wl-right { grid-column: 2; padding: 0 8px 8px }
  .wl-left { grid-row: 2 / 5 }
  .wl-foot { grid-column: 1 / -1 }
  .crl-side { display: none }
  .so-btns { flex-wrap: wrap }
  .so-band { width: 70px } .so-logo .online { font-size: 16px } .so-form { padding-left: 0 } .so-main { padding: 10px }
}
@media (max-width: 480px) {
  .menubar > span { padding: 3px 5px 0 }
  /* every tab stays reachable (AOL Services, Settings too): the toolbar scrolls sideways */
  .toolbar { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch }
  .toolbar::-webkit-scrollbar { display: none }
  .chat .wbody { flex-direction: column } .ch-right { width: auto; max-height: 40% }
}

/* mailbox quota (2 MB per screen name) */
.mb-quota { display: flex; align-items: center; gap: 6px; padding: 2px 8px 4px; font-size: 11px }
.mb-meter { width: 160px; max-width: 40%; height: 11px; border: 1px solid #7f9db9; background: #fff; padding: 1px }
.mb-meter div { height: 100%; background: repeating-linear-gradient(90deg, #2fb32f 0 7px, transparent 7px 9px) }
.mb-meter.full div { background: repeating-linear-gradient(90deg, #d03a1a 0 7px, transparent 7px 9px) }
.sn-body { display: flex; flex-direction: column; gap: 6px }
.sn-body p { margin: 0 }
.sn-list { min-height: 90px; max-height: 140px; overflow: auto }
.sn-n { color: #555 }
.sn-btns { display: flex; flex-wrap: wrap; gap: 4px }
.sn-btns .abtn[disabled] { opacity: .5 }

/* ---- Extras: File, Edit, Mail, People and Services menu windows ---- */
.x-pre { white-space: pre-wrap; word-break: break-word; font: 12px "Courier New", monospace; margin: 0; max-height: 100%; overflow: auto }
.x-fs { border: 1px solid #b5c3d5; margin: 0 0 8px; padding: 4px 8px; display: grid; gap: 4px }
.x-fs legend { font-weight: bold; color: var(--navy) }
.x-q { display: flex; gap: 4px; flex-wrap: wrap }
.x-q input { width: 180px; max-width: 60vw }
.x-chips { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 10px }
.x-chip { border: 1px solid #8ea4c2; background: #f4f8fd; border-radius: 10px; padding: 1px 8px; color: var(--navy); cursor: pointer }
.x-radio { display: flex; gap: 6px; align-items: center; margin: 3px 0 }
.x-sigs { display: grid; grid-template-columns: minmax(120px, 1fr) 2fr; gap: 8px }
.x-sigs label { display: grid; gap: 2px; margin-bottom: 4px }
@media (max-width: 480px) { .x-sigs { grid-template-columns: 1fr } }
.x-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 6px }
.x-card { border: 1px solid #c5d3e5; background: #fffdf0; padding: 4px; cursor: pointer; text-align: center; color: var(--navy) }
.x-card pre { font: 9px "Courier New", monospace; margin: 0 0 4px; text-align: left; overflow: hidden; color: #333 }
.x-ev { display: flex; gap: 8px; justify-content: space-between; border-bottom: 1px dotted #b5c3d5; padding: 6px 0; flex-wrap: wrap }
.x-ev > div:first-child { min-width: 0; flex: 1 }
.x-ev p { margin: 2px 0 0 }
.x-ev.on { background: #fff8d8 }
.x-ev-b { display: flex; gap: 4px; align-items: start; flex-wrap: wrap }
.x-live { background: #c0392b; color: #fff; font-size: 10px; font-weight: bold; padding: 0 4px; border-radius: 2px }
.x-frame { width: 100%; height: 100%; border: 0; background: #fff }
.x-sel { user-select: all; word-break: break-all }
mark.x-find { background: #ffef5a; color: inherit }
.x-rec { border-bottom: 1px dotted #b5c3d5; padding: 4px 0 }
.x-rec summary { cursor: pointer }
.x-hp label { display: grid; gap: 2px }
.cal-head { display: flex; align-items: center; gap: 6px; padding: 6px 10px; background: linear-gradient(#1b2a63, #2e6fae); color: #fff }
.cal-head h2 { margin: 0; font: bold 15px var(--title) }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; background: #c5d3e5; border: 1px solid #c5d3e5; margin: 6px 10px 0 }
.cal-dn { background: #e8eef7; text-align: center; font-weight: bold; color: var(--navy); font-size: 10px; padding: 2px 0 }
.cal-d { background: #fff; min-height: 46px; padding: 2px 3px; cursor: pointer; overflow: hidden; font-size: 10px; display: flex; flex-direction: column }
.cal-d span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #1d3c8f }
.cal-d.off { background: #f4f6fa; cursor: default }
.cal-d.today b { background: #ffc94d; border-radius: 2px; padding: 0 2px }
.cal-d.sel { outline: 2px solid #2e6fae; outline-offset: -2px }
.cal-day { padding: 6px 10px; display: grid; gap: 3px }
.cal-add { display: flex; gap: 4px; flex-wrap: wrap }
.cal-add input[name=title] { flex: 1; min-width: 120px }
.cal .ct-body, .content.cal { overflow-y: auto }

/* Invitation-only sign-up */
.so-req { align-self: flex-start; background: none; border: 0; padding: 2px 0; color: #0033cc; text-decoration: underline; font: 11px var(--arial); cursor: pointer }
.so-code { letter-spacing: 3px; font-weight: bold }
.inv-form label { display: flex; flex-direction: column; gap: 2px; font: 11px var(--tahoma, Tahoma, sans-serif) }
.inv-form p, .inv-done p { margin: 0 0 8px; font: 11px/1.4 var(--tahoma, Tahoma, sans-serif) }
.inv-form .inv-other[hidden] { display: none }

/* ---------- AOL Radio (laid out like AOL's 2006 AOL Radio window) ---------- */
.aolradio .wbody { background: #eef2f7; padding: 0; overflow: hidden }
.ar-head { flex: none; display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: #fff; border-bottom: 1px solid #b5c3d5 }
.ar-brand b { font: bold 26px var(--arial); color: #1d3c8f; letter-spacing: -1px; margin-right: 8px }
.ar-brand span { font: italic 11px var(--arial); color: #4a5a78 }
.ar-main { flex: 1; min-height: 0; display: grid; grid-template-columns: 190px 1fr 170px; gap: 8px; padding: 8px }
.ar-left, .ar-mid, .ar-right { min-height: 0; display: flex; flex-direction: column; gap: 8px }
.ar-box { background: #fff; border: 1px solid #7f9db9; border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; min-height: 0 }
.ar-boxh { flex: none; display: flex; align-items: center; gap: 6px; padding: 3px 8px; color: #fff; font: bold 13px var(--arial);
  background: linear-gradient(#3f86d8, #1d5fb4) }
.ar-mini { margin-left: auto; border: 1px solid #a9c4e8; background: linear-gradient(#fff, #dde8f6); color: #14246b; font: 10px var(--ui); border-radius: 3px; padding: 1px 6px; cursor: pointer }
.ar-status { margin-left: auto; font: 10px var(--ui); color: #dfeaff }
.ar-cats { flex: 1 }
.ar-tree { flex: 1; min-height: 0; overflow: auto; padding: 3px 4px; font: 12px var(--arial) }
.ar-cat { display: flex; align-items: center; gap: 4px; padding: 1px 0; font-weight: bold; cursor: pointer; color: #000 }
.ar-pm { display: inline-flex; width: 11px; height: 11px; border: 1px solid #888; align-items: center; justify-content: center; font: 9px/1 var(--ui); background: #fff; flex: none }
.ar-st { padding: 1px 4px 1px 18px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #14246b }
.ar-st::first-letter { color: #1d5fb4 }
.ar-st.sel { background: #ffff80; outline: 1px dotted #000; outline-offset: -1px }
.ar-st.on { font-weight: bold }
.ar-load { padding: 1px 4px 1px 18px; color: #666; font-style: italic }
.ar-transport { flex: none; display: flex; align-items: center; gap: 6px }
.ar-btn { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #7a8a9a; cursor: pointer; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 40% 35%, #fff, #c9d3df 70%) }
.ar-stop i { width: 10px; height: 10px; background: #c0141b; border-radius: 1px }
.ar-play i { width: 0; height: 0; border-left: 12px solid #2a9a2a; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px }
.ar-play.on { box-shadow: 0 0 0 2px #7fd17f }
.ar-vol { display: flex; align-items: center; gap: 3px; flex: 1; min-width: 0 } .ar-vol input { flex: 1; min-width: 0 }
.ar-setup { align-self: center }
.ar-station { padding: 6px 8px; display: flex; flex-direction: column; gap: 4px; font: 12px var(--arial); overflow: auto }
.ar-sname { font: bold 15px var(--arial); color: #000 }
.ar-sdesc { color: #333 } .ar-smeta { color: #666; font-size: 11px }
.ar-mid .ar-box:last-child { flex: 1 }
.ar-now { flex: 1; min-height: 0; padding: 6px 8px; display: flex; gap: 10px; font: 12px var(--arial); overflow: auto }
.ar-art { flex: none; width: 78px; height: 78px; border: 1px solid #b5c3d5; position: relative; display: flex; align-items: center; justify-content: center; background: #1d3c8f; overflow: hidden }
.ar-art img { width: 100%; height: 100%; object-fit: cover; background: #fff }
.ar-art span { color: #fff; font: bold 26px var(--arial) }
.ar-art em { position: absolute; left: 0; right: 0; bottom: 0; background: #c0141b; color: #fff; font: bold 9px var(--arial); text-align: center; font-style: normal; padding: 1px 0 }
.ar-tags { display: flex; flex-direction: column; gap: 3px; min-width: 0 }
.ar-time { margin-top: 4px }
.ar-guide-badge { flex: none; display: flex; flex-direction: column; align-items: center; padding: 6px; border-radius: 4px; color: #fff;
  background: linear-gradient(#f2a33a, #d9701a); border: 1px solid #a8520c; font: bold 15px var(--arial); line-height: 1.1 }
.ar-guide-badge span { font-size: 10px; letter-spacing: 1px }
.ar-guide { flex: 1; min-height: 0; overflow: auto; background: #fff; border: 1px solid #b5c3d5; padding: 6px 8px; font: 11px var(--arial) }
.ar-guide p { margin: 0 0 6px }
.ar-foot { flex: none; padding: 3px 10px; font-size: 10px; color: #555; text-align: center; border-top: 1px solid #c5d3e5; background: #fff }
#mdi.narrow .aolradio .wbody { overflow: auto }
#mdi.narrow .ar-main { display: flex; flex-direction: column; flex: none; min-height: auto }
#mdi.narrow .ar-left, #mdi.narrow .ar-mid, #mdi.narrow .ar-box { flex: none !important; min-height: auto }
#mdi.narrow .ar-cats { height: 240px }
#mdi.narrow .ar-tree { height: 210px; flex: none }
#mdi.narrow .ar-now { min-height: 96px; flex: none }
#mdi.narrow .ar-brand span { display: block }
#mdi.narrow .ar-right { display: none }
@media (max-width: 860px) { .ar-main { grid-template-columns: 180px 1fr } .ar-right { display: none } }

/* ---------- AOL Kids Only (after the KO main and KO Chat screens) ---------- */
.kidsonly .wbody { padding: 0; overflow: auto; --ko: "Comic Sans MS", "Chalkboard SE", "Marker Felt", "Trebuchet MS", sans-serif; font-family: var(--ko) }
.kidsonly button { font-family: var(--ko); cursor: pointer }
.ko-main { position: relative; flex: 1; min-height: 100%; display: grid; grid-template-columns: 1fr 200px; grid-template-rows: auto 1fr auto auto; gap: 8px; padding: 10px 12px 6px; color: #fff;
  background: radial-gradient(circle at 62% 58%, #3b5ff0 0 8%, #2a44d8 8% 16%, #3b5ff0 16% 24%, #2a44d8 24% 32%, #3b5ff0 32% 40%, #2a44d8 40% 48%, #3b5ff0 48% 56%, #2a44d8 56%) }
.ko-logo { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap }
.ko-aol { background: #14246b; color: #fff; font: bold 18px var(--arial); padding: 2px 6px }
.ko-name { font: 900 34px var(--ko); color: #fff; text-shadow: 3px 3px 0 #14246b; letter-spacing: 1px }
.ko-logo small { color: #ffe14a; font: bold 12px var(--ko) }
.ko-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-content: start }
.ko-tile { min-height: 58px; border: 3px solid #14246b; color: #fff; font: bold 22px/1 var(--ko); padding: 6px; box-shadow: 4px 4px 0 rgba(0,0,0,.35); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-shadow: 1px 1px 0 #000 }
.ko-tile:hover, .ko-tile:focus-visible { transform: scale(1.04) rotate(0deg) !important; outline: 3px solid #ffe14a }
.t-central { background: #e2591a; transform: rotate(-2deg) } .t-chat { background: #2f9a2f; transform: rotate(1.5deg) } .t-hw { background: #1d2f9a; transform: rotate(-1deg) }
.t-clubs { background: #8a3dd8; transform: rotate(2deg) } .t-web { background: #d8341a; transform: rotate(-2.5deg) } .t-shows { background: #2a3fb8; transform: rotate(1deg) }
.t-create { background: #b05bd0; transform: rotate(-1.5deg) } .t-sports { background: #2e7d4a; transform: rotate(2deg) } .t-games { background: #c0141b; transform: rotate(-1deg) }
.t-radio { background: #f2a33a; color: #14246b; text-shadow: none; transform: rotate(1.5deg) }
.ko-side, .ko-chatside { display: flex; flex-direction: column; gap: 8px; min-width: 0 }
.ko-card, .ko-promo { border: 0; text-align: left; color: #fff; font: 12px/1.25 var(--ko); padding: 6px 8px; background: rgba(20,36,107,.55); display: flex; flex-direction: column; gap: 2px; border-radius: 4px }
.ko-promo { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 2px 8px } .ko-promo b { color: #ffe14a; text-transform: uppercase }
.ko-card { background: #ffe14a; color: #14246b; border: 3px solid #14246b; transform: rotate(-2deg); font-size: 14px }
.ko-card b { color: #c0141b }
.ko-ttt { width: 34px; height: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: #6b3a12; padding: 2px; flex: none }
.ko-ttt i { background: #c8742a }
.ko-safety { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; background: rgba(0,0,0,.25); padding: 6px 10px; border-radius: 6px; font: 13px var(--ko) }
.ko-safety b { color: #b8ff4a; font-size: 16px }
.ko-kw { grid-column: 1 / -1; text-align: right; font-size: 11px; color: #dfe6ff }
.ko-bar { flex: none; display: flex; align-items: center; gap: 4px; background: #1d2f9a; color: #fff; padding: 3px 8px; font: bold 13px var(--ko); letter-spacing: 1px }
.ko-bar b span { font-variant: small-caps } .ko-bar button { border: 0; background: #2a44d8; color: #fff; font: bold 11px var(--ko); padding: 2px 10px; margin-left: 8px }
.ko-bar em { font-style: normal; color: #ffe14a }
.ko-chat { flex: 1; display: grid; grid-template-columns: 1fr 210px; gap: 10px; padding: 10px 12px; min-height: 0;
  background: radial-gradient(ellipse 30% 70% at 30% 90%, #3d9a2a 0 60%, transparent 61%), radial-gradient(ellipse 22% 60% at 70% 20%, #3d9a2a 0 60%, transparent 61%), #79c83f }
.ko-bubbles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px; align-content: start }
.ko-bubble { position: relative; min-height: 78px; border-radius: 50%; border: 3px solid #1a3d10; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 6px 10px;
  font: bold 16px var(--ko); color: #14246b; box-shadow: 3px 3px 0 rgba(0,0,0,.3) }
.ko-bubble::after { content: ""; position: absolute; left: 22%; bottom: -12px; border: 9px solid transparent; border-top: 14px solid #1a3d10; border-bottom: 0; transform: skewX(-25deg) }
.ko-bubble:hover, .ko-bubble:focus-visible { outline: 3px solid #fff; transform: scale(1.04) }
.b-y { background: #fff36b } .b-g { background: #c4f06a } .b-o { background: #ffc94a }
.ko-bubble:nth-child(odd) { transform: rotate(-4deg) } .ko-bubble:nth-child(even) { transform: rotate(3deg) }
.ko-big { align-self: flex-end; background: #2f3a2a; color: #ffe14a; font: bold 44px/1 var(--ko); padding: 2px 14px; border: 3px solid #14246b; transform: rotate(-1deg) }
.ko-chatside .ko-promo { background: rgba(20,60,10,.55) }
.ko-tag { background: #1d2f9a; color: #fff; padding: 6px 8px; border: 2px solid #fff; display: flex; flex-direction: column; gap: 2px; font: bold 14px var(--ko) }
.ko-tag em { color: #b8ff4a; font-size: 12px }
.ko-foot { flex: none; display: flex; justify-content: space-between; align-items: center; padding: 3px 10px; background: #3d9a2a; color: #fff; font: 11px var(--ko) }
.ko-foot .lnk { color: #fff; display: flex; align-items: center; gap: 4px; font: 11px var(--ko) }
.ko-panel { flex: 1; padding: 10px 14px; background: linear-gradient(#fffbe0, #fff3a8); color: #14246b; font: 14px var(--ko); overflow: auto }
.ko-panel h3 { margin: 4px 0 6px; color: #c0141b; font: bold 17px var(--ko) } .ko-panel ul { margin: 0; padding-left: 20px } .ko-panel li { margin-bottom: 4px }
.ko-vote { display: block; width: 100%; margin: 4px 0; padding: 6px; border: 2px solid #14246b; background: #fff; color: #14246b; font: bold 14px var(--ko); border-radius: 14px; text-align: center }
.ko-vote:hover { background: #ffe14a }
.ko-score { font-size: 12px; color: #555; margin-bottom: 6px } .ko-msg { min-height: 20px; margin: 6px 0; font-weight: bold; color: #2f62c9 }
.ko-board { display: grid; grid-template-columns: repeat(3, 64px); gap: 4px; justify-content: center; background: #6b3a12; padding: 4px; width: max-content; margin: 0 auto }
.ko-board button { width: 64px; height: 64px; border: 0; background: #ffe7b0; font: bold 36px var(--ko); color: #14246b }
.ko-board button.x { color: #c0141b } .ko-board button.o { color: #2f62c9 }
#mdi.narrow .ko-main { grid-template-columns: 1fr }
#mdi.narrow .ko-tiles { grid-template-columns: repeat(2, 1fr) }
#mdi.narrow .ko-chat { grid-template-columns: 1fr }
#mdi.narrow .ko-big { display: none }

/* invite-only notice on New User sign-up (always shown) */
.so-inv { margin: 2px 0 4px; padding: 4px 6px; background: #fff7c2; border: 1px solid #c9a227; font: 11px var(--arial); color: #3a2500 }
.so-inv .so-req { display: inline; padding: 0; font-weight: bold }
.aim-inv { background: #fff7c2; border: 1px solid #c9a227; padding: 4px 6px; margin: 4px 0 }

/* AOL advertising pane (video after sign on) */
.promo .wbody { background: #000; padding: 0 }
.promo-v { position: relative; flex: 1; min-height: 0 }
.promo-v iframe, .promo-v > div, .promo-v video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none }
#mdi.narrow .promo.win { height: auto !important; aspect-ratio: auto }

/* AOL Keywords dialog */
.kwdlg .wbody { background: #fff; padding: 0 }
.kw-head { background: #14246b; color: #6fa8ff; font: bold 20px var(--arial); padding: 4px 12px } .kw-head b { color: #fff }
.kw-form { display: flex; flex-direction: column; gap: 6px; padding: 10px 16px 8px 70px; font: 12px var(--arial) }
.kw-row { display: flex; border: 3px solid #6f93d6; background: #6f93d6 }
.kw-row .field { flex: 1; border: 0; height: 26px; font: 13px var(--arial); padding: 0 6px }
.kw-go { border: 0; width: 46px; background: linear-gradient(#5e9be6, #2f6bc4); color: #d8ffb0; font: bold 14px var(--arial); cursor: pointer }
.kw-links { font: bold 12px var(--arial); color: #14246b } .kw-links .lnk { font: bold 12px var(--arial); color: #14246b }
#mdi.narrow .kw-form { padding-left: 16px }

/* ---------- Welcome to AOL (the 2002 layout) ---------- */
.welcome.w2 .wbody { background: #6f8fc9; padding: 0; overflow: auto }
.wl2 { flex: 1; min-height: 100%; display: grid; grid-template-columns: 128px 1fr 210px; grid-template-rows: auto 1fr auto; gap: 0; background: linear-gradient(#dde8f7, #c4d6ef); font: 12px var(--arial) }
.w2-nav { grid-row: 1 / 3; background: linear-gradient(#2a62b8, #1a4a96); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 4px; border-radius: 0 0 10px 0 }
.w2-logo { display: flex; flex-direction: column; align-items: center; color: #fff; margin-bottom: 4px; border: 1px solid #6f9ae0; border-radius: 6px; padding: 4px 8px; background: #2459ac }
.w2-logo .amer { font: bold 10px var(--arial); letter-spacing: 3px } .w2-logo .online { font: italic bold 22px "Brush Script MT", "Snell Roundhand", cursive; margin-top: -4px }
.w2-nav button { border: 0; background: none; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 2px; font: bold 12px var(--arial); text-shadow: 1px 1px 0 #0b2a66; cursor: pointer; padding: 4px; border-radius: 4px; text-align: center }
.w2-nav button:hover { background: rgba(255,255,255,.15) } .w2-nav svg { width: 30px; height: 30px }
.w2-head { grid-column: 2 / 4; display: flex; align-items: center; justify-content: space-between; padding: 4px 14px; background: linear-gradient(90deg, #5d86d1, #c9d9f3 70%, #e8f0fb) }
.w2-head h1 { margin: 0; font: 30px var(--arial); color: #fff; text-shadow: 1px 1px 2px #14246b; letter-spacing: -.5px } .w2-head h1 b { font-weight: 900 }
.w2-date { font: italic bold 13px var(--arial); color: #14246b }
.w2-main { background: #fff; margin: 6px 0 6px 8px; border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; gap: 8px; min-width: 0; box-shadow: inset 0 0 0 1px #b5c8e6 }
.w2-main .wl-feature { background: none; border: 0; padding: 0; color: #000 }
.w2-main .wl-feature h2 { font: bold 22px Georgia, "Times New Roman", serif; color: #000; margin: 2px 0 4px; line-height: 1.1 }
.w2-main .wl-feature .kicker { color: #c0141b; font: bold 11px var(--arial) }
.w2-main .wl-feature p { font: italic 12px var(--arial); color: #222; margin: 0 0 4px }
.w2-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border-top: 1px solid #dde4ef; padding-top: 6px }
.w2-main .wl-top { background: none; border: 0; padding: 0; font: 12px var(--arial) } .w2-main .wl-top b { color: #c0141b }
.w2-ess { display: flex; flex-direction: column; gap: 3px; font: 12px var(--arial) } .w2-ess > b { font-size: 13px }
.w2-ess .lnk, .w2-main .lnk { color: #1a3fb0; font-style: italic }
.w2-odd { margin-top: 4px }
.w2-side { display: flex; flex-direction: column; gap: 6px; padding: 6px 8px; min-width: 0 }
.w2-box { background: linear-gradient(#e9f1fc, #d6e4f7); border: 1px solid #a9c0e2; border-radius: 8px; padding: 6px 8px; font: 12px var(--arial) }
.w2-city { display: flex; flex-direction: column; color: #1a3fb0; font: bold 15px var(--arial); margin-bottom: 4px } .w2-city .lnk { font: 11px var(--arial); color: #1a3fb0 }
.w2-places { background: linear-gradient(#e2e0f6, #cfcbee); border-color: #a9a3d9 }
.w2-places h3 { margin: 0 0 4px; display: flex; justify-content: space-between; font: bold 14px var(--arial); color: #3d3480 } .w2-places h3 .lnk { font: 11px var(--arial); color: #3d3480 }
.w2-places .lnk { color: #2a2470 }
.w2-kw { margin-top: auto; text-align: right; font: 11px var(--arial); color: #1a3fb0 }
.w2-foot { grid-column: 1 / -1; display: flex; align-items: stretch; gap: 14px; background: linear-gradient(#2c3c86, #1d2a66); color: #fff; padding: 6px 10px; font: bold 12px var(--arial) }
.w2-hs { display: flex; flex-direction: column; font: italic 900 16px var(--arial); line-height: 1; color: #c9d9ff } .w2-hs b { font-size: 22px; color: #fff }
.w2-fl .lnk { color: #fff; font: bold 12px var(--arial); text-decoration: none }
.w2-fl .lnk:hover { text-decoration: underline }
#mdi.narrow .wl2, .welcome.w2.narrowish .wl2 { grid-template-columns: 1fr; grid-template-rows: auto }
#mdi.narrow .w2-nav { grid-row: auto; flex-direction: row; flex-wrap: wrap; justify-content: center; border-radius: 0 }
#mdi.narrow .w2-logo { display: none }
#mdi.narrow .w2-head, #mdi.narrow .w2-foot { grid-column: auto }
#mdi.narrow .w2-main { margin: 6px }
#mdi.narrow .w2-cols { grid-template-columns: 1fr }
#mdi.narrow .w2-foot { flex-wrap: wrap }

/* Online stores row (Shop@AOL home) + internal store window */
.sh-stores { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 4px; }
.sh-store { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(#ffffff, #eef3fa); border: 2px solid #7f9db9; border-radius: 12px; padding: 14px 20px 12px; cursor: pointer; min-width: 160px; min-height: 108px; font: bold 14px Tahoma, Arial, sans-serif; color: #1a1f2e; white-space: nowrap; box-shadow: 2px 2px 0 #b9c6e0; transition: transform 80ms ease, box-shadow 80ms ease; }
.sh-store img { height: 44px; max-width: 140px; object-fit: contain; }
.sh-store:hover { border-color: #1d3c8f; }
.store-bar { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: #f1f4fa; border-bottom: 1px solid #dbe2ef; font-size: 11px; }
.store-bar img { height: 24px; max-width: 100px; object-fit: contain; background: #fff; border-radius: 4px; padding: 2px 4px; }
.store-bar a { margin-left: auto; white-space: nowrap; }
.store-note { padding: 4px 10px; font-size: 10px; color: #666; }
.store-frame { flex: 1; min-height: 0; }
.store-frame iframe { width: 100%; height: 420px; border: 0; background: #fff; }

/* Store splash (retailers refuse framing, so each store opens from a branded card) */
.store-splash { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 36px 20px; text-align: center; }
.store-splash img { height: 56px; max-width: 220px; object-fit: contain; background: #fff; border: 1px solid #dbe2ef; border-radius: 10px; padding: 10px 16px; }
.store-splash p { font-size: 12px; color: #33394a; max-width: 420px; }
.store-splash .store-why { font-size: 10px; color: #888; max-width: 380px; }

/* Duplicate store pages with click-through cover layer */
.store-frame { position: relative; flex: 1; min-height: 0; }
.store-frame iframe { width: 100%; height: 460px; border: 0; background: #fff; display: block; }
.store-cover { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(244, 247, 253, 0.72); }
.store-cover-card { display: flex; flex-direction: column; align-items: center; gap: 10px; background: #fff; border: 2px solid #1d3c8f; border-radius: 12px; padding: 26px 34px; text-align: center; box-shadow: 3px 3px 0 rgba(29, 60, 143, 0.25); max-width: 420px; }
.store-cover-card img { height: 44px; max-width: 200px; object-fit: contain; }
.store-cover-card p { font-size: 12px; color: #33394a; margin: 0; }
.store-cover-card .abtn { font-size: 14px; padding: 10px 26px; }

/* AOL Photos: slow-modem authenticity */
.ph-bar { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: #f1f4fa; border-bottom: 1px solid #dbe2ef; }
.ph-prog { font-size: 11px; color: #1d3c8f; }
.ph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 10px; padding: 10px; overflow-y: auto; }
.ph-thumb { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid #7f9db9; border-radius: 6px; padding: 6px; cursor: pointer; font: 10px Tahoma, Arial, sans-serif; }
.ph-thumb img { width: 100%; height: 96px; object-fit: cover; background: #222; filter: blur(14px) grayscale(40%); opacity: 0.35; transition: filter 2.8s ease, opacity 2.8s ease; }
.ph-thumb img.sharp { filter: blur(0) grayscale(0%); opacity: 1; }
.ph-thumb span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-align: center; }
.ph-status { font: 11px Consolas, monospace; color: #1d3c8f; padding: 6px 10px; background: #eef1f7; border-bottom: 1px solid #dbe2ef; min-height: 16px; }
.ph-stage { display: flex; justify-content: center; padding: 10px; background: #111; overflow: auto; }
.ph-stage canvas { max-width: 100%; }
.ph-foot { display: flex; align-items: center; justify-content: space-between; padding: 6px 10px; }

/* AOL Health styles */
.hl-emg { background: #fff8e6; border: 1px solid #e8c96a; border-radius: 8px; padding: 8px 12px; font-size: 12px; }
.hl-sites { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 4px; }
.hl-sites .abtn { font-size: 13px; }
.hl-news .news-item { margin-bottom: 10px; }

/* AOL Cinema */
.ci-list { columns: 2; font-size: 12px; }
.ci-list div { break-inside: avoid; margin-bottom: 3px; }
.ci-top10 { margin: 6px 0; padding-left: 24px; font-size: 12px; }
.ci-top10 li { margin-bottom: 3px; }
.ci-top10 span { color: #1d3c8f; }

.sh-store:hover { border-color: #1d3c8f; }
.sh-store:active { transform: translate(2px, 2px) scale(0.97); box-shadow: 0 0 0 #b9c6e0; }
.sh-store span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.ph-share-list { display: flex; flex-direction: column; gap: 6px; margin: 8px 0; }
.ph-share-list .abtn { text-align: left; }

/* File pickers must stay rendered: Safari/iOS ignore clicks on display:none inputs (2026-10-09) */
.x-filepick { position: fixed; left: 8px; bottom: 8px; width: 4px; height: 4px; opacity: 0.01; z-index: 0; }

/* Native picker buttons: the real file input covers the label, so opening it is a
   direct user click (synthetic input.click() is ignored by some browsers) (2026-10-09) */
.picklabel { position: relative; overflow: hidden; display: inline-block; }
.picklabel input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 100px; }
/* Photos drop target highlight (2026-10-09) */
.ph-grid.ph-drop { outline: 3px dashed #2c6cb8; outline-offset: -3px; }
