/* ============================================================
   Windows 98 Theme Stylesheet
   ============================================================ */

:root {
  --win-bg: #008080;
  --win-gray: #c0c0c0;
  --win-dark: #808080;
  --win-light: #dfdfdf;
  --win-white: #ffffff;
  --win-black: #000000;
  --win-blue: #000080;
  --win-title: linear-gradient(90deg, #000080, #1084d0);
  --win-content-bg: #ffffff;
  --win-text: #000000;
}

/* Dark theme variables — applied by JS class or OS preference */
:root.dark-theme {
  --win-bg: #004040;
  --win-gray: #3a3a3a;
  --win-dark: #111111;
  --win-light: #555555;
  --win-white: #4a4a4a;
  --win-black: #000000;
  --win-blue: #000060;
  --win-title: linear-gradient(90deg, #000060, #0a5a90);
  --win-content-bg: #1e1e1e;
  --win-text: #e0e0e0;
}

:root.dark-theme a { color: #6699ff; }
:root.dark-theme a:visited { color: #b080d0; }
:root.dark-theme a:hover { color: #88bbff; }
:root.dark-theme h1, :root.dark-theme h2, :root.dark-theme h3,
:root.dark-theme h4, :root.dark-theme h5, :root.dark-theme h6 { color: #7ab8e0; }
:root.dark-theme .profile-info h1 { color: #7ab8e0; }
:root.dark-theme .marquee-container { background: #000040; }
:root.dark-theme .boot-screen { background: #000040; }

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { height: 100%; }

body {
  font-family: 'Microsoft Sans Serif', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  background: var(--win-bg);
  color: var(--win-text);
  min-height: 100vh;
  overflow-x: hidden;
  cursor: default;
  padding: 10px;
  padding-bottom: 40px;
}

a { color: #0000ff; text-decoration: underline; cursor: pointer; }
a:visited { color: #800080; }
a:hover { color: #ff0000; }

h1, h2, h3, h4, h5, h6 { color: var(--win-blue); font-weight: bold; }
h1, h2, h3 { line-height: 1.1; }
h2 { font-size: 1.57em; margin: 14px 0 8px; }
h3 { font-size: 1.17em; margin: 10px 0 6px; }
h4 { font-size: 1em; margin: 8px 0 4px; font-weight: 600; }
h5, h6 { font-size: 0.95em; font-weight: 600; }
p { margin: 6px 0; line-height: 1.5; }
ul, ol { margin: 6px 0 6px 20px; }
li { margin: 4px 0; line-height: 1.5; }
img { max-width: 100%; }
strong { font-weight: bold; }
em { font-style: italic; }

/* --- Window --- */
.window {
  background: var(--win-gray);
  border: 2px solid;
  border-color: var(--win-light) var(--win-black) var(--win-black) var(--win-light);
  box-shadow: inset 1px 1px 0 var(--win-white), inset -1px -1px 0 var(--win-dark);
}

.main-window {
  width: 850px;
  max-width: calc(100vw - 20px);
  margin: 10px auto;
  position: relative;
}

.main-window.windowed {
  position: fixed;
  margin: 0;
  z-index: 100;
}

.main-window.windowed .window {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.main-window.windowed .window-body {
  flex: 1;
  max-height: none;
  overflow-y: auto;
}



/* Maximized: fill entire screen above taskbar */
.main-window.maximized {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw !important;
  max-width: none;
  height: calc(100vh - 40px);
  margin: 0;
  z-index: 100;
}

.main-window.maximized .window {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: none;
  box-shadow: none;
}

.main-window.maximized .window-body {
  flex: 1;
  max-height: none;
}

/* --- Title Bar --- */
.window-titlebar {
  background: var(--win-title);
  padding: 3px 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: grab;
  user-select: none;
  height: 30px;
}

.titlebar-left {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.titlebar-emoji { font-size: 18px; flex-shrink: 0; }

.window-title {
  color: white;
  font-size: 15px;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.titlebar-buttons { display: flex; gap: 3px; flex-shrink: 0; }

.title-btn {
  width: 20px;
  height: 18px;
  background: var(--win-gray);
  border: 1px solid;
  border-color: var(--win-light) var(--win-black) var(--win-black) var(--win-light);
  box-shadow: inset 1px 1px 0 var(--win-white), inset -1px -1px 0 var(--win-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  color: var(--win-text);
}

.title-btn:active {
  border-color: var(--win-black) var(--win-light) var(--win-light) var(--win-black);
  box-shadow: inset 1px 1px 0 var(--win-dark);
}

/* --- Menu Bar --- */
.window-menubar {
  background: var(--win-gray);
  padding: 1px 0;
  border-bottom: 1px solid var(--win-dark);
  display: flex;
}

.menu-item {
  padding: 3px 10px;
  font-size: 15px;
  cursor: pointer;
  color: var(--win-text);
}

.menu-item:hover {
  background: var(--win-blue);
  color: white;
}

/* --- Address Bar --- */
.address-bar {
  background: var(--win-gray);
  padding: 2px 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid var(--win-dark);
}

.address-label {
  font-size: 15px;
  font-weight: bold;
  color: var(--win-text);
  flex-shrink: 0;
}

.address-field {
  flex: 1;
  border: 2px solid;
  border-color: var(--win-dark) var(--win-white) var(--win-white) var(--win-dark);
  background: var(--win-content-bg);
  padding: 2px 6px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
}

.address-url {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--win-text);
}

.address-go-btn {
  padding: 3px 10px;
  font-size: 14px;
}

/* --- Window Body --- */
.window-body {
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  background: var(--win-content-bg);
}

.window-content {
  padding: 10px;
}

/* --- Win98 Button --- */
.win-btn {
  background: var(--win-gray);
  border: 2px solid;
  border-color: var(--win-light) var(--win-black) var(--win-black) var(--win-light);
  box-shadow: inset 1px 1px 0 var(--win-white), inset -1px -1px 0 var(--win-dark);
  padding: 4px 14px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  color: var(--win-text);
}

.win-btn:active {
  border-color: var(--win-black) var(--win-light) var(--win-light) var(--win-black);
  box-shadow: inset 1px 1px 0 var(--win-dark);
  padding: 4px 11px 2px 13px;
}

/* --- Inset / Raised panels --- */
.inset {
  border: 2px solid;
  border-color: var(--win-dark) var(--win-white) var(--win-white) var(--win-dark);
  box-shadow: inset 1px 1px 0 var(--win-black);
  background: var(--win-content-bg);
  padding: 8px;
}

/* --- Marquee --- */
.marquee-container {
  background: var(--win-blue);
  color: #ffff00;
  font-weight: bold;
  font-family: 'VT323', monospace;
  font-size: 18px;
  padding: 5px 0;
  overflow: hidden;
  white-space: nowrap;
  margin-bottom: 10px;
}

.marquee-text {
  display: inline-block;
  animation: marquee 20s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* --- Profile Section --- */
.profile-section {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.profile-photo {
  width: 130px;
  height: 130px;
  border: 2px solid;
  border-color: var(--win-dark) var(--win-white) var(--win-white) var(--win-dark);
  box-shadow: inset 1px 1px 0 var(--win-black);
  background: #ddd;
  flex-shrink: 0;
  overflow: hidden;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info h1 {
  font-size: 28px;
  color: var(--win-blue);
  margin-bottom: 4px;
  font-family: 'VT323', 'MS Sans Serif', monospace;
  letter-spacing: 1px;
  line-height: 1.1;
}

.profile-info p {
  margin: 4px 0;
  font-size: 16px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.social-links a { text-decoration: none; }

.social-btn {
  font-size: 14px !important;
  padding: 4px 12px;
}

/* --- Pixel Separator --- */
.pixel-separator {
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--win-blue) 0px, var(--win-blue) 4px,
    transparent 4px, transparent 8px
  );
  margin: 10px 0;
  opacity: 0.3;
}

/* --- Tabs --- */
.tab-bar {
  display: flex;
  gap: 0;
  margin-bottom: -2px;
  position: relative;
  z-index: 2;
  padding-left: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tab-bar::-webkit-scrollbar { display: none; }

.tab {
  background: var(--win-dark);
  border: 2px solid;
  border-color: var(--win-light) var(--win-black) transparent var(--win-light);
  box-shadow: none;
  padding: 6px 18px;
  font-size: 16px;
  cursor: pointer;
  position: relative;
  top: 2px;
  user-select: none;
  white-space: nowrap;
  flex-shrink: 0;
  color: var(--win-text);
  z-index: 1;
}

.tab.active {
  background: var(--win-gray);
  border-color: var(--win-light) var(--win-black) var(--win-gray) var(--win-light);
  box-shadow: inset 1px 1px 0 var(--win-white);
  padding-bottom: 8px;
  top: 0;
  z-index: 3;
  font-weight: bold;
}

.tab-content {
  border: 2px solid;
  border-color: var(--win-light) var(--win-black) var(--win-black) var(--win-light);
  box-shadow: inset 1px 1px 0 var(--win-white);
  background: var(--win-gray);
  padding: 14px;
  position: relative;
  z-index: 1;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel ul { list-style-position: inside; }

/* --- Group Box --- */
.group-box {
  border: 1px solid var(--win-dark);
  padding: 10px;
  margin: 8px 0;
  position: relative;
}


/* --- Win98 Dialog Box --- */
.win98-dialog-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.win98-dialog {
  background: var(--win-gray);
  border: 2px solid;
  border-color: var(--win-light) var(--win-black) var(--win-black) var(--win-light);
  box-shadow: inset 1px 1px 0 var(--win-white), inset -1px -1px 0 var(--win-dark),
              4px 4px 0 rgba(0, 0, 0, 0.3);
  min-width: 340px;
  max-width: 450px;
  font-size: 14px;
}

.win98-dialog-titlebar {
  background: var(--win-title);
  padding: 3px 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 26px;
}

.win98-dialog-titlebar span {
  color: white;
  font-size: 13px;
  font-weight: bold;
}

.win98-dialog-close {
  width: 18px;
  height: 16px;
  background: var(--win-gray);
  border: 1px solid;
  border-color: var(--win-light) var(--win-black) var(--win-black) var(--win-light);
  box-shadow: inset 1px 1px 0 var(--win-white), inset -1px -1px 0 var(--win-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  color: var(--win-text);
}

.win98-dialog-body {
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.win98-dialog-icon {
  font-size: 32px;
  flex-shrink: 0;
  line-height: 1;
}

.win98-dialog-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--win-text);
  padding-top: 4px;
}

.win98-dialog-buttons {
  padding: 0 20px 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.win98-dialog-btn {
  background: var(--win-gray);
  border: 2px solid;
  border-color: var(--win-light) var(--win-black) var(--win-black) var(--win-light);
  box-shadow: inset 1px 1px 0 var(--win-white), inset -1px -1px 0 var(--win-dark);
  padding: 4px 24px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  min-width: 80px;
  color: var(--win-text);
}

.win98-dialog-btn:active {
  border-color: var(--win-black) var(--win-light) var(--win-light) var(--win-black);
  box-shadow: inset 1px 1px 0 var(--win-dark);
}

.win98-dialog-btn:focus {
  outline: 1px dotted var(--win-text);
  outline-offset: -4px;
}

/* --- Spinning Email Icon --- */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spinning-icon {
  animation: spin 3s linear infinite;
  display: inline-block;
}

/* --- Footer --- */
.win98-footer {
  text-align: center;
  font-size: 12px;
  color: var(--win-dark);
  padding: 10px 0;
  border-top: 1px solid var(--win-dark);
  margin-top: 8px;
}

.win98-footer .footer-note {
  margin-top: 4px;
  font-size: 11px;
  opacity: 0.7;
}

/* --- Status Bar --- */
.statusbar {
  background: var(--win-gray);
  border-top: 2px solid;
  border-color: var(--win-dark) var(--win-white) var(--win-white) var(--win-dark);
  padding: 3px 6px;
  font-size: 14px;
  display: flex;
  gap: 4px;
}

.statusbar-section {
  border: 1px solid;
  border-color: var(--win-dark) var(--win-white) var(--win-white) var(--win-dark);
  padding: 1px 6px;
  flex: 1;
}

.statusbar-zone {
  flex: 0;
  min-width: 120px;
}

/* --- Taskbar --- */
.taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--win-gray);
  border-top: 2px solid;
  border-color: var(--win-light) var(--win-black) var(--win-black) var(--win-light);
  box-shadow: inset 0 1px 0 var(--win-white);
  display: flex;
  align-items: center;
  padding: 2px 6px;
  z-index: 9999;
  gap: 4px;
}

.start-btn {
  background: var(--win-gray);
  border: 2px solid;
  border-color: var(--win-light) var(--win-black) var(--win-black) var(--win-light);
  box-shadow: inset 1px 1px 0 var(--win-white), inset -1px -1px 0 var(--win-dark);
  padding: 3px 8px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  font-family: inherit;
  color: var(--win-text);
}

.start-btn:active,
.start-btn.active {
  border-color: var(--win-black) var(--win-light) var(--win-light) var(--win-black);
  box-shadow: inset 1px 1px 0 var(--win-dark);
}

.win-logo { width: 20px; height: 20px; flex-shrink: 0; }

.taskbar-items {
  display: flex;
  gap: 2px;
  flex: 1;
  overflow: hidden;
}

.taskbar-item {
  background: var(--win-gray);
  border: 2px solid;
  border-color: var(--win-light) var(--win-black) var(--win-black) var(--win-light);
  box-shadow: inset 1px 1px 0 var(--win-white), inset -1px -1px 0 var(--win-dark);
  padding: 3px 10px;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  height: 30px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--win-text);
}

.taskbar-item span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.taskbar-item.active {
  border-color: var(--win-black) var(--win-light) var(--win-light) var(--win-black);
  box-shadow: inset 1px 1px 0 var(--win-dark);
  font-weight: bold;
}

.taskbar-clock {
  border: 1px solid;
  border-color: var(--win-dark) var(--win-white) var(--win-white) var(--win-dark);
  padding: 3px 10px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  flex-shrink: 0;
}

/* --- Start Menu --- */
.win98-start-menu {
  display: none;
  position: fixed;
  bottom: 40px;
  left: 0;
  width: 250px;
  background: var(--win-gray);
  border: 2px solid;
  border-color: var(--win-light) var(--win-black) var(--win-black) var(--win-light);
  box-shadow: inset 1px 1px 0 var(--win-white), inset -1px -1px 0 var(--win-dark);
  z-index: 10000;
  font-size: 15px;
}

.win98-start-menu.open { display: block; }

.win98-start-menu-banner {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 28px;
  background: linear-gradient(to top, #000080, #1084d0);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 6px;
}

.win98-start-menu-banner span {
  color: white;
  font-weight: bold;
  font-size: 16px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 2px;
}

.win98-start-menu-items {
  margin-left: 28px;
  padding: 4px 0;
}

.win98-start-menu-items hr {
  border: none;
  border-top: 1px solid var(--win-dark);
  border-bottom: 1px solid var(--win-light);
  margin: 2px 4px;
}

.win98-start-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  cursor: pointer;
  text-decoration: none;
  color: var(--win-text);
}

.win98-start-menu-item:visited { color: var(--win-text); }

.win98-start-menu-item:hover {
  background: var(--win-blue);
  color: white;
}

.win98-start-menu-item i {
  width: 22px;
  text-align: center;
  font-size: 17px;
}

/* --- Boot Screen --- */
.boot-screen {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #000080;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'VT323', 'Courier New', monospace;
  transition: opacity 0.5s;
}

.boot-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.boot-logo {
  font-size: 48px;
  margin-bottom: 20px;
  letter-spacing: 4px;
}

.boot-subtitle {
  font-size: 18px;
  margin-bottom: 40px;
  color: #c0c0c0;
}

.boot-progress {
  width: 300px;
  height: 20px;
  border: 2px solid;
  border-color: var(--win-dark) var(--win-white) var(--win-white) var(--win-dark);
  background: var(--win-gray);
  padding: 2px;
}

.boot-progress-fill {
  height: 100%;
  background: #000080;
  width: 0%;
  transition: width 0.1s;
}

.boot-text {
  margin-top: 16px;
  font-size: 14px;
  color: #c0c0c0;
}

/* --- Win98 Scrollbar --- */
::-webkit-scrollbar { width: 16px; height: 16px; }

::-webkit-scrollbar-track {
  background: url("data:image/svg+xml,%3Csvg width='2' height='2' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='0' width='1' height='1' fill='%23c0c0c0'/%3E%3Crect x='1' y='1' width='1' height='1' fill='%23c0c0c0'/%3E%3Crect x='0' y='1' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='1' y='0' width='1' height='1' fill='%23ffffff'/%3E%3C/svg%3E");
}

::-webkit-scrollbar-thumb {
  background: var(--win-gray);
  border: 2px solid;
  border-color: var(--win-light) var(--win-black) var(--win-black) var(--win-light);
  box-shadow: inset 1px 1px 0 var(--win-white), inset -1px -1px 0 var(--win-dark);
}

::-webkit-scrollbar-button {
  background: var(--win-gray);
  border: 2px solid;
  border-color: var(--win-light) var(--win-black) var(--win-black) var(--win-light);
  display: block;
  height: 16px;
  width: 16px;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 860px) {
  body {
    padding: 0;
    padding-bottom: 40px;
  }

  .main-window {
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0;
  }

  /* Force maximized on mobile — no windowed dragging */
  .main-window.maximized {
    height: calc(100vh - 40px);
  }

  .window {
    border: none;
    box-shadow: none;
  }

  .window-titlebar {
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .window-body {
    max-height: none;
  }

  .window-content {
    padding: 8px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 14px;
    padding-bottom: 40px;
  }

  .window-menubar { display: none; }

  .address-bar .win-btn { display: none; }
  .address-bar { font-size: 13px; padding: 3px 6px; }
  .address-field { font-size: 13px; }
  .address-label { font-size: 13px; }

  .marquee-container { font-size: 13px; padding: 4px 0; }

  .profile-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .profile-photo { width: 120px; height: 120px; }

  .profile-info h1 { font-size: 24px; }
  .profile-info p { font-size: 14px; }

  .social-links { justify-content: center; gap: 6px; }
  .social-btn { font-size: 12px !important; padding: 4px 10px; }

  .tab { font-size: 13px; padding: 5px 12px; }
  .tab.active { padding-bottom: 7px; }
  .tab-content { padding: 10px; }
  .tab-bar { padding-left: 2px; }

  h2 { font-size: 1.4em; }
  h3 { font-size: 1.1em; }
  h4 { font-size: 0.95em; }
  p { line-height: 1.4; }
  li { line-height: 1.4; }

  .taskbar { height: 36px; }
  .start-btn { padding: 3px 8px; font-size: 13px; height: 28px; }
  .start-btn .win-logo { width: 16px; height: 16px; }
  .taskbar-item { font-size: 12px; padding: 3px 8px; height: 28px; }
  .taskbar-clock { font-size: 12px; padding: 3px 8px; height: 28px; }
  .clock-speaker { display: none; }

  .main-window.maximized { height: calc(100vh - 36px); }

  .win98-start-menu { bottom: 36px; width: 220px; font-size: 13px; }
  .win98-start-menu-item { padding: 7px 12px; gap: 8px; }
  .win98-start-menu-item i { font-size: 15px; width: 20px; }

  .window-titlebar { height: 26px; padding: 2px 5px; }
  .titlebar-emoji { font-size: 16px; }
  .window-title { font-size: 12px; }
  .title-btn { width: 18px; height: 16px; font-size: 10px; }

  .statusbar { font-size: 12px; padding: 2px 6px; }

  .pixel-separator { margin: 6px 0; }

  .boot-logo { font-size: 32px; }
  .boot-subtitle { font-size: 14px; }
  .boot-progress { width: 240px; height: 16px; }
  .boot-text { font-size: 12px; }

  .win98-dialog { min-width: 280px; max-width: calc(100vw - 20px); }
  .win98-dialog-body { padding: 12px 14px; }
  .win98-dialog-text { font-size: 13px; }
  .win98-dialog-btn { font-size: 13px; padding: 4px 20px; }

  .win98-footer { font-size: 12px; }
  .footer-note { font-size: 11px; }

  .win-btn { font-size: 12px; padding: 3px 10px; }
}

@media (max-width: 400px) {
  body { font-size: 13px; }

  .profile-info h1 { font-size: 22px; }
  .profile-info p { font-size: 13px; }
  .profile-photo { width: 100px; height: 100px; }

  .social-btn { font-size: 11px !important; padding: 3px 8px; }

  .tab { font-size: 12px; padding: 4px 9px; }

  .window-content { padding: 6px; }
  .tab-content { padding: 8px; }

  .taskbar { height: 34px; }
  .start-btn { font-size: 12px; height: 26px; }
  .taskbar-item { font-size: 11px; height: 26px; }
  .taskbar-clock { font-size: 11px; height: 26px; }
  .main-window.maximized { height: calc(100vh - 34px); }
  .win98-start-menu { bottom: 34px; }
}
