/* HBN pages shown in the Browser: the portal (hbn://home) and the blog feed (hbn://blog). Early-2000s portal look, HBN colors. */
html{background:#fff}
body{margin:0;padding:8px 8px 24px;font:13px/1.35 Arial,Helvetica,sans-serif;color:#000;background:#fff;overflow-x:hidden}
a{color:#0000cc}
a:visited{color:#551a8b}
/* Late-90s portal chrome: compact icon bar flanking the logo, search centered under it. HBN colors and marks only. */
.pt-top{display:flex;align-items:center;justify-content:center;gap:4px;max-width:100%;box-sizing:border-box;margin:2px auto 0}
.pt-icons{display:flex;flex-wrap:nowrap;align-items:flex-start;justify-content:center;gap:2px;flex:1;min-width:0}
.pt-l{justify-content:flex-end}
.pt-r{justify-content:flex-start}
.pt-ic{display:flex;flex-direction:column;align-items:center;gap:2px;width:42px;flex:0 0 auto;font-size:9.5px;line-height:1.15;text-align:center;text-decoration:underline}
.pt-dot{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#3b5bb5,#0b1a4a 70%);border:2px solid #D4A537;box-shadow:1px 2px 0 rgba(0,0,0,.25)}
.pt-dot img{display:block;width:22px;height:22px}
.pt-logo{display:flex;align-items:center;gap:4px;flex:0 0 auto;padding:0}
.pt-logo img{width:58px;height:58px}
.pt-wm{display:flex;flex-direction:column;line-height:1}
.pt-hbn{font:italic 900 44px/0.95 Georgia,"Times New Roman",serif;color:#172554;letter-spacing:1px;text-shadow:2px 2px 0 #D4A537}
.pt-full{font:700 9px Arial,sans-serif;color:#172554;letter-spacing:.04em;text-transform:uppercase;margin-top:3px}
.pt-search{display:flex;align-items:center;justify-content:center;gap:6px;margin:10px auto 12px;max-width:960px}
.pt-search input{width:340px;max-width:58vw;height:24px;padding:1px 6px;font:13px Arial,sans-serif;border:2px inset #ddd}
.pt-search button{height:28px;padding:0 14px;font:13px Arial,sans-serif;background:#e8e8e8;border:2px outset #ddd;cursor:pointer}
.pt-search button:active{border-style:inset}
.pt-sw{font-size:12px;color:#333}
.pt-rows{max-width:960px;margin:0 auto 12px;text-align:center;font-size:12.5px}
.pt-rows p{margin:3px 0}
.pt-rows b{margin-right:4px}
.pt-news{max-width:960px;margin:0 auto;border:1px solid #172554;background:#fff}
.pt-nh{padding:4px 8px;background:#e8eefb;border-bottom:1px solid #172554;font-weight:700;color:#172554}
.pt-nh span{font-weight:400;color:#333}
.pt-list{margin:6px 0;padding:0 10px 0 26px}
.pt-list li{margin:3px 0}
.pt-meta{color:#555;font-size:11.5px}
.pt-empty{list-style:none;margin-left:-16px;color:#555}
.pt-more{margin:0 10px 6px;text-align:right}
.pt-foot{max-width:960px;margin:14px auto 0;text-align:center;font-size:11px;color:#555}
@media (max-width:640px){
  body{padding:8px 8px 20px;overflow-x:hidden}
  .pt-top{flex-wrap:wrap;align-items:flex-start;gap:6px 0;max-width:none}
  .pt-logo{order:-1;flex:0 0 100%;width:100%;justify-content:center;padding:2px 0 4px}
  .pt-logo img{width:48px;height:48px}
  .pt-hbn{font-size:36px}
  .pt-full{font-size:9px}
  .pt-icons{display:contents}
  .pt-ic{width:48px;font-size:9px;line-height:1.15}
  .pt-dot{width:34px;height:34px}
  .pt-dot img{width:20px;height:20px}
  .pt-search{margin:8px 0 10px;max-width:none;width:100%}
  .pt-search input{width:auto;flex:1;max-width:none}
  .pt-sw{display:none}
  .pt-news,.pt-foot{max-width:none}
}
/* hbn://blog */
.bl{max-width:720px;margin:0 auto}
.bl-h{display:flex;align-items:center;gap:10px;border-bottom:2px solid #172554;padding-bottom:6px;margin-bottom:10px}
.bl-h img{width:40px;height:40px}
.bl-t{font:italic 900 28px Georgia,"Times New Roman",serif;color:#172554;text-shadow:1px 1px 0 #D4A537}
.bl-sub{font-size:12px;color:#555}
.bl-post{border:1px solid #b8c2dc;background:#fff;margin:0 0 12px}
.bl-pt{margin:0;padding:5px 8px;background:#e8eefb;border-bottom:1px solid #b8c2dc;font:700 15px Georgia,"Times New Roman",serif;color:#172554;overflow-wrap:anywhere}
.bl-by{margin:6px 8px 0;font-size:12px;color:#555}
.bl-img{display:block;max-width:calc(100% - 16px);max-height:420px;margin:8px;border:1px solid #ccc}
.bl-tx{margin:6px 8px 10px;white-space:pre-wrap;overflow-wrap:anywhere}
.bl-empty{color:#555}

/* Portal headlines (Yahoo-style compact boxes; keep the top of the page as it is) */
.pt-nh{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px}
.pt-stamp{font-weight:400;font-size:11px;color:#333;margin-left:auto}
.pt-tick{padding:4px 8px;border-bottom:1px solid #c5cde0;background:#fffef5;font-size:11.5px;overflow-wrap:anywhere}
.pt-tick b{margin-right:6px;color:#172554}
.pt-tick span{white-space:nowrap}
.pt-tick .pt-tick-item{margin-right:10px;white-space:normal}
.pt-tick .pt-t{color:#555;margin-right:4px}
.pt-body{display:flex;align-items:flex-start;gap:10px;padding:8px}
.pt-main{flex:1;min-width:0}
.pt-rail{flex:0 0 200px;width:200px;display:flex;flex-direction:column;gap:8px}
.pt-lead{display:flex;gap:8px;margin:0 0 8px;align-items:flex-start}
.pt-lead figure{margin:0;flex:0 0 96px;width:96px}
.pt-lead img{display:block;width:96px;height:72px;object-fit:cover;border:1px solid #ccc;background:#eee}
.pt-lead figcaption{font-size:10px;line-height:1.25;color:#555;margin-top:2px;overflow-wrap:anywhere}
.pt-lead h2{margin:0 0 3px;font:700 14px/1.25 Arial,Helvetica,sans-serif}
.pt-lead .pt-dek{margin:0;font-size:12px;color:#222;overflow-wrap:anywhere}
.pt-lead .pt-meta,.pt-latest .pt-meta,.pt-secs .pt-meta{color:#555;font-size:11px}
.pt-box{border:1px solid #b8c2dc;background:#fff}
.pt-box h3{margin:0;padding:3px 6px;background:#e8eefb;border-bottom:1px solid #b8c2dc;font:700 12px Arial,sans-serif;color:#172554}
.pt-box h3 a{color:#172554}
.pt-box-b{padding:5px 6px;font-size:12px;overflow-wrap:anywhere}
.pt-latest,.pt-tops,.pt-secs{margin:0 0 8px}
.pt-latest h3,.pt-tops h3,.pt-sec h3{margin:0 0 3px;font:700 12px Arial,sans-serif;color:#172554}
.pt-latest ul,.pt-tops ul,.pt-sec ul{margin:0;padding:0 0 0 16px}
.pt-latest li,.pt-tops li,.pt-sec li{margin:2px 0;overflow-wrap:anywhere}
.pt-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:2px 0;margin:4px 0 6px;padding:0;border-bottom:1px solid #c5cde0;font-size:12px}
.pt-tabs button{background:none;border:0;border-bottom:2px solid transparent;padding:2px 7px;margin-bottom:-1px;color:#0000cc;cursor:pointer;font:12px Arial,sans-serif}
.pt-tabs button:hover{text-decoration:underline}
.pt-tabs button[aria-pressed="true"]{font-weight:700;color:#172554;border-bottom-color:#172554;text-decoration:none}
.pt-rail .pt-row{display:flex;justify-content:space-between;gap:8px;margin:2px 0;overflow-wrap:anywhere}
.pt-rail .pt-up{color:#060}
.pt-rail .pt-dn{color:#a00}
.pt-rail .pt-src{margin:4px 0 0;font-size:10px;color:#555}
.pt-empty{color:#555;margin:6px 0}
@media (max-width:640px){
  .pt-body{flex-direction:column;padding:8px 6px}
  .pt-rail{flex:none;width:auto}
  .pt-lead figure{flex:0 0 80px;width:80px}
  .pt-lead img{width:80px;height:60px}
  .pt-stamp{margin-left:0}
  .pt-tick span,.pt-tick .pt-tick-item{white-space:normal}
}
.pt-ic{overflow-wrap:anywhere}

/* Earthquakes is one long word; overflow-wrap:anywhere was splitting it to Earthquake / s. */
.pt-ic[data-go="hbn://earthquakes"]{
  overflow-wrap:normal;
  word-break:normal;
  white-space:nowrap;
  width:auto;
  min-width:50px;
  letter-spacing:-0.03em;
}
@media (max-width:640px){
  .pt-ic[data-go="hbn://earthquakes"]{
    min-width:0;
    width:auto;
    max-width:none;
    letter-spacing:-0.04em;
  }
}


/* Earth TV is two words; keep it on one line so the left-end icon is not cropped (Dacota 8:28 PM). */
.pt-ic[data-go="hbn://earthtv"]{
  overflow-wrap:normal;
  word-break:normal;
  white-space:nowrap;
  width:auto;
  min-width:42px;
}
@media (max-width:640px){
  .pt-ic[data-go="hbn://earthtv"]{
    min-width:0;
    width:auto;
    max-width:none;
  }
}
/* Live Cams is two words; in the tight 42px cell it wrapped to Live / Cams and sat higher than the rest. */
.pt-ic[data-go="hbn://cams"]{
  overflow-wrap:normal;
  word-break:normal;
  white-space:nowrap;
  width:auto;
  min-width:42px;
}
@media (max-width:640px){
  .pt-ic[data-go="hbn://cams"]{
    min-width:0;
    width:auto;
    max-width:none;
  }
}

/* Today in History and Word of the Day boxes in the portal rail */
.pt-house{display:flex;gap:6px;align-items:flex-start;text-decoration:none;color:inherit;min-width:0}
.pt-house:visited{color:inherit}
.pt-house img{display:block;width:72px;height:54px;object-fit:cover;border:1px solid #ccc;background:#eee;flex:none}
.pt-house-t{font-weight:700;margin:0 0 2px;overflow-wrap:anywhere}
@media (max-width:640px){
  .pt-house img{width:80px;height:60px}
}

/* hbn://home portal at night: plain Chrome gray, no gold. Blog (.bl) is intentionally not restyled. */
html[data-theme="night"]:has(body.pt){background:#202124;color-scheme:dark}
html[data-theme="night"] body.pt{color:#e8eaed;background:#202124}
html[data-theme="night"] body.pt a{color:#8ab4f8}
html[data-theme="night"] body.pt a:visited{color:#c58af9}
html[data-theme="night"] body.pt .pt-dot{background:#35363a;border-color:#3c4043;box-shadow:none}
html[data-theme="night"] body.pt .pt-hbn{color:#e8eaed;text-shadow:none}
html[data-theme="night"] body.pt .pt-full{color:#9aa0a6}
html[data-theme="night"] body.pt .pt-search input{background:#202124;color:#e8eaed;border-color:#3c4043;color-scheme:dark;caret-color:#e8eaed}
html[data-theme="night"] body.pt .pt-search button{background:#35363a;color:#e8eaed;border-color:#3c4043}
html[data-theme="night"] body.pt .pt-sw,
html[data-theme="night"] body.pt .pt-meta,
html[data-theme="night"] body.pt .pt-empty,
html[data-theme="night"] body.pt .pt-foot,
html[data-theme="night"] body.pt .pt-stamp,
html[data-theme="night"] body.pt .pt-tick .pt-t,
html[data-theme="night"] body.pt .pt-lead figcaption,
html[data-theme="night"] body.pt .pt-lead .pt-meta,
html[data-theme="night"] body.pt .pt-latest .pt-meta,
html[data-theme="night"] body.pt .pt-secs .pt-meta,
html[data-theme="night"] body.pt .pt-rail .pt-src,
html[data-theme="night"] body.pt .pt-nh span{color:#9aa0a6}
html[data-theme="night"] body.pt .pt-news{border-color:#3c4043;background:#202124}
html[data-theme="night"] body.pt .pt-nh{background:#35363a;border-bottom-color:#3c4043;color:#e8eaed}
html[data-theme="night"] body.pt .pt-tick{background:#292a2d;border-bottom-color:#3c4043;color:#e8eaed}
html[data-theme="night"] body.pt .pt-tick b,
html[data-theme="night"] body.pt .pt-latest h3,
html[data-theme="night"] body.pt .pt-tops h3,
html[data-theme="night"] body.pt .pt-sec h3,
html[data-theme="night"] body.pt .pt-box h3,
html[data-theme="night"] body.pt .pt-box h3 a,
html[data-theme="night"] body.pt .pt-lead .pt-dek,
html[data-theme="night"] body.pt .pt-lead h2{color:#e8eaed}
html[data-theme="night"] body.pt .pt-lead img,
html[data-theme="night"] body.pt .pt-house img{border-color:#3c4043;background:#35363a}
html[data-theme="night"] body.pt .pt-box{border-color:#3c4043;background:#292a2d}
html[data-theme="night"] body.pt .pt-box h3{background:#35363a;border-bottom-color:#3c4043}
html[data-theme="night"] body.pt .pt-tabs{border-bottom-color:#3c4043}
html[data-theme="night"] body.pt .pt-tabs button{color:#8ab4f8}
html[data-theme="night"] body.pt .pt-tabs button[aria-pressed="true"]{color:#e8eaed;border-bottom-color:#8ab4f8}
html[data-theme="night"] body.pt .pt-house,
html[data-theme="night"] body.pt .pt-house:visited{color:#e8eaed}
html[data-theme="night"] body.pt .pt-ic{color:#8ab4f8}

/* Blog feed at night: drop the gold title shadow (Dacota 9:05). Day stays. */
html[data-theme="night"] .bl{color:#e8eaed;background:#202124}
html[data-theme="night"] body:has(.bl){background:#202124;color:#e8eaed;color-scheme:dark}
html[data-theme="night"] .bl-t{text-shadow:none;color:#e8eaed}
html[data-theme="night"] .bl-h{border-bottom-color:#3c4043}
html[data-theme="night"] .bl-sub,
html[data-theme="night"] .bl-empty,
html[data-theme="night"] .bl-by{color:#9aa0a6}
html[data-theme="night"] .bl-post{background:#292a2d;border-color:#3c4043}
html[data-theme="night"] .bl-pt{background:#35363a;border-bottom-color:#3c4043;color:#e8eaed}
html[data-theme="night"] .bl a{color:#8ab4f8}

/* Dec 2 2026: left sidebar is a boxed HBN Services list (same 14 items, menu style matching the right-hand Weather/Finance/Sports boxes). */
.pt-top{flex-wrap:wrap;justify-content:center;margin:2px auto 6px;max-width:1168px}
.pt-top .pt-logo{flex:0 0 auto}
.pt-shell{display:flex;align-items:flex-start;gap:10px;max-width:1168px;margin:0 auto;box-sizing:border-box}
.pt-side{flex:0 0 200px;width:200px;min-width:185px;box-sizing:border-box}
.pt-side .pt-box{width:100%}
.pt-svc{list-style:none;margin:0;padding:4px 6px 6px}
.pt-svc li{margin:0}
.pt-svc a{display:flex;align-items:center;gap:7px;padding:3px 4px;text-decoration:none;font:700 12.5px/1.25 Arial,Helvetica,sans-serif;color:#0000cc;border-radius:2px}
.pt-svc a:visited{color:#551a8b}
.pt-svc a:hover,.pt-svc a:focus-visible{background:#e8eefb;text-decoration:underline;outline:0}
.pt-svc img{flex:0 0 16px;width:16px;height:16px;image-rendering:pixelated}
.pt-maincol{flex:1;min-width:0}
.pt-maincol .pt-search,
.pt-maincol .pt-news,
.pt-maincol .pt-foot{max-width:960px}
@media (max-width:640px){
  .pt-shell{flex-direction:column;align-items:stretch;gap:6px;max-width:none}
  .pt-side{flex:none;width:auto;min-width:0}
  .pt-svc{display:grid;grid-template-columns:1fr 1fr;column-gap:6px;padding:4px 6px 8px}
  .pt-maincol{width:100%}
  .pt-maincol .pt-search,
  .pt-maincol .pt-news,
  .pt-maincol .pt-foot{max-width:none;width:100%}
}
html[data-theme="night"] body.pt .pt-svc a{color:#8ab4f8}
html[data-theme="night"] body.pt .pt-svc a:visited{color:#c58af9}
html[data-theme="night"] body.pt .pt-svc a:hover,
html[data-theme="night"] body.pt .pt-svc a:focus-visible{background:#35363a;color:#e8eaed}

/* MSWD-136 / t1504u: logo + Wikipedia search sit in a full-width header; the HBN Services
   sidebar box and the Headlines main bar share a flush top edge (align-items: start). */
.pt-top{margin:2px auto 0}
.pt-search{margin:8px auto 10px}
.pt-shell{align-items:start;margin-top:0}
.pt-side,.pt-maincol{margin-top:0;padding-top:0}
.pt-side .pt-box,.pt-maincol .pt-news{margin-top:0}
.pt-side{display:flex;flex-direction:column;gap:10px}
@media (max-width:640px){
  .pt-search{margin:8px 0 10px}
}


/* cls-reserve (3 Dec 2026): reserve space for late-loading portal widgets so the layout does not jump; visual design unchanged */
#pt-lead{min-height:150px}
.pt-rail #pt-weather{min-height:67px}.pt-rail #pt-finance{min-height:135px}.pt-rail #pt-sports{min-height:115px}.pt-rail #pt-todayinhistory{min-height:200px}.pt-rail #pt-wordoftheday{min-height:180px}
.pt-rail .pt-box[hidden]{display:block;visibility:hidden}
@media (max-width:640px){.pt-rail #pt-finance{min-height:105px}.pt-rail #pt-sports{min-height:99px}.pt-rail #pt-todayinhistory{min-height:140px}.pt-rail #pt-wordoftheday{min-height:125px}}
