/* Thomas 1999 – Cyber-Thomas. Drumherum: Windows-98-Desktop (Teal) und ein nachgezeichnetes Netscape-Communicator-4.7-Fenster.
   Drinnen: 1999-HTML mit Frames, Tabellen, <font> und GIFs – gestaltet im Markup selbst, hier nur das Nötigste, damit
   Frames scrollen und die Seite auf dem Handy nicht ausbricht. */
body { background: #008080; color: #fff; }
.tt99 { padding: 1.25rem clamp(.5rem, 3vw, 2.5rem) 2.5rem; }
.tt99-head { max-width: 800px; margin: 0 auto 1rem; }
.tt99-kicker { margin: 0 0 .25rem; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.tt99-intro { margin: 0; max-width: 66ch; font-size: .95rem; }

/* Das Fenster: Windows 98 – Grau #c0c0c0, 3D-Kanten, blauer Titelbalken mit Verlauf */
.ns { max-width: 800px; margin: 0 auto; background: #c0c0c0; color: #000; border: 1px solid; border-color: #dfdfdf #000 #000 #dfdfdf; box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #808080, 4px 4px 0 rgba(0,0,0,.3); padding: 2px; font: 11px/1.25 Tahoma, "MS Sans Serif", Verdana, Arial, sans-serif; }
.ns-title { display: flex; align-items: center; gap: 6px; padding: 2px 3px; background: linear-gradient(90deg, #000080, #1084d0); color: #fff; font-weight: 700; font-size: 12px; }
.ns-title-text { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ns-wbtn { display: flex; gap: 2px; }
.ns-wbtn i { width: 16px; height: 14px; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 11px; line-height: 1; color: #000; background: #c0c0c0; border: 1px solid; border-color: #fff #000 #000 #fff; box-shadow: inset -1px -1px 0 #808080; }
.ns-menu { display: flex; gap: 14px; padding: 3px 6px; }
.ns-tools { display: flex; gap: 2px; padding: 2px 4px 3px; border-top: 1px solid #808080; border-bottom: 1px solid #fff; box-shadow: 0 1px 0 #808080; align-items: flex-end; }
.ns-tool { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 46px; padding: 2px 3px; }
.ns-tool:nth-child(n+8) { display: none; }
@media (min-width: 560px) { .ns-tool:nth-child(n+8) { display: flex; } }
.ns-ico { display: inline-grid; place-items: center; width: 20px; height: 20px; font-style: normal; font-size: 15px; line-height: 1; color: #000080; }
.ns-ico-back::before { content: "◀"; color: #1a7a1a; } .ns-ico-fwd::before { content: "▶"; color: #1a7a1a; } .ns-ico-reload::before { content: "↻"; }
.ns-ico-home::before { content: "⌂"; } .ns-ico-search::before { content: "⌕"; font-size: 18px; } .ns-ico-guide::before { content: "✦"; color: #c00; }
.ns-ico-print::before { content: "▤"; } .ns-ico-lock::before { content: "⚿"; } .ns-ico-shop::before { content: "▣"; color: #a60; } .ns-ico-stop::before { content: "✖"; color: #c00; }
.ns-ico-app { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #9cf, #036 70%); border: 1px solid #fff; }
.ns-throb { margin-left: auto; align-self: center; border: 1px solid; border-color: #808080 #fff #fff #808080; }
.ns-throb img { display: block; }
.ns-loc, .ns-pers { display: flex; align-items: center; gap: 8px; padding: 3px 5px; border-top: 1px solid #fff; border-bottom: 1px solid #808080; }
.ns-bm, .ns-rel { white-space: nowrap; flex: none; }
.ns-adr { flex: 1; display: flex; align-items: center; gap: 5px; min-width: 0; }
.ns-adr > span { flex: 1; min-width: 0; padding: 2px 4px; background: #fff; border: 1px solid; border-color: #808080 #fff #fff #808080; box-shadow: inset 1px 1px 0 #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: Arial, Helvetica, sans-serif; font-size: 12px; }
.ns-pers { gap: 14px; overflow: hidden; white-space: nowrap; }
.ns-pers span::before { content: "▪ "; color: #080; }
.ns-rel { display: none; } @media (min-width: 560px) { .ns-rel { display: inline; } }

/* Frames: links Navigation, rechts Inhalt – jede mit eigenem Scrollbalken, wie damals */
.ns-frames { display: flex; height: min(560px, 72vh); margin: 2px 0; border: 2px solid; border-color: #808080 #fff #fff #808080; background: #fff; }
.ns-frame { overflow: auto; overscroll-behavior: contain; }
.ns-nav { flex: none; width: 160px; padding: 6px 4px; background: #000050 url(./assets/bgnav.gif?v=1.89); color: #fff; border-right: 4px solid #c0c0c0; box-shadow: inset -1px 0 0 #808080; }
.ns-main { flex: 1; min-width: 0; padding: 8px 14px 14px; background: #ecece4 url(./assets/bg.gif?v=1.89); color: #000; font: 16px/1.3 "Times New Roman", Times, serif; }

/* Das 1999-HTML – nur, was die moderne Grundhülle sonst verstellt */
.ns-frame img { display: inline; vertical-align: middle; max-width: 100%; height: auto; }
.ns-frame p { max-width: none; margin: 0 0 .5em; }
.ns-frame h1, .ns-frame h2 { text-wrap: initial; line-height: 1.15; }
.ns-frame h1 { font-size: 2em; margin: .6em 0 .4em; }
.ns-frame h2 { font-size: 1.5em; margin: .2em 0 .5em; }
.ns-frame table { border-spacing: 0; }
.ns-frame td { vertical-align: middle; }
.ns-frame td[valign="top"] { vertical-align: top; }
.ns-frame a { color: #0000ee; text-decoration: underline; }
.ns-frame a:visited { color: #551a8b; }
.ns-nav a { color: #ffff00; }
.ns-nav a:hover, .ns-nav a:focus-visible { color: #fff; background: #0000a0; }
.ns-nav a:focus-visible { outline-color: #fff; outline-offset: 2px; }
.ns-nav td { padding: 3px; }
#laufband { table-layout: fixed; width: 100%; }
#laufband td { overflow: hidden; }
#laufschrift { white-space: pre; }
#zaehler td { padding: 2px 5px; }

/* Statuszeile */
.ns-status { display: flex; align-items: center; gap: 6px; padding: 2px 4px; border-top: 1px solid #fff; }
.ns-status .ns-ico { width: 16px; height: 16px; font-size: 12px; border: 1px solid; border-color: #808080 #fff #fff #808080; }
.ns-status-text { flex: 1; padding: 2px 5px; border: 1px solid; border-color: #808080 #fff #fff #808080; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ns-grip { width: 14px; height: 14px; background: repeating-linear-gradient(135deg, #fff 0 1px, #808080 1px 2px, transparent 2px 4px); }

.tt99-notes { max-width: 800px; margin: 1.5rem auto 0; padding: 1rem 1.25rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3); font-size: .95rem; }
.tt99-notes h2 { font-size: 1.05rem; margin-bottom: .5rem; }
.tt99-notes p { max-width: 70ch; }
.tt99-notes p:last-child { margin-bottom: 0; }
.tt99-notes code { font-size: .9em; }
.project-footer { background: #c0c0c0; color: #000; }

/* Handy: Frames untereinander, Navigation als Leiste, Fenster wächst mit dem Inhalt */
@media (max-width: 700px) {
  .tt99 { padding-left: .5rem; padding-right: .5rem; }
  .ns-menu span:nth-child(n+5), .ns-pers span:nth-child(n+4), .ns-bm { display: none; }
  .ns-frames { display: block; height: auto; }
  .ns-frame { overflow: visible; }
  .ns-nav { width: auto; border-right: 0; border-bottom: 4px solid #c0c0c0; }
  .ns-nav tr, .ns-nav td { display: inline-block; vertical-align: middle; }
  .ns-nav tr:has(img[width="100%"]) { display: block; }
  .ns-nav td { padding: 4px 5px; }
  .ns-nav a { display: inline-block; padding: 5px 2px; }
  .ns-main { padding: 8px 8px 12px; }
  .ns-main table[width="100%"] td[width="50%"] { display: block; width: auto; }
}

@media(max-width:359px){.ns-tool:nth-child(n+7),.ns-throb{display:none}}

/* Kopfleiste (Standard 1.34) in den Farben der Seite: dunkleres Windows-98-Petrol statt Grau. */
.concept-note { background: #006a6a; color: #fff; border-bottom: 1px solid rgba(255,255,255,.22); }
