@import "./cursors/windows-98.css";

@font-face {
  font-family: W95FA;
  src: url("./w95fa.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --desk: #cdd0c4;
  --shell: #bdc1b5;
  --pane: #dcdfd3;
  --ink: #262b23;
  --muted: #51594e;
  --olive: #515e4b;
  --edge: #676f61;
  --light: #f3f4e9;
  --dark: #51584d;
  --raised: inset 1px 1px var(--light), inset -1px -1px var(--dark);
  --sunken: inset 1px 1px #848d7b, inset -1px -1px var(--light);
  --reading-font: Tahoma, Verdana, Arial, sans-serif;
  --window-font: W95FA, "Microsoft Sans Serif", Tahoma, sans-serif;
  font-family: var(--reading-font);
  background: var(--desk);
  color: var(--ink);
}
* { box-sizing: border-box; }
body,h1,h2,h3,p,figure,ul { margin: 0; }
button,a { font: inherit; }
button { color: inherit; cursor: pointer; }
button, .tab { border-radius: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
::selection { background: #53614b; color: white; }
:focus-visible { outline: 2px solid #884d19; outline-offset: 3px; }
.window {
  border: 1px solid #50584c;
  background: var(--shell);
  padding: 3px;
  box-shadow: var(--raised), 2px 3px 0 #434e3b65, 7px 12px 25px #424a3530;
}
.titlebar {
  display: flex; align-items: center; gap: .58rem;
  min-height: 2.55rem; padding: .37rem .55rem;
  color: #f5f5e9;
  background: linear-gradient(100deg, #495744, #65705b);
  border: 1px solid #46513e;
  box-shadow: inset 0 1px #a5b09865;
}
.titlebar img { display: block; width: 1.5rem; height: 1.5rem; object-fit: contain; filter: brightness(0) invert(.94); }
.titlebar h1, .brand-link {
  font-family: var(--window-font);
  font-size: 1rem;
  font-weight: 700; white-space: nowrap;
}
.grip {
  flex: 1 1 0; min-width: 0; height: .63rem; opacity: .6;
  background: repeating-linear-gradient(0deg, #e2e7d755 0 1px, #28312377 1px 2px, transparent 2px 4px);
}
.tab:hover, .switches button:hover { background: #d4d9c9; }
.tabs { display: flex; gap: 3px; align-items: end; }
.tab, .switches button {
  text-decoration: none; color: #343c2e;
  padding: .4rem .95rem; background: #b7bdae;
  border: 1px solid #747e6c; box-shadow: var(--raised);
  font: 400 1rem/1.15 var(--window-font);
}
.tab[aria-current="page"], .tab[aria-selected="true"] {
  background: var(--pane); font-weight: 400; color: #232c20;
  border-bottom-color: var(--pane); box-shadow: inset 1px 1px var(--light);
  position: relative; z-index: 1;
}
.inset { border: 1px solid #919987; box-shadow: var(--sunken); background: var(--pane); }
.sr-only { position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
