/* ===== WINDOWS 95/98 СТИЛЬ ===== */

.win-window,
.menu-static,
.about-static {
  background: #c0c0c0;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #808080;
  border-bottom: 2px solid #808080;
  box-shadow: inset -1px -1px 0 #000, inset 1px 1px 0 #dfdfdf;
  font-family: Tahoma, 'MS Sans Serif', Arial, sans-serif;
  font-size: 13px;
  color: #000;
  user-select: none;
}

.menu-static {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 200px;
  z-index: 5;
}

.about-static {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 700px;
  min-height: 800px;
  z-index: 5;
}

.win-window {
  position: absolute;
  min-width: 200px;
  z-index: 10;
}

.win-titlebar {
  background: linear-gradient(90deg, #000080, #1084d0);
  color: #fff;
  padding: 3px 5px;
  font-weight: bold;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: move;
  height: 22px;
  box-sizing: border-box;
}

.win-title { display: flex; align-items: center; gap: 4px; }
.win-buttons { display: flex; gap: 2px; }

.win-btn {
  width: 18px;
  height: 16px;
  background: #c0c0c0;
  border-top: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  border-right: 1px solid #808080;
  border-bottom: 1px solid #808080;
  font-family: Tahoma, sans-serif;
  font-size: 10px;
  font-weight: bold;
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}

.win-btn:active {
  border-top: 1px solid #808080;
  border-left: 1px solid #808080;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
}

.win-body { padding: 10px; background: #c0c0c0; color: #000; }

.win-text {
  background: #fff;
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  padding: 20px 25px;
  font-family: 'MS Sans Serif', Tahoma, sans-serif;
  font-size: 15px;
  color: #000;
  line-height: 1.7;
  min-height: 700px;
  box-sizing: border-box;
}

.win-text h1 { font-size: 24px; margin-top: 0; color: #000080; }
.win-text ul { padding-left: 22px; }

.win-link {
  display: block;
  color: #000;
  text-decoration: none;
  padding: 6px 8px;
  font-family: Tahoma, 'MS Sans Serif', sans-serif;
  font-size: 13px;
  border: 1px solid transparent;
}

.win-link:hover { background: #000080; color: #fff; }

/* ===== КОТ И СОБАКА ===== */
.cat-link { display: block; text-align: center; text-decoration: none; line-height: 0; font-size: 0; transition: transform 0.25s ease; }
.cat-photo { display: block; width: 100%; height: auto; background: transparent; border: none; padding: 0; margin: 0; transition: transform 0.25s ease, filter 0.25s ease; }
.cat-link:hover { transform: rotate(-3deg); }
.cat-link:hover .cat-photo { transform: scale(1.12); filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.5)); }
#dog-win .cat-photo { width: 180px !important; height: auto; margin: 0 auto; }
#cat-win .win-body, #dog-win .win-body { padding: 10px 10px 0 10px; }

/* ===== PAINT ===== */
.paint-menu-bar {
  display: flex;
  background: #c0c0c0;
  border-bottom: 1px solid #808080;
  font-family: 'MS Sans Serif', Tahoma, sans-serif;
  font-size: 12px;
  color: #000;
  position: relative;
  z-index: 50;
  width: fit-content;
}

.paint-menu-item { position: relative; cursor: pointer; }
.paint-menu-item > span { display: block; padding: 4px 10px; user-select: none; }
.paint-menu-item:hover > span { background: #000080; color: #fff; }

.paint-menu-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #c0c0c0;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #808080;
  border-bottom: 2px solid #808080;
  box-shadow: 2px 2px 0 #000;
  z-index: 100;
}

.paint-menu-item:hover .paint-menu-dropdown { display: block; }

.paint-menu-row { padding: 5px 20px 5px 25px; user-select: none; font-size: 12px; cursor: pointer; }
.paint-menu-row:hover { background: #000080; color: #fff; }

.paint-menu-separator {
  height: 1px;
  background: #808080;
  margin: 3px 5px;
  border-bottom: 1px solid #ffffff;
}

.paint-main {
  display: flex;
  background: #c0c0c0;
  padding: 6px;
  gap: 6px;
  align-items: flex-start;
  width: fit-content;
}

.paint-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 2px;
  background: #c0c0c0;
  border-top: 1px solid #808080;
  border-left: 1px solid #808080;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  height: fit-content;
}

.paint-tool-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  background: #c0c0c0;
  border-top: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  border-right: 1px solid #808080;
  border-bottom: 1px solid #808080;
  user-select: none;
  color: #000;
}

.paint-tool-icon:hover { background: #d0d0d0; }
.paint-tool-icon.active {
  border-top: 1px solid #808080;
  border-left: 1px solid #808080;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  background: #a8a8a8;
}

.paint-canvas-wrap {
  background: #808080;
  padding: 6px;
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  display: inline-block;
}

#paintCanvas {
  display: block;
  width: 560px;
  height: 380px;
  background: #fff;
  border: 1px solid #000;
  cursor: crosshair;
  transition: transform 0.15s;
}

.paint-palette {
  padding: 8px;
  background: #c0c0c0;
  border-top: 1px solid #ffffff;
  width: fit-content;
  min-width: 560px;
}

.palette-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin-bottom: 8px;
  padding: 3px;
  background: #c0c0c0;
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
}

.palette-swatch {
  width: 18px;
  height: 18px;
  border-top: 1px solid #808080;
  border-left: 1px solid #808080;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  cursor: pointer;
}

.palette-swatch.active {
  border-top: 2px solid #000;
  border-left: 2px solid #000;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.paint-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'MS Sans Serif', Tahoma, sans-serif;
  font-size: 12px;
  color: #000;
}

.paint-actions input[type="range"] { width: 120px; }

.paint-dialog {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.paint-input {
  display: block;
  width: 100%;
  padding: 5px;
  margin-bottom: 10px;
  font-family: Tahoma, sans-serif;
  font-size: 13px;
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  background: #fff;
  box-sizing: border-box;
}

.paint-dialog-buttons {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 15px;
}

/* ===== АРТ-СТРАНИЦА — стиль Daniele63 (Win95) ===== */

body.about-page {
  margin: 0;
  padding: 30px 15px;
  height: 100vh;                 /* ← фиксированная высота на весь экран */
  box-sizing: border-box;
  overflow: hidden;              /* ← убираем прокрутку ВСЕЙ страницы */

  background-color: #c0c0c0;
  background-image: url('img/about-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;

  font-family: 'MS Sans Serif', Tahoma, sans-serif;
  color: #000;
}

/* ===== ОБЩАЯ ОБЁРТКА ===== */
#websiteContainer {
  width: 1100px;
  margin: 0 auto;
  padding: 15px;

  display: grid;
  grid-template-columns: 180px 1fr 220px;
  grid-template-areas:
    "header header header"
    "left main right";
  gap: 12px;

  background: #c0c0c0;
  border-top: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  border-right: 3px solid #808080;
  border-bottom: 3px solid #808080;
  box-shadow: inset -1px -1px 0 #000, inset 1px 1px 0 #dfdfdf;
  box-sizing: border-box;
}

/* ===== HEADER ===== */
#header {
  grid-area: header;
  text-align: center;
  padding: 8px;
  background: linear-gradient(90deg, #000080, #1084d0);
  color: #fff;
  border-radius: 4px;
  margin-bottom: 4px;
}

#header h1 {
  color: #fff;
  font-family: 'MS Sans Serif', Tahoma, sans-serif;
  font-size: 20px;
  margin: 0;
  font-weight: bold;
}

/* ===== LEFT ASIDE ===== */
#leftSiteContent {
  grid-area: left;
  background: #c0c0c0;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #808080;
  border-bottom: 2px solid #808080;
  padding: 8px;
  height: fit-content;
}

#leftNav { display: flex; flex-direction: column; gap: 12px; }

.nav-categories {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nav-categories > span {
  display: block;
  color: #fff;
  background: linear-gradient(90deg, #000080, #1084d0);
  padding: 3px 6px;
  font-size: 11px;
  font-weight: bold;
  text-align: center;
  border-radius: 3px;
  margin-bottom: 2px;
}

.nav-items { display: flex; align-items: center; gap: 4px; }

.nav-links,
.nav-links-active {
  display: block;
  color: #000;
  background: #c0c0c0;
  text-decoration: none;
  padding: 5px 8px;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #808080;
  border-bottom: 2px solid #808080;
  font-size: 12px;
  font-weight: bold;
  border-radius: 3px;
  flex: 1;
}

.nav-links:hover { background: #000080; color: #fff; }
.nav-links-active { background: #000080; color: #fff; }

.nav-categories hr {
  border: none;
  border-top: 1px dashed #808080;
  margin: 0;
}

/* ===== RIGHT ASIDE — фигурка ===== */
#rightSiteContent {
  grid-area: right;
  height: fit-content;
}

.aside-ads-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

.aside-ads-container > span {
  display: block;
  color: #fff;
  background: linear-gradient(90deg, #000080, #1084d0);
  padding: 3px 8px;
  font-size: 11px;
  font-weight: bold;
  border-radius: 3px;
  width: 100%;
  box-sizing: border-box;
}

/* Фигурка — слева в правом блоке, крупнее, прижата к окну Paint */
.sidebar-character {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 180px;
  height: auto;
  z-index: 100;
  pointer-events: none;
  filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.5));
}

/* ===== MAIN ===== */
#middleContent {
  grid-area: main;
  min-width: 0;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 100px);   /* ← ограничиваем высоту контента */
}

#paintSection {
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: 100%;
  min-height: 0;
}

/* PAINT WINDOW */
.paint-container {
  background: #c0c0c0;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #808080;
  border-bottom: 2px solid #808080;
  padding: 8px;
}

.paint-heading {
  background: linear-gradient(90deg, #000080, #1084d0);
  color: #fff;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: bold;
  border-radius: 4px 4px 0 0;
  margin: -8px -8px 8px -8px;
  text-align: center;
}

.paint-heading h1 {
  margin: 0;
  font-size: 13px;
  font-family: 'MS Sans Serif', Tahoma, sans-serif;
}

.paint-iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 1px solid #808080;
  background: #fff;
}

/* SUBMIT */
.paint-gallery-submit-container {
  background: #c0c0c0;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #808080;
  border-bottom: 2px solid #808080;
  padding: 15px;
  text-align: center;
}

.paint-gallery-submit-container h2 {
  color: #000080;
  font-size: 18px;
  margin: 0 0 6px 0;
  font-family: 'MS Sans Serif', Tahoma, sans-serif;
}

.paint-gallery-submit-container p {
  color: #000;
  font-size: 12px;
  margin: 0;
}

/* GALLERY */
.gallery-container {
  background: #c0c0c0;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #808080;
  border-bottom: 2px solid #808080;
  padding: 15px;

  flex: 1;                       /* ← растягивается на всё свободное место */
  min-height: 0;                 /* ← важно для flex-скролла */
  overflow-y: auto;              /* ← прокрутка только внутри галереи */
  max-height: 500px;             /* ← ограничиваем высоту галереи */
}

.gallery-container h2 {
  color: #000080;
  font-size: 20px;
  margin: 0 0 15px 0;
  text-align: center;
  font-family: 'MS Sans Serif', Tahoma, sans-serif;
  text-shadow: 1px 1px 0 #ffffff;
}

.gallery-images-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  min-height: 600px;           /* ← минимум 600px вниз */
}

/* КАРТОЧКА РИСУНКА */
.text-containers-secondary-bg {
  background: #c0c0c0;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #808080;
  border-bottom: 2px solid #808080;
  padding: 4px;
  text-align: center;
}

.text-containers-secondary-bg h3 {
  color: #fff;
  background: linear-gradient(90deg, #000080, #1084d0);
  font-size: 12px;
  margin: 0 0 4px 0;
  padding: 3px 5px;
  text-align: center;
  font-weight: bold;
  font-family: 'MS Sans Serif', Tahoma, sans-serif;
}

.text-containers-secondary-bg a {
  display: block;
  text-decoration: none;
}

.text-containers-secondary-bg img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.text-containers-secondary-bg h4 {
  color: #000;
  font-size: 11px;
  font-weight: normal;
  margin: 5px 0 2px 0;
  text-align: center;
  font-family: 'MS Sans Serif', Tahoma, sans-serif;
}

.text-containers-secondary-bg h4 a {
  color: #000080;
  text-decoration: underline;
  display: inline;
}

.text-containers-secondary-bg h4 a:hover {
  color: #d04070;
}

/* THANKS */
.thanks-div {
  text-align: center;
  padding: 12px;
  color: #000;
  font-size: 12px;
}

.thanks-div p { margin: 0; }

/* ===== WORD 2007 — окно "обо мне" ===== */

/* Общая обёртка окна */
.about-static {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 700px;
  min-height: 500px;
  z-index: 5;
}

/* Синее окно Word */
.word-window {
  background: #4a7ebb;
  border: 2px solid #1a3d69;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  width: 100%;
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* ЗАГОЛОВОК окна */
.word-titlebar {
  background: linear-gradient(180deg, #4a7ebb, #2a5d99);
  color: #fff;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.word-controls {
  letter-spacing: 5px;
  font-size: 14px;
  font-weight: normal;
}

/* СИНЯЯ ЛЕНТА */
.word-ribbon {
  background: #d8e8f8;
  border-bottom: 2px solid #4a7ebb;
}

/* Вкладки на синем фоне */
.word-tabs {
  display: flex;
  background: linear-gradient(180deg, #4a7ebb, #2a5d99);
  padding: 0 10px;
  gap: 0;
}

.word-tab {
  display: inline-block;
  padding: 6px 12px;
  color: #fff;
  font-size: 12px;
  cursor: default;
  border-radius: 4px 4px 0 0;
  margin-right: 2px;
  opacity: 0.85;
}

.word-tab-active {
  background: #d8e8f8;
  color: #1a3d69;
  font-weight: bold;
  opacity: 1;
  border-bottom: 2px solid #d8e8f8;
  margin-bottom: -2px;
}

/* Панель с кнопками */
.word-tools {
  display: flex;
  gap: 4px;
  padding: 8px 12px;
  align-items: center;
  background: #d8e8f8;
}

.word-btn {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  background: #fff;
  border: 1px solid #7aa8cc;
  border-radius: 4px;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  font-size: 14px;
  color: #1a3d69;
  cursor: pointer;
}

.word-btn:hover {
  background: #e8f0fa;
  border-color: #4a7ebb;
}

.word-btn-sep {
  margin-left: 10px;
  padding-left: 12px;
  border-left: 1px solid #7aa8cc;
}

/* ОБЛАСТЬ С БЕЛЫМ ЛИСТОМ */
.word-page-area {
  background: #7a7a7a;
  padding: 25px 20px;
  display: flex;
  justify-content: center;
  max-height: 800px;
  overflow-y: auto;
}

/* БЕЛЫЙ ЛИСТ A4 */
.word-page {
  background: #fff;
  width: 100%;
  max-width: 550px;
  min-height: 1400px;
  padding: 50px 60px;
  font-family: 'Times New Roman', 'Calibri', serif;
  font-size: 15px;
  color: #000;
  line-height: 1.6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
  text-align: left;
  text-align: center;
}

.word-page h1 {
  font-size: 22px;
  color: #000;
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: bold;
}

.word-page p {
  font-size: 15px;
  color: #000;
  margin: 0 0 12px 0;
}

.word-page b {
  color: #000;
  font-weight: bold;
}

.word-page ul {
  padding-left: 25px;
  margin: 0 0 12px 0;
}

.word-page li {
  color: #000;
  font-size: 15px;
  margin-bottom: 4px;
}

/* Выделение текста как маркером в Word */
.word-page mark {
  background: #FFA500;           /* ← оранжевый маркер */
  color: #000;                   /* чёрный текст поверх */
  padding: 1px 3px;              /* чуть воздуха по бокам */
  border-radius: 2px;
}

/* ===== ГАЛЕРЕЯ ===== */

.gallery-intro {
  background: #c0c0c0;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #808080;
  border-bottom: 2px solid #808080;
  padding: 15px;
  text-align: center;
  font-family: 'MS Sans Serif', Tahoma, sans-serif;
  font-size: 13px;
  color: #000;
}

.gallery-intro p { margin: 0; }

/* Год — раскрывающийся блок */
.gallery-year {
  margin-bottom: 15px;
}

.gallery-year summary {
  background: linear-gradient(90deg, #000080, #1084d0);
  color: #fff;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 4px;
  list-style: none;
  font-family: 'MS Sans Serif', Tahoma, sans-serif;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #808080;
  border-bottom: 2px solid #808080;
}

.gallery-year summary::-webkit-details-marker { display: none; }
.gallery-year summary::before { content: '▶ '; font-size: 12px; }
.gallery-year[open] summary::before { content: '▼ '; }

.gallery-year summary h2 {
  display: inline;
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-family: 'MS Sans Serif', Tahoma, sans-serif;
}

/* Сетка карточек */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  padding: 12px;
  background: #c0c0c0;
  border-left: 2px solid #808080;
  border-right: 2px solid #808080;
  border-bottom: 2px solid #808080;
}

/* Карточка */
.gallery-card {
  background: #fff;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #808080;
  border-bottom: 2px solid #808080;
  padding: 6px;
  text-align: center;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #f5f5f5;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gallery-card img:hover {
  transform: scale(1.03);
}

.gallery-card-info {
  margin-top: 6px;
  padding: 4px;
}

.gallery-card-info h4 {
  font-family: 'MS Sans Serif', Tahoma, sans-serif;
  font-size: 12px;
  color: #000080;
  margin: 0 0 4px 0;
  font-weight: bold;
}

.gallery-card-info p {
  font-family: 'MS Sans Serif', Tahoma, sans-serif;
  font-size: 11px;
  color: #555;
  margin: 0;
  line-height: 1.4;
}

/* ===== ОКНО ПРОСМОТРА ФОТО ===== */
.photo-viewer {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.photo-viewer-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: #c0c0c0;
  border-top: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  border-right: 3px solid #808080;
  border-bottom: 3px solid #808080;
  padding: 8px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.photo-viewer-img {
  display: block;
  max-width: 80vw;
  max-height: 65vh;
  object-fit: contain;
  background: #fff;
  border: 1px solid #808080;
}

.photo-viewer-caption {
  background: #c0c0c0;
  padding: 10px;
  margin-top: 6px;
  max-width: 80vw;
  text-align: center;
}

.photo-viewer-caption h3 {
  margin: 0 0 4px 0;
  font-family: 'MS Sans Serif', Tahoma, sans-serif;
  font-size: 15px;
  color: #000080;
}

.photo-viewer-caption p {
  margin: 0;
  font-family: 'MS Sans Serif', Tahoma, sans-serif;
  font-size: 12px;
  color: #333;
  line-height: 1.4;
}

.photo-viewer-close {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 26px;
  height: 26px;
  background: #c0c0c0;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #808080;
  border-bottom: 2px solid #808080;
  font-family: Tahoma, sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #000;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.photo-viewer-close:active {
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
}

.photo-viewer-close:hover {
  background: #d04070;
  color: #fff;
}

/* ===== ОКНО "ИНФА ОБО МНЕ" ===== */
#info-win .win-body {
  padding: 10px;
  background: #c0c0c0;              /* фон окна — серый, как у Win95 */
}

.info-block {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: transparent;          /* БЕЗ отдельного блока */
  border: none;                     /* БЕЗ рамки */
  padding: 0;
}

.info-photo {
  flex: 0 0 120px;
  width: 120px;
  height: auto;
  border: 2px solid #000;           /* рамка чёрная */
  border-radius: 6px;
  display: block;
}

.info-text {
  flex: 1;
  min-width: 0;
  font-family: 'MS Sans Serif', Tahoma, sans-serif;
  font-size: 12px;
  color: #000;                      /* ← ЧЁРНЫЙ текст */
  line-height: 1.5;
  background: transparent;          /* БЕЗ фона */
}

.info-text h3 {
  margin: 0 0 6px 0;
  font-size: 14px;
  color: #000080;                   /* синий заголовок */
  font-weight: bold;
}

.info-text p {
  margin: 0 0 4px 0;
  font-size: 12px;
  color: #000;                      /* ← ЧЁРНЫЙ текст абзацев */
}

.info-text b {
  color: #000080;                   /* ← синие подписи (др: люблю: и т.д.) */
  font-weight: bold;
}