html.dark-mode .swagger-ui {
  background: transparent !important;
  color: #f4f4f4;
}
.swagger-ui { filter: none; }
.swagger-ui .wrapper,
.swagger-ui .information-container,
.swagger-ui .scheme-container,
.swagger-ui section.block,
.swagger-ui .opblock-body,
.swagger-ui .responses-wrapper,
.swagger-ui .parameters-container {
  background: transparent;
}
.swagger-ui,
.swagger-ui .info p,
.swagger-ui .info li,
.swagger-ui .info .title small,
.swagger-ui table thead tr th,
.swagger-ui table thead tr td,
.swagger-ui table tbody tr td,
.swagger-ui .parameter__name,
.swagger-ui .parameter__type,
.swagger-ui .parameter__in,
.swagger-ui .response-col_status,
.swagger-ui .response-col_description,
.swagger-ui label,
.swagger-ui .opblock-tag,
.swagger-ui .opblock .opblock-summary-path,
.swagger-ui .opblock .opblock-summary-description,
.swagger-ui .opblock-description-wrapper p,
.swagger-ui .model-title,
.swagger-ui .model,
.swagger-ui .prop-type,
.swagger-ui .prop-format,
.swagger-ui .response-col_links,
.swagger-ui .tab li,
.swagger-ui .markdown p,
.swagger-ui .renderedMarkdown p {
  color: #f4f4f4;
  font-family: "VT323", "Courier New", monospace;
}
.swagger-ui .info .title {
  display: none;
}
.swagger-ui .info {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.75rem;
  background: #262b44;
  border: 3px solid #0d0d0d;
}
.swagger-ui .info .base-url,
.swagger-ui a {
  color: #ffcd75;
}
.swagger-ui a:hover { color: #41a6f6; }
.swagger-ui .info .version {
  background: #38b764;
  color: #0d0d0d;
  border: 2px solid #0d0d0d;
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 0.38rem;
}
.swagger-ui .info .version-stamp pre {
  background: #333c57;
  color: #f4f4f4;
}
.swagger-ui .opblock-tag {
  border-bottom: 2px solid #0d0d0d;
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 0.52rem;
  color: #ffcd75;
  margin: 1rem 0 0.5rem;
}
.swagger-ui .opblock-tag small {
  color: #94b0c2;
  font-family: "VT323", "Courier New", monospace;
}
.swagger-ui .opblock {
  border: 3px solid #0d0d0d;
  box-shadow: 4px 4px 0 #0d0d0d;
  margin-bottom: 0.75rem;
  border-radius: 0;
}
.swagger-ui .opblock .opblock-summary {
  border-bottom: 2px solid #0d0d0d;
}
.swagger-ui .opblock.opblock-post {
  background: rgba(65, 166, 246, 0.14);
  border-color: #0d0d0d;
}
.swagger-ui .opblock.opblock-get {
  background: rgba(56, 183, 100, 0.14);
}
.swagger-ui .opblock.opblock-post .opblock-summary-method { background: #41a6f6; }
.swagger-ui .opblock.opblock-get .opblock-summary-method { background: #38b764; }
.swagger-ui .opblock-summary-method {
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 0.42rem;
  border: 2px solid #0d0d0d;
  box-shadow: 2px 2px 0 #0d0d0d;
}
.swagger-ui .btn {
  border: 3px solid #0d0d0d;
  box-shadow: 3px 3px 0 #0d0d0d;
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 0.42rem;
  border-radius: 0;
}
.swagger-ui .btn.execute {
  background: #ffcd75;
  color: #0d0d0d;
}
.swagger-ui .btn.cancel { background: #566c86; color: #f4f4f4; }
html.dark-mode .swagger-ui .scheme-container .btn.authorize,
.swagger-ui .scheme-container .btn.authorize {
  background: #ffcd75 !important;
  color: #0d0d0d !important;
  border: 4px solid #0d0d0d !important;
  box-shadow: 4px 4px 0 #0d0d0d !important;
  font-size: 0.5rem !important;
  padding: 0.7rem 1rem !important;
  margin-left: 0.35rem;
  min-width: 9.5rem;
  text-align: center;
}
html.dark-mode .swagger-ui .scheme-container .btn.authorize:hover,
.swagger-ui .scheme-container .btn.authorize:hover {
  background: #ffe8a8 !important;
  color: #0d0d0d !important;
}
html.dark-mode .swagger-ui .scheme-container .btn.authorize svg,
.swagger-ui .scheme-container .btn.authorize svg {
  fill: #0d0d0d !important;
}
html.dark-mode .swagger-ui .scheme-container .btn.authorize.locked,
.swagger-ui .scheme-container .btn.authorize.locked {
  background: #38b764 !important;
  color: #0d0d0d !important;
}
.swagger-ui input[type=text],
.swagger-ui textarea,
.swagger-ui select {
  background: #262b44;
  border: 2px solid #0d0d0d;
  color: #f4f4f4;
  font-family: "VT323", "Courier New", monospace;
  border-radius: 0;
}
.swagger-ui .filter-container input[type=text] {
  background: #262b44;
  border: 3px solid #0d0d0d;
  padding: 0.45rem 0.6rem;
  font-size: 1.1rem;
}
.swagger-ui .model-box,
.swagger-ui .model-container,
.swagger-ui section.models,
.swagger-ui .model,
.swagger-ui table.model,
.swagger-ui .json-schema-2020-12,
.swagger-ui .json-schema-2020-12-accordion,
.swagger-ui .json-schema-2020-12-expand-deep-button {
  border-radius: 0 !important;
}
/* JSON Schema viewer — dark base; SCHEMAS section styled like green GET opblocks below */
.swagger-ui .opblock-body .model-box,
.swagger-ui .responses-inner .model-box,
.swagger-ui .parameters-container .model-box,
.swagger-ui .json-schema-2020-12--embedded {
  background: #262b44 !important;
  background-color: #262b44 !important;
}
.swagger-ui .json-schema-2020-12--embedded {
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.swagger-ui .json-schema-2020-12-keyword--description p {
  color: #94b0c2 !important;
  margin: 0;
}
.swagger-ui .models-jump-to-path,
.swagger-ui .model-jump-to-path {
  display: none !important;
}
/* Schemas group — same rhythm as opblock-tag sections */
.swagger-ui section.models {
  background: transparent;
  border: none;
  box-shadow: none;
  margin-top: 1.5rem;
  padding: 0;
}
.swagger-ui section.models h4 {
  border-bottom: 2px solid #0d0d0d;
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 0.52rem;
  color: #ffcd75;
  margin: 1rem 0 0.5rem;
  padding: 0 0 0.55rem;
  background: transparent;
  border-top: none;
  border-left: none;
  border-right: none;
}
.swagger-ui section.models h4 button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.swagger-ui section.models > .model-container {
  background: transparent !important;
  background-color: transparent !important;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}
/* Each schema = green GET-style opblock */
.swagger-ui section.models .qf-schema-card {
  margin-bottom: 0.75rem;
}
.swagger-ui section.models .qf-schema-card > .model-box.qf-opblock-get {
  border: 3px solid #0d0d0d;
  box-shadow: 4px 4px 0 #0d0d0d;
  margin: 0;
  padding: 0;
  background: rgba(56, 183, 100, 0.14) !important;
  background-color: rgba(56, 183, 100, 0.14) !important;
  overflow: hidden;
}
.swagger-ui section.models .qf-schema-card > .model-box > .model-box-control {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  margin: 0;
  padding: 0.7rem 0.75rem;
  border: none;
  border-bottom: 2px solid #0d0d0d;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.swagger-ui section.models .qf-schema-card > .model-box > .model-box-control::before {
  content: "MODEL";
  flex: 0 0 auto;
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 0.42rem;
  line-height: 1.4;
  background: #38b764;
  color: #0d0d0d;
  border: 2px solid #0d0d0d;
  box-shadow: 2px 2px 0 #0d0d0d;
  padding: 0.38rem 0.48rem;
}
.swagger-ui section.models .model-box-control__text {
  font-family: "VT323", "Courier New", monospace;
  font-size: 1.15rem;
  color: #f4f4f4;
  word-break: break-word;
  flex: 1;
}
.swagger-ui section.models .qf-schema-card > .model-box > .model-box {
  display: block;
  border: none;
  box-shadow: none;
  margin: 0;
  padding: 0.75rem 0.85rem 0.9rem;
  background: transparent !important;
  background-color: transparent !important;
}
.swagger-ui section.models .qf-schema-card .json-schema-2020-12,
.swagger-ui section.models .qf-schema-card .json-schema-2020-12:not(.json-schema-2020-12--embedded) {
  width: 100% !important;
  overflow: visible !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #f4f4f4;
  font-family: "VT323", "Courier New", monospace;
  font-size: 1.05rem;
}
.swagger-ui section.models .json-schema-2020-12-property {
  margin: 0;
  padding: 0.45rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(13, 13, 13, 0.45);
}
.swagger-ui section.models .json-schema-2020-12-property:last-child {
  border-bottom: none;
}
.swagger-ui section.models .json-schema-2020-12__title,
.swagger-ui section.models .json-schema-2020-12-keyword__name--primary,
.swagger-ui section.models .json-schema-2020-12-json-viewer__name--primary {
  color: #f4f4f4 !important;
  font-family: "VT323", "Courier New", monospace !important;
  font-size: 1.1rem !important;
  font-weight: 400;
  line-height: 1.4;
}
.swagger-ui section.models .json-schema-2020-12-property--required .json-schema-2020-12__title,
.swagger-ui section.models .json-schema-2020-12-property--required .json-schema-2020-12-keyword__name--primary {
  color: #ffcd75 !important;
}
.swagger-ui section.models .json-schema-2020-12-property--required .json-schema-2020-12-head .json-schema-2020-12__title::after {
  content: " *";
  color: #b13e53;
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 0.34rem;
}
.swagger-ui section.models .json-schema-2020-12__attribute,
.swagger-ui section.models .json-schema-2020-12__attribute--primary,
.swagger-ui section.models .json-schema-2020-12-json-viewer__value--primary,
.swagger-ui section.models .json-schema-2020-12-keyword__value--primary,
.swagger-ui section.models .prop-type {
  color: #41a6f6 !important;
  font-family: "VT323", "Courier New", monospace !important;
  font-size: 1.05rem !important;
  font-style: normal;
  text-transform: none;
}
.swagger-ui section.models .json-schema-2020-12-keyword__name--secondary,
.swagger-ui section.models .json-schema-2020-12-keyword__value,
.swagger-ui section.models .json-schema-2020-12-keyword__value--secondary,
.swagger-ui section.models .json-schema-2020-12-json-viewer__name--secondary,
.swagger-ui section.models .json-schema-2020-12-json-viewer__value,
.swagger-ui section.models .json-schema-2020-12-json-viewer__value--secondary,
.swagger-ui section.models .json-schema-2020-12-keyword--description,
.swagger-ui section.models .json-schema-2020-12-expand-deep-button,
.swagger-ui section.models .json-schema-2020-12__attribute--muted {
  color: #94b0c2 !important;
  font-family: "VT323", "Courier New", monospace !important;
  font-size: 1rem !important;
  font-style: normal;
}
.swagger-ui section.models .json-schema-2020-12__constraint {
  background: #38b764 !important;
  color: #0d0d0d !important;
  border: 2px solid #0d0d0d;
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 0.32rem;
  line-height: 1.5;
  margin-left: 0.35rem;
}
.swagger-ui section.models .json-schema-2020-12__constraint--string {
  background: #38b764 !important;
  color: #0d0d0d !important;
}
.swagger-ui section.models .json-schema-2020-12-body,
.swagger-ui section.models .json-schema-2020-12-keyword__children,
.swagger-ui section.models .json-schema-2020-12-json-viewer__children {
  border-left: 2px solid rgba(56, 183, 100, 0.45) !important;
  margin: 0.15rem 0 0.15rem 0.55rem;
  padding: 0 0 0 0.45rem;
}
.swagger-ui section.models .json-schema-2020-12-accordion,
.swagger-ui section.models .json-schema-2020-12-accordion__icon,
.swagger-ui section.models .json-schema-2020-12-expand-deep-button,
.swagger-ui section.models .json-schema-2020-12 button {
  background: transparent !important;
  border: none;
  color: #38b764 !important;
  padding: 0;
  margin: 0 0.25rem 0 0;
}
.swagger-ui section.models .json-schema-2020-12-accordion__icon svg,
.swagger-ui section.models .json-schema-2020-12 button svg {
  fill: #38b764 !important;
}
.swagger-ui section.models .json-schema-2020-12 a {
  color: #ffcd75 !important;
}
.swagger-ui section.models .json-schema-2020-12 a:hover {
  color: #41a6f6 !important;
}
.swagger-ui section.models .model-title,
.swagger-ui section.models .model-title__text {
  display: none;
}
/* Property grid — doc-table feel */
.swagger-ui section.models table.model,
.swagger-ui .opblock-body table.model,
.swagger-ui .responses-inner table.model,
.swagger-ui .parameters-container table.model {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  border: 3px solid #0d0d0d;
  background: #1a1c2c;
}
.swagger-ui section.models table.model tbody tr.property-row td,
.swagger-ui .opblock-body table.model tbody tr.property-row td,
.swagger-ui .responses-inner table.model tbody tr.property-row td,
.swagger-ui .parameters-container table.model tbody tr.property-row td {
  border: 2px solid #0d0d0d;
  padding: 0.5rem 0.55rem;
  vertical-align: top;
  font-family: "VT323", "Courier New", monospace;
  font-size: 1.05rem;
  color: #f4f4f4;
  background: #1a1c2c;
}
.swagger-ui section.models table.model tbody tr.property-row td:first-child,
.swagger-ui .opblock-body table.model tbody tr.property-row td:first-child,
.swagger-ui .responses-inner table.model tbody tr.property-row td:first-child,
.swagger-ui .parameters-container table.model tbody tr.property-row td:first-child {
  width: 30%;
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 0.36rem;
  line-height: 1.65;
  color: #38b764;
  background: #262b44;
}
.swagger-ui section.models table.model tbody tr.property-row.required td:first-child,
.swagger-ui .opblock-body table.model tbody tr.property-row.required td:first-child,
.swagger-ui .responses-inner table.model tbody tr.property-row.required td:first-child,
.swagger-ui .parameters-container table.model tbody tr.property-row.required td:first-child {
  color: #ffcd75;
}
.swagger-ui section.models table.model tbody tr.property-row.required td:first-child::after,
.swagger-ui .opblock-body table.model tbody tr.property-row.required td:first-child::after,
.swagger-ui .responses-inner table.model tbody tr.property-row.required td:first-child::after,
.swagger-ui .parameters-container table.model tbody tr.property-row.required td:first-child::after {
  content: " *";
  color: #b13e53;
  font-size: 0.34rem;
}
.swagger-ui .prop-type {
  color: #41a6f6 !important;
  font-size: 1.05rem;
}
.swagger-ui .prop-format {
  color: #94b0c2 !important;
}
.swagger-ui .prop-enum {
  color: #ffcd75 !important;
}
.swagger-ui .model .property-row .prop-name {
  color: #38b764;
  font-size: 1.05rem;
}
.swagger-ui .model .property-row.required .prop-name {
  color: #ffcd75;
}
.swagger-ui .model .property-row.required .prop-name::after {
  color: #b13e53;
  content: " *";
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 0.34rem;
}
.swagger-ui .model .property.primitive,
.swagger-ui .model .brace-open,
.swagger-ui .model .brace-close {
  color: #94b0c2;
  font-weight: normal;
}
.swagger-ui .model .inner-object {
  padding-left: 0.75rem;
  border-left: 2px dashed #566c86;
  margin: 0.25rem 0 0.25rem 0.35rem;
}
.swagger-ui .model span[class*="description"] {
  color: #94b0c2 !important;
  font-size: 0.95rem;
  display: block;
  margin-top: 0.2rem;
}
.swagger-ui .model-toggle {
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 0.34rem;
  color: #0d0d0d;
  background: #566c86;
  border: 2px solid #0d0d0d;
  box-shadow: 2px 2px 0 #0d0d0d;
  padding: 0.22rem 0.38rem;
  margin-right: 0.35rem;
}
.swagger-ui .model-toggle:hover {
  background: #41a6f6;
  color: #0d0d0d;
}
/* Inline schemas inside endpoint panels */
.swagger-ui .opblock-body .model-box,
.swagger-ui .responses-inner .model-box,
.swagger-ui .parameters-container .model-box {
  background: #262b44;
  border: 3px solid #0d0d0d;
  box-shadow: 3px 3px 0 #0d0d0d;
  padding: 0.55rem 0.65rem;
  margin: 0.45rem 0;
}
.swagger-ui .opblock-body .model-box-control,
.swagger-ui .responses-inner .model-box-control,
.swagger-ui .parameters-container .model-box-control {
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 0.36rem;
  color: #ffcd75;
  background: transparent;
  border: none;
  padding: 0.1rem 0;
  cursor: pointer;
  text-align: left;
}
.swagger-ui .opblock-body .model-box-control:hover,
.swagger-ui .responses-inner .model-box-control:hover,
.swagger-ui .parameters-container .model-box-control:hover {
  color: #41a6f6;
}
.swagger-ui .opblock-body pre.microlight,
.swagger-ui .responses-inner pre.microlight {
  font-size: 0.95rem;
  line-height: 1.45;
  padding: 0.55rem 0.65rem;
}
.swagger-ui table tbody tr td {
  border-color: #0d0d0d;
}
.swagger-ui table thead tr th,
.swagger-ui table thead tr td {
  background: #262b44;
  border-color: #0d0d0d;
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 0.38rem;
  color: #ffcd75;
}
.swagger-ui .responses-inner h4,
.swagger-ui .responses-inner h5 {
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 0.4rem;
  color: #94b0c2;
}
.swagger-ui .response-control-media-type__accept-message {
  color: #94b0c2;
}
.swagger-ui .microlight,
.swagger-ui .highlight-code {
  background: #1a1c2c !important;
  border: 2px solid #0d0d0d;
}
.swagger-ui .copy-to-clipboard { background: #566c86; border-radius: 0; }
.swagger-ui .topbar { display: none; }
.swagger-ui .scheme-container {
  box-shadow: 4px 4px 0 #0d0d0d;
  border: 4px solid #ffcd75;
  padding: 0.85rem 0.9rem;
  background: #333c57;
  margin-bottom: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}
.swagger-ui .scheme-container::before {
  content: "AUTH — PASTE X-API-KEY";
  flex: 1 1 100%;
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 0.4rem;
  color: #ffcd75;
  line-height: 1.6;
  margin-bottom: 0.15rem;
}
.swagger-ui .scheme-container .schemes {
  flex: 1 1 auto;
  margin: 0;
}
.swagger-ui .scheme-container .schemes > label {
  color: #94b0c2;
  font-family: "VT323", "Courier New", monospace;
  font-size: 1.05rem;
}
.swagger-ui .auth-wrapper,
.swagger-ui .dialog-ux .modal-ux {
  background: #333c57;
  border: 3px solid #0d0d0d;
  border-radius: 0;
}
.swagger-ui .dialog-ux .modal-ux-header {
  background: #262b44;
  border-bottom: 2px solid #0d0d0d;
}
.swagger-ui .dialog-ux .modal-ux-header h3 {
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 0.45rem;
  color: #ffcd75;
}
.swagger-ui .dialog-ux .modal-ux-content {
  color: #f4f4f4;
}
.swagger-ui .loading-container .loading::after {
  color: #ffcd75;
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 0.45rem;
}
.swagger-ui ::-webkit-scrollbar { width: 10px; height: 10px; }
.swagger-ui ::-webkit-scrollbar-thumb {
  background: #566c86;
  border: 2px solid #0d0d0d;
}
.swagger-ui ::-webkit-scrollbar-track { background: #1a1c2c; }