/* wa-theme.css — тема, сгенерированная для восстановленного сайта (deepseek/deepseek-v4-pro, попытка 1). */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #0f0f0f;
  color: #e0e0e0;
  line-height: 1.6;
}

img,
video,
canvas,
svg {
  max-width: 100%;
  height: auto;
}

table {
  max-width: 100%;
  border-collapse: collapse;
}

a {
  color: #c0392b;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #e74c3c;
  text-decoration: underline;
}

#wixDesktopViewport {
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px;
}

#wixDesktopViewport > :first-child {
  text-align: center;
  padding: 40px 20px;
  min-height: 200px;
  background: linear-gradient(180deg, #2c0a0a 0%, #111 100%);
  border-bottom: 4px solid #a10f0f;
  margin-bottom: 30px;
}

#wixDesktopViewport > :first-child h1,
#wixDesktopViewport > :first-child .heading,
#wixDesktopViewport > :first-child [role="heading"] {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: #d32f2f;
  text-shadow: 0 0 4px rgba(255, 0, 0, 0.5);
  margin: 0 0 5px;
  line-height: 1.2;
}

#wixDesktopViewport > :first-child p,
#wixDesktopViewport > :first-child h2 {
  font-size: clamp(1rem, 2.5vw, 1.8rem);
  color: #ccc;
  margin: 0 0 10px;
}

#wixDesktopViewport > :first-child ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

#wixDesktopViewport > :first-child ul li {
  color: #ffd700;
  font-size: 2em;
}

body > ul,
#wixDesktopViewport > ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  background: #222;
  display: flex;
  flex-wrap: wrap;
}

body > ul > li,
#wixDesktopViewport > ul > li {
  position: relative;
}

body > ul > li > a,
#wixDesktopViewport > ul > li > a,
body > ul > li > span,
#wixDesktopViewport > ul > li > span {
  display: block;
  padding: 12px 20px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
  white-space: nowrap;
}

body > ul > li > a:hover,
#wixDesktopViewport > ul > li > a:hover,
body > ul > li > span:hover,
#wixDesktopViewport > ul > li > span:hover {
  background: #c0392b;
  color: #fff;
}

body > ul ul,
#wixDesktopViewport > ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #333;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 200px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

body > ul ul li,
#wixDesktopViewport > ul ul li {
  width: 100%;
}

body > ul ul a,
#wixDesktopViewport > ul ul a {
  display: block;
  padding: 10px 20px;
  color: #ddd;
  text-decoration: none;
  white-space: nowrap;
}

body > ul ul a:hover,
#wixDesktopViewport > ul ul a:hover {
  background: #c0392b;
  color: #fff;
}

body > ul li:hover > ul,
#wixDesktopViewport > ul li:hover > ul,
body > ul li:focus-within > ul,
#wixDesktopViewport > ul li:focus-within > ul {
  display: block;
}

ul:not(body > ul):not(#wixDesktopViewport > ul):not(#wixDesktopViewport > :first-child ul) {
  list-style: none;
  padding-left: 0;
}

ul:not(body > ul):not(#wixDesktopViewport > ul):not(#wixDesktopViewport > :first-child ul) li {
  margin-bottom: 0.5em;
  padding-left: 1.5em;
  position: relative;
}

ul:not(body > ul):not(#wixDesktopViewport > ul):not(#wixDesktopViewport > :first-child ul) li::before {
  content: "★ ";
  color: #ffd700;
  position: absolute;
  left: 0;
  top: 0;
}

#registry-components-manifests,
#wix-fedops {
  display: block;
  background: #1a1a1a;
  color: #a0a0a0;
  font-family: 'Courier New', Courier, monospace;
  white-space: pre-wrap;
  word-break: break-all;
  overflow-wrap: break-word;
  max-height: 400px;
  overflow: auto;
  border: 1px solid #333;
  border-radius: 5px;
  padding: 15px;
  margin: 20px 0;
  max-width: 100%;
}

table {
  width: 100%;
  margin-bottom: 20px;
  border: 1px solid #444;
}

th,
td {
  padding: 10px;
  border: 1px solid #555;
  text-align: left;
}

th {
  background: #2c2c2c;
  color: #fff;
}

tr:nth-child(even) {
  background: #1e1e1e;
}

form {
  background: #1e1e1e;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

input,
select,
textarea {
  width: 100%;
  padding: 10px;
  margin: 5px 0 15px;
  border: 1px solid #555;
  border-radius: 4px;
  background: #2a2a2a;
  color: #eee;
  font-family: inherit;
  box-sizing: border-box;
}

input[type="submit"],
button {
  background: #c0392b;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
  transition: background 0.2s;
}

input[type="submit"]:hover,
button:hover {
  background: #e74c3c;
}

body > footer,
#wixDesktopViewport > footer,
body > *:last-child {
  text-align: center;
  padding: 30px 20px;
  background: #1a1a1a;
  color: #888;
  margin-top: 40px;
  border-top: 1px solid #333;
  font-size: 0.9em;
}

div,
section,
article,
main,
header,
footer,
nav,
aside,
figure,
p,
blockquote,
ul,
ol,
dl,
table,
pre,
code {
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

@media (max-width: 768px) {
  #wixDesktopViewport {
    padding: 10px;
  }

  #wixDesktopViewport > :first-child h1,
  #wixDesktopViewport > :first-child [role="heading"] {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  #wixDesktopViewport > :first-child p,
  #wixDesktopViewport > :first-child h2 {
    font-size: clamp(1rem, 3vw, 1.5rem);
  }

  body > ul,
  #wixDesktopViewport > ul {
    flex-direction: column;
  }

  body > ul > li > a,
  #wixDesktopViewport > ul > li > a {
    border-bottom: 1px solid #333;
  }

  body > ul ul,
  #wixDesktopViewport > ul ul {
    display: block;
    position: static;
    background: #2a2a2a;
    box-shadow: none;
  }

  body > ul ul li,
  #wixDesktopViewport > ul ul li {
    border-bottom: 1px solid #444;
  }

  body > ul ul a,
  #wixDesktopViewport > ul ul a {
    padding-left: 30px;
  }

  body > ul li:hover > ul,
  #wixDesktopViewport > ul li:hover > ul {
    display: block;
  }
}