/* --- styles/main.css --- */

/* Основные стили */
body {
  font-family: 'Tahoma', 'Arial', sans-serif;
  background: #008080 url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><rect width="16" height="16" fill="%23008080"/><path d="M0 0h16v16H0z" fill="%23000080" opacity="0.1"/></svg>');
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.window {
  background: #c0c0c0;
  border: 2px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.3);
  position: relative;
  width: 90%;
  max-width: 800px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  margin: 20px auto;
}
.title-bar {
  background: linear-gradient(to right, #0a246a, #0a246a 16px, #000080 16px, #000080);
  color: white;
  padding: 2px 4px;
  font-weight: bold;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  z-index: 1000;
  position: sticky;
  top: 0px;
}
.title-text {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 4px;
}
.title-icon {
  width: 16px;
  height: 16px;
  image-rendering: pixelated;
  cursor: pointer; /* Добавлено для ясности */
}
.title-buttons {
  display: flex;
  gap: 2px;
}

.title-button {
  width: 16px;
  color: rgb(116, 116, 116);
  height: 16px;
  background: #c0c0c0;
  border: 1px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
  font-size: 10px;
  text-align: center;
  line-height: 14px;
  cursor: pointer;
  z-index: 1000;
  position: sticky;
  top: 20px;
}
.tabs {
  display: flex;
  background: #c0c0c0;
  border-bottom: 2px solid;
  border-color: #808080 #ffffff #ffffff #808080;
  flex-shrink: 0;
  z-index: 1000;
  position: sticky;
  top: 20px;
}
.tab {
  color: #000000;
  padding: 4px 12px;
  border: 2px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
  background: #c0c0c0;
  margin: 0 -1px -2px 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  margin-left: 1px;
  text-decoration: none; /* Для ссылок-вкладок */

}
.tab.active {
  border-bottom: 2px solid #c0c0c0;
  background: #ffffff;
  margin-bottom: 0;

}
.tab.disabled {
  background-color: #e0e0e0;
  color: #6e6e6e;
  cursor: not-allowed;
  pointer-events: none;
}
.content {
  padding: 15px;
  flex-grow: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.content.hidden {
  display: none;
}
.window-frame {
  border: 2px solid;
  border-color: #808080 #ffffff #ffffff #808080;
  margin: 10px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  
}
h1 {
  font-family: 'Tahoma', 'Arial', sans-serif;
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 10px 0;
  color: #000080;
  
}
ol {
  font-family: 'Tahoma', 'Arial', sans-serif;
  font-size: 12px;
  margin: 0 0 15px 0;
  padding-left: 20px;
}
li {
  margin-bottom: 5px;
}
/* Стили для IP-адреса в главной секции */
.main-ip-section {
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}
.ip-box {
  background: #f7f7f7;
  border: 2px solid;
  border-color: #000000 #c0c0c0 #c0c0c0 #000000;
  padding: 8px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  margin: 0 auto;
  width: fit-content;
  cursor: pointer;
  user-select: all;
}
.ip-box:hover {
  background: #f0f0f0;
}
.ip-note {
  font-size: 11px;
  color: #666;
  margin-top: 10px;
  margin-bottom: 25px;
  text-align: match-parent;
}
/* Фиксированный подвал */
.status-bar {
  background: #000080;
  color: white;
  padding: 2px 4px;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  flex-shrink: 0;
  bottom: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 10;
}
.button {
  background: #c0c0c0;
  border: 2px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
  padding: 4px 8px;
  font-family: 'Tahoma', 'Arial', sans-serif;
  font-size: 12px;
  cursor: pointer;
}
.button:hover {
  background: #000080;
  color: white;
}
.button:active {
  border-color: #808080 #ffffff #ffffff #808080;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}
/* Стили для уведомления о копировании */
.copy-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #000080;
  color: white;
  padding: 10px 15px;
  border-radius: 4px;
  font-size: 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  display: none;
  z-index: 1000;
}
.marquee-container {
  background: #a0a0a0;
  border: 1px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
  overflow: hidden;
  position: relative;
  height: 55px;
  padding: 5px 0;
  margin-bottom: 20px; /* Отступ снизу от бегущей строки */
}
.marquee-container::before,
.marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 15px;
  height: 100%;
  z-index: 2;
}
.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, #a0a0a0, transparent);
}
.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, #a0a0a0, transparent);
}
.marquee {
  display: flex;
  width: fit-content;
  height: 100%;
}
.marquee-track {
  display: flex;
  will-change: transform;
}
.marquee-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 10px;
  min-width: 50px;
}
.marquee-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.marquee img {
  width: 36px;
  height: 36px;
  image-rendering: pixelated;
  border: 1px solid;
  border-color: #808080 #ffffff #ffffff #808080;
  background: #c0c0c0;
  cursor: pointer;
}
.marquee img:hover {
  background: #d0d0d0;
}
.marquee span {
  font-size: 9px;
  color: white;
  margin-top: 5px;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
  font-weight: bold;
}
/* Стили для списка инструкций */
.instructions-list {
  color: #333;
  margin: 10px 0;
}
.instructions-list li {
  margin-bottom: 5px;
  font-size: 14px;
  margin-left: 11px;
}
/* Стили для слова с подсказкой */
.tooltip-trigger {
  border-bottom: 1px dotted #000000;
  cursor: help;
  position: static;
}
/* Стили для всплывающей подсказки */
.tooltip {
  position: fixed;
  background-color: #ffffcc;
  border: 1px solid #cccccc;
  padding: 5px 8px;
  font-size: 11px;
  color: #000000;
  white-space: nowrap;
  z-index: 1000;
  display: none;
  box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
  border-radius: 3px;
}
/* Секция с логотипом и информацией о сезоне */
.season-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 10px;
  margin-bottom: 20px;
}
.season-logo {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border: 1px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
}
.season-logo-section {
  display: flex;
  flex-direction: column;
}
.season-text {
  font-size: 14px;
  color: #1d1d1d;
  margin-left: 10px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
/* Стиль для текста сезона */
.season-launch-text {
  font-family: Tahoma;
  margin-top: 48px;
  font-size: 16px;
  margin-bottom: 10px;
  color: #1d1d1d;
  font-weight: bold;
  text-align: center;
}
/* Стили для FAQ */
.faq-section {
  margin-top: auto; /* Отправляет FAQ вниз, если есть место */
}
.faq-title {
  margin-top: 40px; /* Отступ сверху для FAQ */
  font-size: 16px;
  color: #1d1d1d;
  margin-bottom: 20px;
  text-align: center;
}
.faq-item {
  margin-bottom: 15px;
}
.faq-question {
  font-size: 14px;
  color: #2c2c2c;
  font-weight: bold;
}
.faq-answer {
  font-size: 14px;
  color: #2c2c2c;
  margin-left: 20px; /* Отступ для ответа */
  margin-top: 5px;
}
.new-image {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border: 1px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
  margin-top: 10px; /* Отступ сверху для второй картинки */
}
/* --- Конец styles/main.css --- */