/* ------------------------------------------------------------------
   TIBBIR on Netscape Navigator 3.0 on Windows 95 - style.css
   Everything is plain CSS, system fonts only, no network requests.
   ------------------------------------------------------------------ */

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  position: relative;
  background: #008080;
  -webkit-font-smoothing: none;
  font-family: "MS Sans Serif", Arial, Tahoma, sans-serif;
  font-size: 11px;
  color: #000;
  cursor: default;
  -webkit-user-select: none;
  user-select: none;
}

/* ---------- shared Win95 bevels ---------- */

.raised {
  background: #c0c0c0;
  border: 1px solid;
  border-color: #fff #000 #000 #fff;
  box-shadow: inset -1px -1px #808080, inset 1px 1px #dfdfdf;
}

.sunken {
  background: #fff;
  border: 1px solid;
  border-color: #808080 #fff #fff #808080;
  box-shadow: inset 1px 1px #000, inset -1px -1px #dfdfdf;
}

.pressed, .raised:active {
  border-color: #000 #fff #fff #000;
  box-shadow: inset 1px 1px #808080, inset -1px -1px #dfdfdf;
}

svg {
  shape-rendering: crispEdges;
}

/* ---------- desktop icons ---------- */

#desktop {
  position: absolute;
  left: 6px;
  top: 8px;
  width: 76px;
}

.dicon {
  width: 76px;
  margin-bottom: 16px;
  text-align: center;
  color: #fff;
  font-size: 11px;
  line-height: 13px;
}

.dicon svg {
  display: block;
  margin: 0 auto 3px;
}

.dicon span {
  display: inline-block;
  padding: 0 2px;
}

.dicon.selected span {
  background: #000080;
  border: 1px dotted #ffff00;
}

/* ---------- the Netscape window ---------- */

#netscape {
  position: absolute;
  left: 84px;
  top: 10px;
  right: 12px;
  bottom: 34px;
  display: flex;
  flex-direction: column;
  background: #c0c0c0;
  border: 1px solid;
  border-color: #dfdfdf #000 #000 #dfdfdf;
  box-shadow: inset 1px 1px #fff, inset -1px -1px #808080;
  padding: 3px;
}

/* title bar */

#titlebar {
  flex: none;
  height: 18px;
  background: #000080;
  color: #fff;
  font-weight: bold;
  display: flex;
  align-items: center;
  padding: 0 2px 0 3px;
  white-space: nowrap;
  overflow: hidden;
}

#titlebar .nicon {
  flex: none;
  margin-right: 4px;
}

#titlebar .ttext {
  flex: 1;
  overflow: hidden;
  text-overflow: clip;
  line-height: 18px;
}

#titlebar .tbtns {
  flex: none;
  display: flex;
  gap: 2px;
  margin-left: 6px;
}

#titlebar .tbtn {
  width: 16px;
  height: 14px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

#titlebar .tbtn.close {
  margin-left: 2px;
}

/* menu bar */

#menubar {
  flex: none;
  height: 19px;
  line-height: 19px;
  padding-left: 1px;
  white-space: nowrap;
}

#menubar span {
  display: inline-block;
  padding: 0 6px;
}

#menubar span:hover {
  background: #000080;
  color: #fff;
}

/* toolbar */

#toolbar {
  flex: none;
  height: 46px;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #808080;
  display: flex;
  align-items: center;
  padding: 0 3px;
  gap: 1px;
}

.tbtn95 {
  width: 50px;
  height: 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  line-height: 11px;
  color: #000;
  cursor: default;
}

.tbtn95 svg {
  display: block;
  margin-bottom: 1px;
}

.tbtn95.disabled {
  color: #808080;
  text-shadow: 1px 1px #fff;
}

.tbtn95 .ico {
  width: 22px;
  height: 22px;
}

.tbsep {
  width: 1px;
  height: 36px;
  margin: 0 3px;
  border-left: 1px solid #808080;
  border-right: 1px solid #fff;
}

/* throbber: the Netscape N with comets */

#throbber {
  margin-left: auto;
  width: 40px;
  height: 40px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  background: #000040;
  background-image: radial-gradient(circle at 30% 70%, #1a1a80 0, #000040 60%);
  border: 1px solid;
  border-color: #808080 #fff #fff #808080;
  box-shadow: inset 1px 1px #000, inset -1px -1px #dfdfdf;
}

#throbber .n {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font: bold 26px/1 Arial, Helvetica, sans-serif;
  letter-spacing: -1px;
  text-shadow: 1px 1px #000;
  z-index: 2;
}

#throbber .comet {
  position: absolute;
  width: 16px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0), #fff 85%, #fff);
  transform-origin: 100% 50%;
  animation: comet 1.3s linear infinite;
  z-index: 3;
}

#throbber .comet.c1 { left: 30px; top: -4px; animation-delay: 0s; }
#throbber .comet.c2 { left: 38px; top: 10px; animation-delay: .45s; }
#throbber .comet.c3 { left: 22px; top: -8px; animation-delay: .9s; width: 10px; }

@keyframes comet {
  0%   { transform: translate(0, 0) rotate(-40deg); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translate(-46px, 38px) rotate(-40deg); opacity: 0; }
}

#throbber .star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #fff;
  animation: twinkle 1.6s steps(1) infinite;
  z-index: 1;
}

#throbber .star.s1 { left: 5px;  top: 6px;  animation-delay: 0s; }
#throbber .star.s2 { left: 31px; top: 30px; animation-delay: .4s; }
#throbber .star.s3 { left: 9px;  top: 29px; animation-delay: .8s; }
#throbber .star.s4 { left: 33px; top: 5px;  animation-delay: 1.2s; }
#throbber .star.s5 { left: 20px; top: 34px; animation-delay: .2s; }

@keyframes twinkle {
  0%   { opacity: 1; }
  50%  { opacity: .15; }
  100% { opacity: 1; }
}

/* location bar */

#locbar {
  flex: none;
  height: 26px;
  display: flex;
  align-items: center;
  padding: 0 4px;
  border-bottom: 1px solid #808080;
  box-shadow: 0 1px #fff;
}

#locbar label {
  margin-right: 6px;
  white-space: nowrap;
}

#location {
  flex: 1;
  height: 20px;
  box-sizing: border-box;
  font: 11px "MS Sans Serif", Arial, Tahoma, sans-serif;
  color: #000;
  padding: 2px 3px;
  outline: none;
  background: #fff;
  border: 1px solid;
  border-color: #808080 #fff #fff #808080;
  box-shadow: inset 1px 1px #000, inset -1px -1px #dfdfdf;
  -webkit-user-select: text;
  user-select: text;
}

/* directory buttons */

#dirbar {
  flex: none;
  height: 25px;
  display: flex;
  align-items: center;
  padding: 0 3px;
  gap: 2px;
  border-bottom: 1px solid #808080;
  box-shadow: 0 1px #fff;
}

.dbtn {
  flex: 1;
  height: 20px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  white-space: nowrap;
}

/* the content viewport: the ONLY scrollable element */

#viewport {
  flex: 1;
  min-height: 0;
  margin-top: 2px;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: auto;
  background: #0c1001;
  border: 1px solid;
  border-color: #808080 #fff #fff #808080;
  box-shadow: inset 1px 1px #000, inset -1px -1px #dfdfdf;
  -webkit-user-select: text;
  user-select: text;
}

#viewport::-webkit-scrollbar {
  width: 16px;
  height: 16px;
}

#viewport::-webkit-scrollbar-track {
  background-color: #c0c0c0;
  background-image: repeating-conic-gradient(#c0c0c0 0 25%, #fff 0 50%);
  background-size: 2px 2px;
}

#viewport::-webkit-scrollbar-thumb {
  background: #c0c0c0;
  border: 1px solid;
  border-color: #dfdfdf #000 #000 #dfdfdf;
  box-shadow: inset 1px 1px #fff, inset -1px -1px #808080;
}

#viewport::-webkit-scrollbar-button {
  display: block;
  width: 16px;
  height: 16px;
  background-color: #c0c0c0;
  background-repeat: no-repeat;
  background-position: center;
  border: 1px solid;
  border-color: #dfdfdf #000 #000 #dfdfdf;
  box-shadow: inset 1px 1px #fff, inset -1px -1px #808080;
}

#viewport::-webkit-scrollbar-button:vertical:decrement {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='7' height='4' shape-rendering='crispEdges'><path d='M3 0h1v1h1v1h1v1h1v1H0V3h1V2h1V1h1z' fill='%23000'/></svg>");
}

#viewport::-webkit-scrollbar-button:vertical:increment {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='7' height='4' shape-rendering='crispEdges'><path d='M0 0h7v1H6v1H5v1H4v1H3V3H2V2H1V1H0z' fill='%23000'/></svg>");
}

#viewport::-webkit-scrollbar-button:vertical:start:increment,
#viewport::-webkit-scrollbar-button:vertical:end:decrement,
#viewport::-webkit-scrollbar-button:horizontal {
  display: none;
}

#viewport::-webkit-scrollbar-corner {
  background: #c0c0c0;
}

/* status bar */

#statusbar {
  flex: none;
  height: 20px;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 2px;
}

#seckey {
  width: 26px;
  height: 16px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #c0c0c0;
  border: 1px solid;
  border-color: #808080 #fff #fff #808080;
}

#progress {
  width: 110px;
  height: 16px;
  box-sizing: border-box;
  background: #c0c0c0;
  border: 1px solid;
  border-color: #808080 #fff #fff #808080;
  position: relative;
  overflow: hidden;
}

#progress .fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: #000080;
  animation: progress 7s linear infinite;
}

@keyframes progress {
  0%   { width: 0; }
  55%  { width: 100%; }
  70%  { width: 100%; }
  71%  { width: 0; }
  100% { width: 0; }
}

#status {
  flex: 1;
  height: 16px;
  line-height: 16px;
  box-sizing: border-box;
  padding: 0 4px;
  white-space: pre;
  overflow: hidden;
  background: #c0c0c0;
  border: 1px solid;
  border-color: #808080 #fff #fff #808080;
  font-size: 11px;
}

/* ---------- Win95 taskbar ---------- */

#taskbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28px;
  background: #c0c0c0;
  border-top: 1px solid #fff;
  box-shadow: 0 -1px #dfdfdf;
  display: flex;
  align-items: center;
  padding: 0 2px;
  gap: 4px;
  z-index: 10;
}

#startbtn {
  height: 22px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 0 5px 0 3px;
  font-weight: bold;
  font-size: 11px;
}

#startbtn svg {
  display: block;
}

.tsep {
  width: 1px;
  height: 22px;
  border-left: 1px solid #808080;
  border-right: 1px solid #fff;
  margin: 0 2px;
}

#taskbtn {
  height: 22px;
  width: 200px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 4px;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  background-color: #c0c0c0;
  background-image: repeating-conic-gradient(#c0c0c0 0 25%, #fff 0 50%);
  background-size: 2px 2px;
  border: 1px solid;
  border-color: #000 #fff #fff #000;
  box-shadow: inset 1px 1px #808080, inset -1px -1px #dfdfdf;
}

#taskbtn span {
  overflow: hidden;
  text-overflow: ellipsis;
}

#tray {
  margin-left: auto;
  height: 22px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px 0 6px;
  border: 1px solid;
  border-color: #808080 #fff #fff #808080;
}

#clock {
  min-width: 48px;
  text-align: center;
}

/* ---------- cursor sparkle trail ---------- */

.spark {
  position: fixed;
  left: 0;
  top: 0;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  pointer-events: none;
  z-index: 9999;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: spark .8s ease-out forwards;
}

@keyframes spark {
  0%   { opacity: 1; transform: translate(0, 0) scale(1) rotate(0deg); }
  100% { opacity: 0; transform: translate(0, 22px) scale(.25) rotate(90deg); }
}

/* ==================================================================
   THE PAGE (1996 GeoCities energy)
   ================================================================== */

#page {
  min-height: 100%;
  box-sizing: border-box;
  padding: 14px 0 28px;
  background: #0c1001 url("assets/bg-tile.gif") repeat 0 0;
  color: #c3ff00;
  font-family: "Comic Sans MS", "Comic Sans", "Chalkboard SE", cursive;
  font-size: 15px;
  line-height: 1.35;
  -webkit-font-smoothing: auto;
  -webkit-user-select: text;
  user-select: text;
}

#page a:link    { color: #ffff00; }
#page a:visited { color: #ff80ff; }
#page a:hover   { color: #ffffff; background: #4c5b01; }
#page a:active  { color: #ff0000; }

#page img {
  image-rendering: pixelated;
  vertical-align: middle;
}

#page img[alt] {
  color: #c3ff00;
  font-size: 10px;
  font-family: "Courier New", monospace;
}

#frame {
  border: 4px outset #6f8500;
  background: #000;
}

#frame > tbody > tr > td {
  background: #0c1001;
  border: 1px inset #3a4600;
}

.rainbow {
  font-family: "Comic Sans MS", "Comic Sans", cursive;
  font-weight: bold;
  letter-spacing: 1px;
}

h1.rainbow { font-size: 30px; margin: 10px 0 6px; line-height: 1.1; }
h2.rainbow { font-size: 24px; margin: 8px 0 6px; line-height: 1.15; }

.blink {
  animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {
  to { visibility: hidden; }
}

.shake {
  display: inline-block;
  animation: shake .5s steps(2) infinite;
}

@keyframes shake {
  0%   { transform: translate(0, 0) rotate(-3deg); }
  100% { transform: translate(1px, -1px) rotate(3deg); }
}

.divider {
  display: block;
  margin: 12px auto;
}

marquee {
  display: block;
}

.hdr {
  position: relative;
  text-align: center;
  padding: 4px 0 2px;
}

.hdr .logo-block {
  display: inline-block;
  padding: 2px 4px;
}

.hdr .trademark {
  text-align: center;
  padding: 6px 0 4px;
}

.hdr .logo-row {
  display: block;
}

.hdr .logo-row img {
  margin: 0 2px;
  vertical-align: middle;
}

.hdr .spark-deco {
  position: absolute;
}

/* "What is" section */

.heroimg {
  float: left;
  margin: 4px 14px 6px 0;
  border: 2px ridge #c3ff00;
}

.clear { clear: both; }

/* stats */

.statsbox {
  display: inline-block;
  border: 3px outset #a9d400;
  background: #000;
  padding: 2px;
}

.statsbox table {
  border-collapse: separate;
  border-spacing: 2px;
}

.statsbox th {
  background: #4c5b01;
  color: #fff;
  font: bold 20px/1.2 "Comic Sans MS", "Comic Sans", cursive;
  padding: 6px 10px;
  border: 2px outset #8ea900;
}

.statsbox td {
  background: #0c1001;
  color: #c3ff00;
  border: 2px inset #4c5b01;
  padding: 6px 14px;
  text-align: center;
  white-space: nowrap;
  width: 200px;
}

.statsbox td b {
  display: block;
  font: bold 26px/1.1 "Courier New", monospace;
  color: #ffff00;
  text-shadow: 2px 2px #4c5b01;
}

.statsbox td small {
  font-size: 12px;
  color: #fff;
}

.statsbox td.joke {
  font-size: 11px;
  color: #fff;
  background: #1c2401;
}

/* cool links */

ul.cool {
  list-style: none;
  padding-left: 10px;
  margin: 6px 0 10px;
}

ul.cool li {
  margin: 7px 0;
  padding-left: 36px;
  background: url("assets/bullet.gif") no-repeat 0 2px;
  background-size: 28px 28px;
  min-height: 18px;
}

ul.cool li img {
  margin-left: 4px;
}

ul.cool b {
  font-size: 17px;
}

/* languages */

.langs {
  font: bold 17px/2 "Courier New", monospace;
  letter-spacing: 1px;
  color: #fff;
  word-spacing: 4px;
}

.langs span {
  display: inline-block;
  padding: 0 4px;
  border: 1px solid #4c5b01;
  background: #000;
  margin: 2px;
}

/* midi box */

.midibox {
  display: inline-block;
  min-width: 300px;
  background: #000;
  border: 2px inset #808080;
  padding: 6px 10px;
  font: 12px "Courier New", monospace;
  color: #00ff00;
  text-align: left;
}

.midibox .led {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff0000;
  box-shadow: 0 0 3px #ff0000;
  margin-right: 5px;
}

.midibox .led.on {
  background: #00ff00;
  box-shadow: 0 0 4px #00ff00;
  animation: blink 1s steps(2, start) infinite;
}

.midibox .btn95 {
  margin: 4px 2px 0 0;
}

.midibox .scope {
  display: block;
  height: 12px;
  margin-top: 4px;
  background: repeating-linear-gradient(90deg, #00ff00 0 2px, transparent 2px 4px);
  background-size: 24px 100%;
  opacity: .35;
}

.midibox.playing .scope {
  opacity: 1;
  animation: scope .4s steps(4) infinite;
}

@keyframes scope {
  to { background-position: 24px 0; }
}

/* hit counter */

.counterwrap {
  display: inline-block;
  text-align: center;
  padding: 6px 12px 8px;
  border: 2px outset #a9d400;
  background: #000;
}

#counter {
  display: inline-block;
  background: #000;
  padding: 4px 6px;
  border: 2px solid;
  border-color: #808080 #fff #fff #808080;
  margin: 4px 0;
  line-height: 0;
}

#counter img {
  vertical-align: top;
  margin: 0 1px;
}

/* guestbook */

.gbwrap {
  display: inline-block;
  border: 3px ridge #c3ff00;
  background: #000;
  padding: 10px 16px 12px;
  text-align: left;
  width: 560px;
  box-sizing: border-box;
}

.gbwrap table td {
  padding: 3px 4px;
  vertical-align: top;
}

.gbwrap label {
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
}

#page input[type="text"],
#page textarea,
#page select {
  font: 12px "MS Sans Serif", Arial, Tahoma, sans-serif;
  color: #000;
  background: #fff;
  border: 1px solid;
  border-color: #808080 #fff #fff #808080;
  box-shadow: inset 1px 1px #000, inset -1px -1px #dfdfdf;
  padding: 2px 3px;
  outline: none;
  border-radius: 0;
}

#page select {
  padding: 1px 2px;
  height: 21px;
  width: 266px;
  max-width: 100%;
}

#page input[type="text"] {
  width: 260px;
}

#page textarea {
  width: 260px;
}

#page textarea {
  resize: none;
  font-family: "Courier New", monospace;
}

.btn95 {
  font: 11px "MS Sans Serif", Arial, Tahoma, sans-serif;
  color: #000;
  background: #c0c0c0;
  border: 1px solid;
  border-color: #fff #000 #000 #fff;
  box-shadow: inset -1px -1px #808080, inset 1px 1px #dfdfdf;
  padding: 3px 12px;
  min-width: 72px;
  border-radius: 0;
  cursor: default;
}

.btn95:active {
  border-color: #000 #fff #fff #000;
  box-shadow: inset 1px 1px #808080, inset -1px -1px #dfdfdf;
}

#gbthanks {
  display: none;
  margin-top: 8px;
  color: #c3ff00;
  font-weight: bold;
  font-size: 16px;
}

#gbthanks.show {
  display: block;
}

.entry {
  border: 1px dashed #4c5b01;
  background: #000;
  padding: 6px 10px;
  margin: 8px 0;
  text-align: left;
  font-size: 14px;
}

.entry .who {
  color: #ffff00;
  font-weight: bold;
}

.entry .when {
  color: #808080;
  font-size: 11px;
  font-family: "Courier New", monospace;
}

/* under construction */

.ucwrap {
  display: inline-block;
  text-align: center;
  padding: 8px 18px 10px;
  border: 2px dashed #ffff00;
  background: #000;
}

/* webring + badges */

.ringwrap {
  display: block;
  text-align: center;
  padding: 10px 8px 12px;
  border: 3px double #c3ff00;
  background: #000;
}

.ringwrap .ringnav a {
  font-family: "Courier New", monospace;
  font-weight: bold;
}

.badges {
  margin-top: 10px;
  line-height: 0;
}

.badges img {
  margin: 3px;
  border: 1px solid #808080;
}

/* footer */

.footer {
  font-size: 12px;
  color: #ffffff;
  text-align: center;
  line-height: 1.6;
}

.footer a { font-size: 12px; }

.tiny {
  font-size: 10px;
  color: #808080;
}

/* The big prophecy */

.bigprophecy {
  display: inline-block;
  border: 4px ridge #c3ff00;
  background: #000;
  padding: 2px;
  text-align: left;
}

.bigprophecy table {
  border-collapse: separate;
}

.bigprophecy td {
  border: 2px inset #4c5b01;
  vertical-align: middle;
}

.bigprophecy td.bp-icon {
  width: 140px;
  text-align: center;
  background: #0c1001;
}

.bigprophecy td.bp-text {
  line-height: 1.35;
}

/* Micky, scanned in 1995 */

.mickybox {
  float: right;
  width: 170px;
  margin: 4px 0 6px 14px;
  padding: 6px 4px;
  border: 2px ridge #c3ff00;
  background: #0c1001;
  text-align: center;
}

/* future part of the timeline */

.cool.future li {
  color: #eaffb0;
  border-left: 3px dashed #c3ff00;
  padding-left: 10px;
}

/* Cookie notice as a Windows 95 message box (ids and data attributes are what ui/analytics.js looks for) */

.win95-dialog {
  position: fixed;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  z-index: 950;
  width: 400px;
  max-width: calc(100vw - 32px);
  background: #c0c0c0;
  color: #000;
  font-family: "MS Sans Serif", Arial, Tahoma, sans-serif;
  font-size: 12px;
  border: 2px solid;
  border-color: #fff #000 #000 #fff;
  box-shadow: 1px 1px 0 #808080 inset, 4px 4px 0 rgba(0, 0, 0, 0.35);
  -webkit-font-smoothing: none;
}

.win95-dialog[hidden] {
  display: none;
}

.win95-dialog-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #000080;
  color: #fff;
  font-weight: bold;
  padding: 3px 6px;
  margin: 2px;
}

.win95-dialog-x {
  background: #c0c0c0;
  color: #000;
  font-weight: bold;
  width: 14px;
  height: 12px;
  line-height: 11px;
  text-align: center;
  border: 1px solid;
  border-color: #fff #000 #000 #fff;
  font-size: 11px;
}

.win95-dialog-body {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px 6px;
}

.win95-dialog-body p {
  margin: 0;
  line-height: 1.4;
}

.win95-dialog-body small {
  color: #404040;
}

.win95-dialog-icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #000080;
  color: #000080;
  font: bold 20px/26px "Times New Roman", serif;
  text-align: center;
}

.win95-dialog-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px 14px;
}

.win95-dialog-actions .btn95 {
  min-width: 90px;
}

/* Phones and small windows: keep the 1080x1080 desktop as it is and let the page itself scroll
   in both directions instead of clipping it (2026-11-03). The GIF render (1080 wide) is unaffected. */

@media (max-width: 1000px) {
  html, body {
    width: auto;
    height: auto;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  body {
    width: 1080px;
    height: 1080px;
    min-height: 1080px;
  }

  #viewport {
    overflow-x: auto;
  }
}
