@charset "UTF-8";
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  /* Scale UI on large viewports; stay near 100% on small windows */
  font-size: clamp(100%, 0.9rem + 0.6vw, 150%);
}

body {
  background: #06081d;
  color: #e8eeff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: #00e5ff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin: 1.5rem 0 0.6rem;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.4rem;
}

h3 {
  font-size: 1.2rem;
}

p, ul, ol {
  margin-bottom: 1rem;
  color: rgba(232, 238, 255, 0.75);
}

ul, ol {
  padding-left: 1.5rem;
}
ul li::marker, ol li::marker {
  color: #00e676;
}

code {
  font-family: "Fira Code", monospace;
  font-size: 0.875em;
  background: #0f1630;
  color: #00e5ff;
  padding: 0.15em 0.4em;
  border-radius: 3px;
}

pre {
  background: #0f1630;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 1rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}
pre code {
  background: none;
  padding: 0;
  color: #e8eeff;
}

table {
  /* Scrollport capped to parent; content keeps intrinsic width */
  display: block;
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 1rem 0 1.25rem;
  font-family: "Fira Code", monospace;
  /* rem tracks html { font-size: clamp(...) } */
  font-size: 0.8rem;
  line-height: 1.4;
  -webkit-overflow-scrolling: touch;
}

th, td {
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.45rem 0.7rem;
  text-align: center;
  white-space: nowrap;
}

th {
  background: #0f1630;
  color: #fff;
  font-weight: 600;
}

td {
  color: rgba(232, 238, 255, 0.8);
  background: rgba(6, 8, 29, 0.45);
}

tr:nth-child(even) td {
  background: rgba(15, 22, 48, 0.55);
}

th:first-child,
td:first-child {
  text-align: left;
  font-weight: 600;
  color: #e8eeff;
}

.site-header {
  background: #0f1630;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0;
}
.site-header .site-logo {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}
.site-header .site-logo:hover {
  text-decoration: underline;
}
.site-header nav {
  display: flex;
  gap: 1.5rem;
}
.site-header nav a {
  color: #6677aa;
  font-size: 0.9rem;
}
.site-header nav a:hover, .site-header nav a.active {
  color: #00e5ff;
  text-decoration: none;
}

.header-wrapper,
.footer-wrapper {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 480px) {
  .header-wrapper,
  .footer-wrapper {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}

.site-content {
  flex: 1;
  max-width: 75rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  width: 100%;
}

.site-content.wiki-layout {
  max-width: none;
  margin: 0;
  padding: 2rem 2rem 2rem 0.75rem;
  display: grid;
  grid-template-columns: 12.5rem minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
@media (max-width: 480px) {
  .site-content.wiki-layout {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
  }
}

.wiki-sidebar {
  position: sticky;
  top: 1.5rem;
  padding: 1rem 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 480px) {
  .wiki-sidebar {
    position: static;
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 0 0;
    margin-top: 1.5rem;
    order: 2;
  }
}

.wiki-sidebar__section {
  margin-bottom: 1.5rem;
}
.wiki-sidebar__section:last-child {
  margin-bottom: 0;
}

.wiki-sidebar__category {
  display: block;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e8eeff;
  margin-bottom: 0.5rem;
}
.wiki-sidebar__category:hover {
  color: #00e5ff;
  text-decoration: none;
}
.wiki-sidebar__category.active {
  color: #00e5ff;
}

.wiki-sidebar__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wiki-sidebar__list li {
  margin: 0;
}
.wiki-sidebar__list a {
  display: block;
  padding: 0.3rem 0.6rem;
  margin-left: 0.25rem;
  border-left: 2px solid transparent;
  color: #6677aa;
  font-size: 0.9rem;
  line-height: 1.4;
}
.wiki-sidebar__list a:hover {
  color: #00e5ff;
  text-decoration: none;
  border-left-color: rgba(0, 229, 255, 0.4);
}
.wiki-sidebar__list a.active {
  color: #00e5ff;
  border-left-color: #00e5ff;
  background: rgba(0, 229, 255, 0.06);
}

.wiki-main {
  min-width: 0;
  max-width: 53.75rem;
}
@media (max-width: 480px) {
  .wiki-main {
    order: 1;
  }
}

.page-title {
  margin-top: 0;
  text-align: center;
}

.site-footer {
  background: #0f1630;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  margin-top: 1.5rem;
  font-size: 0.7rem;
  color: #6677aa;
}
.site-footer a {
  color: #6677aa;
}
.site-footer a:hover {
  color: #00e5ff;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin-bottom: 0;
  padding-left: 0;
}
.footer-links li {
  margin: 0;
}

.layout-home .site-content.wiki-layout {
  grid-template-columns: 1fr;
  padding: 2rem 1.5rem;
}
.layout-home .wiki-sidebar {
  display: none;
}
.layout-home .wiki-main {
  margin: 0 auto;
  width: 100%;
}

.home-categories {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.home-categories__heading {
  text-align: center;
  border-bottom: none;
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6677aa;
}

.home-categories__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.home-categories__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid #00e5ff;
  background: rgba(0, 229, 255, 0.04);
  color: #e8eeff;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.home-categories__link:hover {
  background: rgba(0, 229, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.35);
  border-left-color: #00e5ff;
  text-decoration: none;
  color: #fff;
}
.home-categories__link--disabled {
  opacity: 0.5;
  cursor: default;
}

.home-categories__title {
  font-weight: 600;
  font-size: 1.05rem;
}

.home-categories__count {
  font-size: 0.85rem;
  color: #6677aa;
  white-space: nowrap;
}

.text-cyan {
  color: #00e5ff;
}

.text-magenta {
  color: #ff2d78;
}

.text-amber {
  color: #ffb700;
}

.text-lime {
  color: #00e676;
}

.text-violet {
  color: #9d4edd;
}

.text-text {
  color: #e8eeff;
}

.text-muted {
  color: #6677aa;
}

.box-magenta {
  border: 1px solid #ff2d78;
  background: rgba(255, 45, 120, 0.12);
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1rem;
}
.box-magenta > :last-child {
  margin-bottom: 0;
}
.box-magenta {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}
.box-magenta::before {
  content: "⚠";
  flex-shrink: 0;
  color: #ff2d78;
  font-size: 1.1em;
  line-height: 1.5;
}

.box-amber {
  border: 1px solid #ffb700;
  background: rgba(255, 183, 0, 0.12);
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1rem;
}
.box-amber > :last-child {
  margin-bottom: 0;
}

.box-lime {
  border: 1px solid #00e676;
  background: rgba(0, 230, 118, 0.12);
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1rem;
}
.box-lime > :last-child {
  margin-bottom: 0;
}

.box-violet {
  border: 1px solid #9d4edd;
  background: rgba(157, 78, 221, 0.12);
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1rem;
}
.box-violet > :last-child {
  margin-bottom: 0;
}

.ultrastack {
  text-align: center;
  font-size: 3.5rem;
  margin: 2.5rem 0 1.5rem;
}

.wiki-figure {
  width: fit-content;
  max-width: 100%;
  margin: 1rem 0 1.25rem;
}
.wiki-figure__media {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: #0f1630;
}
.wiki-figure__caption {
  margin-top: 0.45rem;
  font-size: 0.9rem;
  color: #6677aa;
  text-align: center;
}

.mino-board-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem 1.25rem;
  margin: 1rem 0 1.25rem;
}
.mino-board-row .mino-board-wrap {
  margin: 0;
}

.mino-board-wrap {
  display: inline-block;
  margin: 1rem 0 1.25rem;
  max-width: 100%;
  vertical-align: top;
}
.mino-board-wrap__caption {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  line-height: 1.35;
  color: #6677aa;
  text-align: left;
}

.mino-board {
  --cols: 10;
  --mino-cell: 1.15rem;
  --mino-gap: 1px;
  --mino-pad: 1px;
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(var(--cols), var(--mino-cell));
  gap: var(--mino-gap);
  background: #12141f;
  padding: var(--mino-pad);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  line-height: 0;
}

.mino-dot {
  position: absolute;
  left: calc(var(--mino-pad) + var(--x) * (var(--mino-cell) + var(--mino-gap)));
  top: calc(var(--mino-pad) + var(--y) * (var(--mino-cell) + var(--mino-gap)));
  width: 0.35rem;
  height: 0.35rem;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.mino-cell {
  display: block;
  width: var(--mino-cell);
  aspect-ratio: 1;
  background: #0a0b12;
}
.mino-cell--empty {
  background: #0a0b12;
  box-shadow: none;
}
.mino-cell--i {
  background: #00b8d4;
  box-shadow: inset 0.18em 0.18em 0 0 #5cefff;
}
.mino-cell--I {
  background: #5cefff;
  box-shadow: inset 0.18em 0.18em 0 0 #b3f7ff;
}
.mino-cell--j {
  background: #2962ff;
  box-shadow: inset 0.18em 0.18em 0 0 #82b1ff;
}
.mino-cell--J {
  background: #82b1ff;
  box-shadow: inset 0.18em 0.18em 0 0 #c6d9ff;
}
.mino-cell--l {
  background: #ff9100;
  box-shadow: inset 0.18em 0.18em 0 0 #ffcc80;
}
.mino-cell--L {
  background: #ffcc80;
  box-shadow: inset 0.18em 0.18em 0 0 #ffe0b2;
}
.mino-cell--o {
  background: #fdd835;
  box-shadow: inset 0.18em 0.18em 0 0 #fff59d;
}
.mino-cell--O {
  background: #fff59d;
  box-shadow: inset 0.18em 0.18em 0 0 #fffde7;
}
.mino-cell--s {
  background: #00c853;
  box-shadow: inset 0.18em 0.18em 0 0 #69f0ae;
}
.mino-cell--S {
  background: #69f0ae;
  box-shadow: inset 0.18em 0.18em 0 0 #b9f6ca;
}
.mino-cell--t {
  background: #9d4edd;
  box-shadow: inset 0.18em 0.18em 0 0 #ce93d8;
}
.mino-cell--T {
  background: #ce93d8;
  box-shadow: inset 0.18em 0.18em 0 0 #f3e5f5;
}
.mino-cell--z {
  background: #ff1744;
  box-shadow: inset 0.18em 0.18em 0 0 #ff8a80;
}
.mino-cell--Z {
  background: #ff8a80;
  box-shadow: inset 0.18em 0.18em 0 0 #ffcdd2;
}
.mino-cell--g {
  background: #546e7a;
  box-shadow: inset 0.18em 0.18em 0 0 #90a4ae;
}
.mino-cell--G {
  background: #90a4ae;
  box-shadow: inset 0.18em 0.18em 0 0 #cfd8dc;
}
.mino-cell--i3 {
  background: #2e8c57;
  box-shadow: inset 0.18em 0.18em 0 0 #82d9a8;
}
.mino-cell--I3 {
  background: #82d9a8;
  box-shadow: inset 0.18em 0.18em 0 0 #c2f2d7;
}
.mino-cell--l3 {
  background: #e9a6ff;
  box-shadow: inset 0.18em 0.18em 0 0 #f4d1ff;
}
.mino-cell--L3 {
  background: #f4d1ff;
  box-shadow: inset 0.18em 0.18em 0 0 #faebff;
}
.mino-cell--x {
  background: rgba(255, 40, 40, 0.35);
  box-shadow: none;
}
.mino-cell--X {
  background: rgba(255, 230, 0, 0.35);
  box-shadow: none;
}

/*# sourceMappingURL=style.css.map */