:root {--bg: #0b1213; --surface: #131f20; --surface2: #1d3030; --text: #effaf4; --text2: #d4e4dd; --muted: #b8cfc5; --line: #304a44; --line-dark: #557c6c; --blue: #71d7bd; --red: #ef8690; --yellow: #f1d36d; --omnitrix: #34d399; --omnitrix-hover: #6ee7b7; --omnitrix-glow: rgba(52, 211, 153, .16); --accent: #34d399; --footer-bg: #101b1b; --radius: 3px; --head: "Chakra Petch", Arial, sans-serif; --body: "IBM Plex Sans", Arial, sans-serif; color-scheme: dark;}

body.light {--bg: #eff5f2; --surface: #ffffff; --surface2: #e3eee9; --text: #18302a; --text2: #334f45; --muted: #486258; --line: #c3d8ce; --line-dark: #7b9c8c; --blue: #087e59; --red: #b54454; --yellow: #b48b21; --omnitrix: #10b981; --omnitrix-hover: #059669; --omnitrix-glow: rgba(16, 185, 129, .13); --accent: #087e59; --footer-bg: #e0ede6; color-scheme: light;}

* {box-sizing: border-box;}

html {scroll-behavior: smooth;}

html, body {margin: 0; padding: 0;}

body {background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; font-weight: 400; line-height: 1.65; background-image: linear-gradient(rgba(52, 211, 153, .016) 1px, transparent 1px); background-size: 100% 4px;}

#main-content {flex: 1; min-width: 0;}

a {color: inherit; text-decoration: none;}

img {display: block; max-width: 100%;}

button, input, select, textarea {font: inherit;}

button, a, input {-webkit-tap-highlight-color: transparent;}

button {color: inherit;}

:focus-visible {outline: 2px solid var(--accent); outline-offset: 3px;}

.container {width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px;}

.skip-link {position: fixed; top: 8px; left: 16px; z-index: 100; padding: 10px 16px; background: var(--surface); color: var(--accent); transform: translateY(-150%);}

.skip-link:focus {transform: none;}

.site-header {position: relative; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line);}

.header-inner {display: flex; align-items: center; min-height: 58px; gap: 18px;}

.brand {display: inline-flex; align-items: center; flex-shrink: 0; gap: 9px; white-space: nowrap;}

.logo-img {width: 38px; height: 38px; flex-shrink: 0;}

.logo-text {font: 700 24px/1 var(--head); letter-spacing: -0.5px;}

.logo-text span {color: var(--accent);}

.logo-text small {display: block; margin-top: 5px; color: var(--text2); font-size: 11px; letter-spacing: 3px; text-transform: uppercase;}

.nav {display: flex; align-self: stretch; flex-shrink: 0;}

.nav a {display: flex; align-items: center; padding: 0 11px; border-bottom: 3px solid transparent; color: var(--text2); font: 700 15px/1 var(--head);}

.nav a:hover, .nav a.selected {color: var(--accent); background: var(--surface2); border-bottom-color: var(--accent);}

.btn-icon-toggle, .menu-toggle {display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; padding: 0; border: none; border-radius: var(--radius); background: transparent; cursor: pointer;}

.btn-icon-toggle:hover, .menu-toggle:hover {color: var(--accent); background: var(--surface2);}

.btn-icon-toggle svg {width: 20px; height: 20px;}

.menu-toggle {display: none;}

.main-nav-mobile {display: none; padding: 8px 0 12px; border-top: 1px solid var(--line);}

.main-nav-mobile a {padding: 11px 12px; color: var(--text2); font: 700 16px/1.2 var(--head); border-radius: var(--radius);}

.main-nav-mobile a:hover, .main-nav-mobile a.selected {color: var(--accent); background: var(--surface2);}

.site-footer {margin-top: 32px; padding: 24px 0; border-top: 1px solid var(--line); background: var(--footer-bg); color: var(--text2); text-align: center; font-size: 15px;}

.footer-links {display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: 12px;}

.footer-links a:hover {color: var(--accent); text-decoration: underline; text-underline-offset: 3px;}

.footer-copyright {margin-bottom: 7px;}

.site-footer .disclaimer {max-width: 720px; margin: 0 auto; color: var(--muted); font-size: 12px; line-height: 1.65;opacity: 0.6;}

@media (max-width: 600px) {
  .site-footer {margin-top: 24px; padding: 20px 0;}

  .footer-links {gap: 8px 16px;}
}

.breadcrumb {display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 20px; color: var(--muted); font-size: 15px; line-height: 1.5;}

.breadcrumb a {color: var(--text2);}

.breadcrumb a:hover {color: var(--accent); text-decoration: underline; text-underline-offset: 3px;}

.breadcrumb > span:last-child {color: var(--text);}

@media (max-width: 920px) {
  .header-inner {gap: 10px;}

  .nav {display: none;}

  .menu-toggle {display: inline-flex;}

  .main-nav-mobile.active {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px;}
}

@media (max-width: 768px) {
  .footer-main {grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px;}

  .footer-about {grid-column: 1 / -1;}

  .footer-column p {max-width: 540px;}

  .footer-bottom {flex-direction: column; gap: 8px;}

  .footer-bottom .disclaimer {max-width: none; text-align: left;}
}

@media (max-width: 600px) {
  .container {padding: 0 12px;}

  .header-inner {flex-wrap: wrap; gap: 8px; padding-top: 10px; padding-bottom: 10px;}

  .brand {margin-right: auto;}

  .logo-text {font-size: 23px;}

  .breadcrumb {margin-bottom: 16px;}

  .site-footer {margin-top: 24px; padding-top: 24px;}
}

@media (prefers-reduced-motion: reduce) {
  html {scroll-behavior: auto;}
}

.logo-img {width: 38px; height: 38px; flex-shrink: 0; object-fit: contain;}

.nav a, .main-nav-mobile a {transition: color .16s ease, border-color .16s ease, background-color .16s ease;}

body.light .site-header {border-bottom-color: var(--line);}

body.dark .site-header {border-bottom-color: #315249;}

@media (prefers-reduced-motion: reduce) {
  .nav a, .main-nav-mobile a {transition: none;}
}

.theme {--theme-bg: var(--surface); --theme-ink: var(--text); position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; border: 2px solid var(--theme-ink); border-radius: 50%; background: var(--theme-bg); color: var(--theme-ink); box-shadow: 3px 3px 0 var(--theme-ink); transition: transform .15s ease, box-shadow .15s ease; cursor: pointer;}

.theme-input {position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer;}

.theme-icon {position: absolute; width: 23px; height: 23px; pointer-events: none;}

.theme-sun {display: none;}

.theme-input:checked ~ .theme-sun {display: block;}

.theme-input:checked ~ .theme-moon {display: none;}

.theme-input:focus-visible {outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 50%;}

.theme:active {transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--theme-ink);}

@media (prefers-reduced-motion: reduce) {
  .theme {transition: none;}
}

:root {--ui-ink: #d9f1e4; --ui-shadow: #07100e; --ui-strong-border: #85aa99;}

body.light {--ui-ink: #1d332b; --ui-shadow: #708e80; --ui-strong-border: #456658;}

.site-header {border-bottom: 2px solid var(--ui-strong-border);}

.header-inner {min-height: 68px; gap: 16px;}

.brand {gap: 10px; padding: 5px 0;}

.brand .logo-img {width: 43px; height: 43px;}

.logo-text {display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 5px; font: 700 23px/1.12 var(--head); letter-spacing: -.045em; color: #f3fff6; -webkit-text-stroke: .45px #091c14; text-shadow: 1px 1px 0 #091c14, 2px 2px 0 #091c14, 3px 3px 0 #166534;}

.logo-text > span {color: #91ef53; letter-spacing: -.055em; -webkit-text-stroke: .55px #091c14; text-shadow: 1px 1px 0 #091c14, 2px 2px 0 #091c14, 3px 3px 0 #26843d;}

.logo-text small {width: 100%; margin: 6px 0 0 2px; font: 700 11px/1.15 var(--head); letter-spacing: .24em; text-transform: uppercase; color: #d9f1e4; -webkit-text-stroke: 0; text-shadow: 1px 1px 0 #091c14;}

body.light .logo-text {color: #fcfffa;}

body.light .logo-text > span {color: #75dc38;}

body.light .logo-text small {color: #1d4734; text-shadow: none;}

.brand:hover .logo-text > span {color: #b6ff72;}

body.light .brand:hover .logo-text > span {color: #54c524;}

.brand:focus-visible {outline-offset: 5px;}

.theme {border-color: var(--ui-ink); color: var(--ui-ink); box-shadow: 3px 3px 0 var(--ui-strong-border);}

.theme:active {box-shadow: 1px 1px 0 var(--ui-strong-border);}

.nav {align-items: center; gap: 12px; margin-left: auto;}

.nav a {align-self: center; justify-content: center; min-height: 40px; padding: 9px 15px; border: 2px solid var(--ui-ink); border-radius: 7px; background: var(--surface); color: var(--text); box-shadow: 3px 3px 0 var(--ui-strong-border); font: 700 15px/1.2 var(--head); letter-spacing: .015em; transition: transform .15s ease, box-shadow .15s ease, color .15s ease, background-color .15s ease;}

.nav a:hover {transform: translate(-1px, -1px); color: var(--accent); background: var(--surface2); border-color: var(--ui-ink); box-shadow: 4px 4px 0 var(--ui-strong-border);}

.nav a.selected, .nav a[aria-current="page"] {color: #10251a; background: #91ef53; border-color: #101b17; box-shadow: 3px 3px 0 #15803d;}

.nav a.selected:hover, .nav a[aria-current="page"]:hover {color: #10251a; background: #a4f172;}

.nav a:active {transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ui-strong-border);}

.nav a:focus-visible {outline: 2px solid var(--accent); outline-offset: 6px;}

.main-nav-mobile {gap: 9px; padding: 12px 0 16px;}

.main-nav-mobile a {display: flex; align-items: center; justify-content: center; min-height: 42px; border: 2px solid var(--ui-ink); border-radius: 6px; background: var(--surface); color: var(--text); box-shadow: 2px 2px 0 var(--ui-strong-border); font: 700 15px/1.2 var(--head); text-align: center;}

.main-nav-mobile a:hover {color: var(--accent); background: var(--surface2); border-color: var(--ui-ink);}

.main-nav-mobile a.selected, .main-nav-mobile a[aria-current="page"] {color: #10251a; background: #91ef53; border-color: #101b17; box-shadow: 2px 2px 0 #15803d;}

@media (prefers-reduced-motion: reduce) {
  .nav a {transition: none;}

  .nav a:hover {transform: none;}
}

@media (max-width: 920px) {
  .header-inner {gap: 12px;}
}

@media (max-width: 600px) {
  .header-inner {min-height: 0; gap: 10px;}

  .brand .logo-img {width: 38px; height: 38px;}

  .logo-text {font-size: 21px; text-shadow: 1px 1px 0 #091c14, 2px 2px 0 #166534;}

  .logo-text > span {text-shadow: 1px 1px 0 #091c14, 2px 2px 0 #26843d;}

  .logo-text small {font-size: 10px;}
}

@media (max-width: 600px) {
  body {font-size: 16px; line-height: 1.65;}

  .breadcrumb {font-size: 14px;}

  .site-footer {font-size: 14px;}

  .site-footer .disclaimer {font-size: 13px;}

  .main-nav-mobile a {font-size: 16px; line-height: 1.4;}
}
