/*Dense dark operator theme */
:root {
  color-scheme: dark;
  --ink: #e7edf5;
  --muted: #7f8b99;
  --paper: #080b10;
  --card: #0d1219;
  --line: #222c38;
  --navy: #090d13;
  --coral: #35d6b2;
  --coral-dark: #27b99a;
  --green: #35d6b2;
  --amber: #e9b949;
  --violet: #a78bfa;
  --shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}
body {
  background: #080b10;
  color: var(--ink);
}
.number-stepper {
  display: flex !important;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  height: 34px;
}
.form-grid input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}
.form-grid input[type="number"]::-webkit-inner-spin-button,.form-grid input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}
.number-stepper input[type="number"] {
  flex: 1;
  min-width: 0;
  width: auto !important;
  height: 34px !important;
  min-height: 34px;
  margin: 0 !important;
  padding: 0 7px !important;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}
.number-stepper input[type="number"]::-webkit-inner-spin-button, .number-stepper input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}
.number-stepper-button {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px !important;
  min-width: 28px;
  height: 34px !important;
  min-height: 34px;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #27323e;
  background: #101923;
  color: #7fddd0;
  font: 700 15px/1 ui-monospace, monospace;
  cursor: pointer;
}
.number-stepper-button:last-child {
  border-radius: 0 4px 4px 0;
}
.number-stepper-button:first-child {
  border-radius: 4px 0 0 4px;
}
.number-stepper-button:hover,.number-stepper-button:focus-visible {
  background: #17322e;
  color: #d8fff4;
  outline: none;
}
.number-stepper-button:active {
  background: #205246;
}
.number-stepper-button:disabled {
  cursor: default;
  opacity: .45;
}
select {
  appearance: none;
  padding-right: 28px !important;
  background-image: linear-gradient(45deg,transparent 50%,#6f847d 50%),linear-gradient(135deg,#6f847d 50%,transparent 50%) !important;
  background-position: calc(100% - 14px) 50%,calc(100% - 10px) 50% !important;
  background-size: 4px 4px,4px 4px !important;
  background-repeat: no-repeat !important;
}
.search-wrap input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.themed-search-field {
  position: relative;
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}
.themed-search-field input[type="search"] {
  width: 100% !important;
  padding-right: 28px !important;
}
.themed-search-clear {
  position: absolute;
  top: 50%;
  right: 5px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 1px solid #315e52;
  border-radius: 3px;
  background: #0b211c;
  color: #83b7a9;
  cursor: pointer;
  transform: translateY(-50%);
}
.themed-search-clear:hover,.themed-search-clear:focus-visible {
  border-color: #5dd7b8;
  color: #dffff6;
  outline: none;
}
.themed-search-clear svg {
  width: 8px;
  height: 8px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.themed-search-clear[hidden] {
  display: none;
}
input[type="checkbox"] {
  appearance: none;
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  margin: 0;
  border: 1px solid #42645d;
  border-radius: 3px;
  background: #07110f;
  color: #dbfff5;
  cursor: pointer;
}
input[type="checkbox"]::after {
  content: '✓';
  font: 700 11px/1 ui-monospace, monospace;
  opacity: 0;
  transform: scale(.65);
  transition: opacity .12s ease, transform .12s ease;
}
input[type="checkbox"]:checked {
  border-color: #49d8ba;
  background: #1b6253;
}
input[type="checkbox"]:checked::after {
  opacity: 1;
  transform: scale(1);
}
input[type="checkbox"]:focus-visible {
  outline: 1px solid #84f0d6;
  outline-offset: 2px;
}
.shell {
  width: min(1600px, 100%);
  padding: 0 16px 28px;
}
.app-footer {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  padding: 12px 0 0;
  color: #9ca3af;
  font: 400 11px/1.4 ui-monospace, monospace;
}
.app-footer > :last-child {
  justify-self: end;
}
.app-footer a {
  padding: 7px 10px;
  border: 1px solid #22303a;
  border-radius: 5px;
  color: #afbdc5;
  text-decoration: none;
}
.app-footer a:hover, .app-footer a:focus-visible {
  border-color: #35d6b2;
  color: #35d6b2;
  outline: none;
}
.app-footer-brand {
  color: #f5a623;
  font-weight: 600;
}
.footer-studio {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.footer-studio-links {
  position: absolute;
  z-index: 12;
  bottom: 100%;
  left: 0;
  display: grid;
  width: 390px;
  gap: 3px;
  padding: 5px;
  border: 1px solid #3b584e;
  border-radius: 6px;
  background: #0b1715;
  box-shadow: 0 12px 28px #000b;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .14s ease, transform .14s ease;
  visibility: hidden;
}
.footer-studio:hover .footer-studio-links,.footer-studio:focus-within .footer-studio-links {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}
.app-footer .footer-studio-links a {
  display: grid;
  grid-template-columns: 20px minmax(0,1fr) auto;
  gap: 7px;
  align-items: center;
  padding: 7px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #c5d8d1;
}
.app-footer .footer-studio-links a:hover,.app-footer .footer-studio-links a:focus-visible {
  border-color: #438878;
  background: #10231f;
  color: #74efd0;
}
.footer-studio-links svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}
.footer-studio-links span {
  display: grid;
  min-width: 0;
  gap: 1px;
}
.footer-studio-links b,.footer-studio-links small {
  overflow: visible;
  white-space: nowrap;
}
.footer-studio-links b {
  color: inherit;
  font-size: 10px;
}
.footer-studio-links small {
  color: #829d94;
  font-size: 9px;
}
.footer-studio-links i {
  color: #5bcdb2;
  font-size: 12px;
  font-style: normal;
}
.topbar {
  height: 56px;
  border-bottom: 1px solid #19212b;
}
.brand {
  gap: 8px;
}
.brand-mark {
  width: 35px;
  height: 27px;
  border-radius: 7px;
  background: #101722;
  box-shadow: none;
  border: 1px solid #2c3948;
}
.brand-mark:before {
  width: 10px;
  height: 10px;
  left: 7px;
  top: 8px;
}
.brand-mark:after {
  width: 4px;
  height: 4px;
  right: 8px;
  top: 8px;
  background: #35d6b2;
  box-shadow: 3px 6px #e9b949;
}
.brand strong {
  font: 700 15px/1 ui-monospace, monospace;
  letter-spacing: -0.02em;
}
.brand small {
  font-size: 9px;
  margin-top: 2px;
  color: #657383;
}
.button {
  border-radius: 5px;
  padding: 7px 10px;
  font-size: 11px;
  text-decoration: none;
  box-shadow: none !important;
}
.button:hover:not(:disabled) {
  transform: none;
  border-color: #3b4b5d;
}
.button.primary {
  background: #173f3a;
  color: #65f3d2;
  border-color: #287b6c;
  box-shadow: none;
}
.button.primary:hover:not(:disabled) {
  background: #205148;
}
.button.secondary {
  background: #111822;
  border-color: #2a3745;
}
.button.ghost {
  background: #10161e;
  border-color: #26313e;
}
.button:disabled {
  border-color:#222d38;
  background:#0d131a;
  color:#65717c;
  opacity:.72;
  filter:saturate(.3);
}
.button.danger-text {
  background: transparent;
  color: #ff756b;
}
.hero {
  min-height: 112px;
  border-radius: 7px;
  padding: 15px 22px;
  margin-top: 10px;
  background: #0b1017;
  border: 1px solid #222d3a;
  box-shadow: none;
}
.hero:before {
  width: 350px;
  height: 350px;
  right: -60px;
  top: -220px;
  border-color: #35d6b212;
  box-shadow: 0 0 0 34px #35d6b207, 0 0 0 68px #35d6b204;
}
.kicker {
  font-size: 8px;
  letter-spacing: 0.13em;
  margin: 0 0 5px;
  color: #35d6b2;
}
.hero .kicker {
  color: #35d6b2;
}
.hero h1,.hero h2 {
  font: 700 clamp(22px, 3vw, 33px) / 1.05 ui-monospace, monospace;
  margin: 0;
  letter-spacing: -0.04em;
}
.hero h1:before,.hero h2:before {
  content: "> ";
  color: #35d6b2;
}
.hero-copy {
  margin: 8px 0 0;
  font-size: 11px;
  color: #778698;
}
.hero-art {
  right: 4%;
  width: 210px;
  height: 130px;
  opacity: 0.52;
}
.disc {
  width: 115px;
  height: 115px;
  top: 11px;
  background: radial-gradient( circle, #080b10 0 16%, #354152 17% 18%, #111925 19% 45%, #516071 46% 47%, #101722 48% );
}
.cartridge {
  right: 84px;
  top: 31px;
  width: 69px;
  height: 91px;
  border-radius: 4px 4px 8px 8px;
  border-width: 3px;
  padding: 18px 5px 0;
  background: linear-gradient(145deg, #2fd2af, #16826f);
  font: 700 10px/1 ui-monospace, monospace;
  box-shadow: 6px 9px 14px #000a;
}
.cartridge:before {
  width: 35px;
  height: 8px;
  left: 14px;
  top: -3px;
}
.cartridge b {
  font-size: 21px;
  margin-top: 5px;
}
.stats {
  gap: 7px;
  margin-top: 7px;
}
.stat-card {
  border-radius: 5px;
  padding: 9px 11px;
  gap: 8px;
  background: #0d1219;
  border-color: #202a35;
  box-shadow: none;
}
.stat-card:hover {
  transform: none;
  border-color: #3a4b5d;
  background: #111821;
}
.stat-icon {
  width: 27px;
  height: 27px;
  border-radius: 4px;
  font-size: 12px;
  background: #151e29;
  color: #76a2d1;
}
.stat-icon.green {
  background: #102820;
  color: #4bddb4;
}
.stat-icon.amber {
  background: #292210;
  color: #edbd56;
}
.stat-icon.violet {
  background: #211a33;
  color: #b29af6;
}
.stat-card > span:last-child {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
}
.stat-card b {
  font: 700 16px/1 ui-monospace, monospace;
}
.stat-card small {
  font-size: 9px;
  margin: 0;
}
.library {
  margin-top: 18px;
}
.library-head {
  margin-bottom: 7px;
}
.library-head h2 {
  font: 700 19px/1 ui-monospace, monospace;
  letter-spacing: -0.03em;
}
.view-buttons {
  gap: 2px;
  padding: 2px;
  border-radius: 4px;
  background: #111720;
}
.icon-button {
  width: 27px;
  height: 24px;
  border-radius: 3px;
  color: #667485;
  font-size: 12px;
}
.icon-button.active {
  background: #1b2632;
  color: #56e5c4;
  box-shadow: none;
}
.filter-panel {
  border-radius: 6px;
  padding: 8px;
  background: #0c1118;
  border-color: #202a35;
  box-shadow: none;
}
.search-wrap {
  height: 34px;
  border-radius: 4px;
  padding: 0 9px;
  gap: 6px;
  background: #090d13;
  border-color: #26313d;
}
.search-wrap span {
  font-size: 17px;
  color: #536376;
}
.search-wrap input {
  font-size: 11px;
}
.filters {
  gap: 6px;
  margin-top: 7px;
}
.filters label > span, .form-grid label > span {
  font-size: 8px;
  letter-spacing: 0.07em;
  margin: 0 0 3px 1px;
  color: #728092;
}
.filters select, .form-grid input, .form-grid select, .form-grid textarea {
  border-radius: 4px;
  background: #090d13;
  border-color: #27323e;
  padding: 7px 8px;
  font-size: 10px;
  color: #dce4ee;
}
.filters select:focus, .form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus {
  border-color: #35d6b2;
  box-shadow: 0 0 0 1px #35d6b244;
}
.filters label.has-active-filter > span {
  color:#79bdc8;
}
.filters select.is-filtering {
  border-color:#397d89;
  background-color:#0b181b;
  color:#a5d5dc;
  box-shadow:inset 0 -1px #55a5b1;
}
.filters select.is-filtering:hover,
.filters select.is-filtering:focus {
  border-color:#56a7b4;
  box-shadow:inset 0 -1px #72c8d3,0 0 0 1px #56a7b433;
}
.filters label[data-filter-tone="3"] { --filter-tone:#4fbd69; }
.filters label[data-filter-tone="7"] { --filter-tone:#83bd46; }
.filters label[data-filter-tone="12"] { --filter-tone:#e4b447; }
.filters label[data-filter-tone="16"] { --filter-tone:#e67b45; }
.filters label[data-filter-tone="18"] { --filter-tone:#df5656; }
.filters label[data-filter-tone="none"] { --filter-tone:#71808d; }
.filters label[data-filter-tone] > span {
  color:color-mix(in srgb,var(--filter-tone) 70%,#a9b3b1);
}
.filters label[data-filter-tone] select.is-filtering {
  border-color:color-mix(in srgb,var(--filter-tone) 52%,#303942);
  background-color:color-mix(in srgb,var(--filter-tone) 7%,#0d1116);
  color:color-mix(in srgb,var(--filter-tone) 76%,#e1e9e6);
  box-shadow:inset 0 -1px color-mix(in srgb,var(--filter-tone) 68%,#303942);
}
.filters label[data-filter-tone] select.is-filtering:hover,
.filters label[data-filter-tone] select.is-filtering:focus {
  border-color:color-mix(in srgb,var(--filter-tone) 72%,#44505a);
  box-shadow:inset 0 -1px var(--filter-tone),0 0 0 1px color-mix(in srgb,var(--filter-tone) 24%,transparent);
}
.filter-foot {
  margin-top: 7px;
  padding: 6px 1px 0;
  border-color: #1b242e;
  font-size: 9px;
}
.text-button {
  color: #45ddbd;
  font-size: 9px;
}
.game-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  margin-top: 7px;
}
.game-card {
  border-radius: 5px;
  padding: 10px 10px 8px;
  background: #0d1219;
  border-color: #202a35;
  box-shadow: none;
}
.game-card:hover {
  transform: none;
  box-shadow: none;
  border-color: #3a4b5c;
  background: #101720;
}
.game-card:before {
  width: 2px;
}
.platform-tag {
  font-size: 8px;
  letter-spacing: 0.055em;
}
.platform-tag:before {
  width: 6px;
  height: 6px;
}
.favorite-button {
  font-size: 14px;
}
.game-title {
  font: 700 12px/1.22 ui-monospace, monospace;
  margin: 8px 0 4px;
}
.game-meta {
  font-size: 8px;
  min-height: 11px;
}
.badges {
  gap: 3px;
  margin-top: 8px;
}
.badge {
  padding: 3px 5px;
  border-radius: 3px;
  font-size: 7px;
  background: #171e27;
  color: #8591a0;
}
.badge.pegi {
  background: #10271f;
  color: #59dbae;
}
.badge.pegi-12 {
  background: #292311;
  color: #e3b64e;
}
.badge.pegi-16, .badge.pegi-18 {
  background: #2e1718;
  color: #f08076;
}
.badge.wanted {
  background: #2c2411;
  color: #eabc57;
}
.badge.completed {
  background: #211a32;
  color: #ae96ef;
}
.badge.playing {
  background: #11292d;
  color: #55c9d5;
}
.card-actions {
  gap: 4px;
  margin-top: 8px;
  padding-top: 6px;
  border-color: #1e2731;
}
.card-actions button {
  border-radius: 3px;
  padding: 4px 6px;
  font-size: 7px;
}
.edit-button {
  background: #171e27;
  color: #9ba6b4;
}
.quick-button {
  background: #112b24;
  color: #50ddb8;
}
.game-grid.list-view .game-card {
  grid-template-columns: 135px minmax(180px, 1fr) auto auto;
  border-radius: 4px;
  margin-bottom: 3px;
  padding: 6px 9px;
  gap: 9px;
}
.game-grid.list-view .favorite-button {
  right: 8px;
  top: 5px;
}
.load-more {
  margin: 10px auto 0;
  background: #10161e;
  border-color: #26323f;
}
.empty-state {
  padding: 30px 15px;
}
.empty-state > span {
  font-size: 27px;
}
.empty-state h3 {
  font: 700 14px ui-monospace, monospace;
  margin: 4px 0;
}
.empty-state p {
  font-size: 10px;
  margin: 0 0 10px;
}
.fab {
  background: #173f3a;
  color: #65f3d2;
  border: 1px solid #287b6c;
  box-shadow: 0 6px 20px #0008;
}
.toast {
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 4px;
  background: #17212c;
  border: 1px solid #344456;
  font-size: 10px;
  box-shadow: 0 8px 25px #0008;
}
dialog {
  border-radius: 6px;
  width: min(660px, calc(100% - 16px));
  max-height: calc(100dvh - 16px);
  box-shadow: 0 18px 70px #000b;
}
dialog::backdrop {
  background: #020407dd;
  backdrop-filter: blur(2px);
}
.modal-card {
  background: #0b1017;
  padding: 13px;
  max-height: calc(100dvh - 16px);
}
.modal-head {
  margin-bottom: 8px;
}
.modal-head h2 {
  font: 700 17px ui-monospace, monospace;
}
.close-button {
  display: grid;
  place-items: center;
  border-radius: 4px;
  width: 25px;
  min-width: 25px;
  height: 25px;
  padding: 0;
  border: 1px solid #315e52;
  background: #0b211c;
  color: #83b7a9;
}
.close-button:hover,.close-button:focus-visible {
  border-color: #5dd7b8;
  color: #dffff6;
  outline: none;
}
.close-button svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.pegi-assist {
  border-radius: 4px;
  padding: 7px 8px;
  gap: 8px;
  margin-bottom: 9px;
  background: #0e1720;
  border-color: #25384a;
}
.pegi-assist strong {
  font-size: 9px;
  color: #67e6c8;
}
.pegi-assist small {
  font-size: 8px;
  margin-top: 2px;
}
.pegi-results {
  max-height: 190px;
  border-radius: 4px;
  margin: -3px 0 8px;
  padding: 3px;
  background: #090d13;
  border-color: #26313e;
}
.pegi-result {
  padding: 6px;
  gap: 7px;
  border-color: #1e2832;
  background: #090d13;
  border-radius: 3px;
}
.pegi-result:hover {
  background: #111a23;
}
.pegi-result .pegi-box {
  width: 26px;
  height: 26px;
  border-radius: 3px;
  font-size: 10px;
  background: #10271f;
  color: #57d8ad;
}
.pegi-result .pegi-box-3 {
  background:#10271f;
  color:#59dbae;
}
.pegi-result .pegi-box-7 {
  background:#1e2d14;
  color:#9bd45d;
}
.pegi-result .pegi-box-12 {
  background:#292311;
  color:#e3b64e;
}
.pegi-result .pegi-box-16 {
  background:#2e1e14;
  color:#f09a62;
}
.pegi-result .pegi-box-18 {
  background:#2e1718;
  color:#f08076;
}
.pegi-result .pegi-box-none {
  background:#17212a;
  color:#9aaab4;
}
.pegi-result strong {
  font-size: 9px;
}
.pegi-result small, .pegi-message {
  font-size: 8px;
}
.form-grid {
  gap: 7px;
}
.form-grid textarea {
  min-height: 50px;
}
.check-label {
  gap: 6px;
}
.check-label span {
  font-size: 9px !important;
}
.modal-actions {
  gap: 5px;
  margin-top: 10px;
  padding-top: 8px;
  border-color: #202a34;
}
.form-error {
  padding: 6px 8px;
  border-radius: 3px;
  font-size: 8px;
  margin: 7px 0 0;
  background: #2f1718;
  color: #ff8a7e;
}
@media (max-width: 1250px) {
  .game-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .shell {
    padding: 0 8px 60px;
  }
  .topbar {
    height: 48px;
  }
  .hero {
    min-height: 112px;
    padding: 15px 16px;
    border-radius: 5px;
    margin-top: 6px;
  }
  .hero h1,.hero h2 {
    font-size: 21px;
  }
  .hero-copy {
    font-size: 9px;
  }
  .stats {
    gap: 4px;
    margin-top: 4px;
  }
  .stat-card {
    padding: 7px;
  }
  .stat-icon {
    width: 24px;
    height: 24px;
  }
  .stat-card b {
    font-size: 14px;
  }
  .library {
    margin-top: 14px;
  }
  .filters {
    gap: 5px;
  }
  .game-grid {
    gap: 5px;
  }
  .game-card {
    padding: 9px;
  }
  .fab {
    width: 43px;
    height: 43px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    font-size: 22px;
  }
  .modal-card {
    padding: 10px;
  }
  .pegi-assist .button {
    padding: 6px 7px;
    font-size: 8px;
  }
}
@media (max-width: 680px) {
  .app-footer {
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px 12px;
    text-align: center;
  }
  .app-footer>span:nth-child(2) {
    order: -1;
    width: 100%;
  }
  .footer-studio-links {
    left: 50%;
    bottom: 100%;
    transform: translate(-50%, 4px);
  }
  .footer-studio:hover .footer-studio-links,.footer-studio:focus-within .footer-studio-links {
    transform: translate(-50%, 0);
  }
  .hero {
    min-height: 96px;
  }
  .hero h1,.hero h2 {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(14px, 4.7vw, 18px);
  }
  .hero-art {
    display: none;
  }
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .stat-card {
    display: block;
    text-align: center;
    padding: 6px 3px;
  }
  .stat-icon {
    margin: 0 auto 4px;
    width: 21px;
    height: 21px;
  }
  .stat-card b {
    font-size: 12px;
  }
  .stat-card small {
    font-size: 7px;
  }
  .library-head h2 {
    font-size: 16px;
  }
  .filters {
    grid-template-columns: 1fr 1fr;
  }
  .game-grid {
    grid-template-columns: 1fr;
  }
  .game-grid.list-view .game-card {
    grid-template-columns: 85px 1fr;
  }
  .modal-actions {
    bottom: -10px;
    background: #0b1017;
  }
  .toast {
    bottom: 62px;
  }
}
.auth-screen {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 12px;
  background: radial-gradient( circle at 50% 20%, #10201e 0, #080b10 38%, #05070a 100% );
}
.auth-screen[hidden], .shell[hidden], [hidden] {
  display: none !important;
}
#app-shell[hidden] ~ .mobile-action-dock {
  display: none !important;
}
.auth-card {
  width: min(390px, 100%);
  border: 1px solid #263541;
  background: #0b1017;
  box-shadow: 0 24px 80px #000c;
}
.auth-terminal {
  height: 31px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 8px;
  border-bottom: 1px solid #24303c;
  background: #0e151d;
  color: #8695a5;
  font-size: 8px;
  letter-spacing: 0.08em;
}
.auth-terminal .brand-mark {
  width: 21px;
  height: 16px;
  border-radius: 3px;
}
.auth-terminal .brand-mark:before {
  width: 7px;
  height: 7px;
  left: 4px;
  top: 4px;
}
.auth-terminal .brand-mark:after {
  width: 2px;
  height: 2px;
  right: 5px;
  top: 5px;
  box-shadow: 2px 4px #e9b949;
}
.auth-terminal em {
  font-style: normal;
  margin-left: auto;
  color: #45dab7;
}
.auth-body {
  padding: 18px;
}
.auth-body h1 {
  font: 700 20px/1.1 ui-monospace, monospace;
  margin: 0;
}
.auth-body h1:before {
  content: "> ";
  color: #35d6b2;
}
.auth-copy {
  font-size: 9px;
  color: #768494;
  line-height: 1.55;
  margin: 7px 0 14px;
}
.auth-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #25313d;
  border-radius: 4px;
  padding: 2px;
  background: #080c11;
  margin-bottom: 12px;
}
.auth-tabs button {
  height: 27px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: #708090;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.auth-tabs button.active {
  background: #15332f;
  color: #5ce8c8;
}
.auth-body form label {
  display: block;
  margin-top: 8px;
}
.auth-body form label > span {
  display: block;
  color: #728092;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 3px 1px;
}
.auth-body input {
  width: 100%;
  height: 34px;
  border: 1px solid #27333f;
  border-radius: 4px;
  background: #080c11;
  padding: 0 9px;
  font-size: 11px;
  outline: none;
}
.auth-body input:focus {
  border-color: #35d6b2;
  box-shadow: 0 0 0 1px #35d6b244;
}
.auth-submit {
  width: 100%;
  margin-top: 11px;
  height: 34px;
}
.auth-hint {
  font-size: 8px;
  line-height: 1.45;
  color: #a5b0bd;
  background: #101b1d;
  border-left: 2px solid #35d6b2;
  padding: 6px 7px;
  margin: 8px 0 0;
}
.auth-hint strong {
  color: #64e8ca;
}
.auth-reset-panel .auth-hint {
  margin-bottom: 0;
}
.auth-reset-panel label:first-child {
  margin-top: 0;
}
.auth-reset-panel label > span {
  margin-bottom: 6px;
  color: #9aaaba;
  line-height: 1.2;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-community-actions,.header-library-actions {
  display:flex;
  align-items:center;
  gap:6px
}
.header-progression {
  flex:0 0 300px;
  width:300px;
  min-width:300px;
  display:grid;
  gap:4px;
  padding:3px 4px;
  color:#92aaa4
}
.header-progression>div {
  display:flex;
  align-items:baseline;
  gap:7px;
  min-width:0;
  line-height:1
}
.header-progression [data-header-progress-level] {
  color:#63e5c6;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  white-space:nowrap
}
.header-progression [data-header-progress-title] {
  min-width:0;
  overflow:hidden;
  color:#d7e4e0;
  font-size:12px;
  font-weight:600;
  white-space:nowrap;
  text-overflow:ellipsis
}
.header-progression [data-header-progress-xp] {
  margin-left:auto;
  color:#9ab1aa;
  font-size:11px;
  white-space:nowrap
}
.header-progression-meter {
  display:block;
  width:100%;
  height:7px;
  border:1px solid #285149;
  overflow:hidden;
  appearance:none;
  background:#07120f
}
.header-progression-meter::-webkit-progress-bar {
  background:#07120f
}
.header-progression-meter::-webkit-progress-value {
  background:#4bd9b9;
  box-shadow:0 0 9px #4bd9b977
}
.header-progression-meter::-moz-progress-bar {
  background:#4bd9b9;
  box-shadow:0 0 9px #4bd9b977
}
.header-progression [data-header-progress-next] {
  color:#718b83;
  font-size:9px;
  line-height:1;
  white-space:nowrap
}
.top-actions .button {
  position: relative;
  width: 114px;
  height: 36px;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1;
}
.top-actions .katalog-button,.top-actions .library-button,.top-actions .forum-button {
  width:auto;
  min-width:0;
  padding-inline:11px;
  border-color:#28483f;
  background:#0d1919;
  color:var(--green);
  text-decoration:none;
}
.top-actions .katalog-button.active,.top-actions .library-button.active,.top-actions .signal-button.active,.top-actions .forum-button.active {
  border-color:#2b343c;
  background:#11161b;
  color:#68737d;
  cursor:default;
  pointer-events:auto;
}
.top-actions .signal-button {
  width:auto;
  min-width:0;
  padding-inline:11px;
  border-color:#28483f;
  background:#0d1919;
  color:var(--green);
  text-decoration:none;
}
.header-nav-icon {
  display:none;
}
.top-actions .desktop-add {
  width:auto;
  min-width:0;
  gap:0;
  padding-inline:8px;
}
.desktop-add > .button-icon {
  position: static;
  line-height: 1;
  transform: none;
}
.desktop-add > .button-label {
  display:block;
  width:auto;
  height:auto;
  line-height:1;
  transform:none;
}
.account-button #account-name {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
  transform: translateY(1px);
}
.account-button {
  padding-left: 9px;
  padding-right: 9px;
  background: #0d141c;
  border-color: #263441;
  color: #9eabb9;
  max-width: 150px;
}
.account-button:hover {
  background: #111b25;
}
.account-button .nav-avatar {
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%);
}
.account-button #account-name {
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.status-led {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #43dbb7;
  box-shadow: 0 0 7px #43dbb7;
}
#account-dialog {
  width: min(440px, calc(100% - 16px));
}
.account-modal {
  width: 100%;
}
.account-summary {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px;
  border: 1px solid #22303b;
  background: #0d151d;
  margin-bottom: 9px;
}
.account-avatar, .nav-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #2c7165;
  background: #14362f;
  color: #66eacb;
  font-weight: 700;
  flex: none;
}
.account-avatar {
  width: 45px;
  height: 45px;
  font-size: 15px;
}
.nav-avatar {
  width: 22px;
  height: 22px;
  font-size: 10px;
}
.account-avatar img, .nav-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.account-avatar-picker {
  position: relative;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}
.avatar-plus {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border: 1px solid #3aa990;
  background: #0b1718;
  color: #6aefd0;
  font-size: 11px;
}
.account-identity {
  min-width: 0;
}
.account-summary strong {
  display: block;
  font-size: 10px;
}
.account-summary small {
  display: block;
  font-size: 8px;
  color: #718091;
  margin-top: 2px;
}
.account-progression {
  margin:-1px 0 9px;
  padding:8px;
  border:1px solid #285d51;
  background:#091712
}
.progression-head {
  display:flex;
  align-items:baseline;
  gap:7px
}
.progression-head span {
  color:#63e5c6;
  font-size:10px;
  font-weight:700;
  letter-spacing:.08em
}
.progression-head strong {
  min-width:0;
  flex:1;
  color:#dcece8;
  font-size:11px
}
.progression-head b {
  color:#95b8ae;
  font-size:10px;
  font-weight:500
}
.progression-meter {
  height:5px;
  margin:7px 0 5px;
  border:1px solid #25453f;
  background:#06100d
}
.progression-meter span {
  display:block;
  height:100%;
  width:0;
  background:#4bd9b9;
  box-shadow:0 0 8px #4bd9b966;
  transition:width .2s ease
}
.account-progression small {
  color:#78958d;
  font-size:9px
}
.avatar-actions {
  display: flex;
  gap: 8px;
  margin-top: 3px;
}
.avatar-actions .text-button {
  padding: 0;
  font-size: 9px;
}
.avatar-remove {
  color: #ff756b;
}
.account-grid {
  grid-template-columns: 1fr;
}
.account-grid .span-2 {
  grid-column: span 1;
}
@media (max-width: 680px) {
  .auth-screen {
    padding: 7px;
  }
  .auth-body {
    padding: 14px;
  }
  .brand {
    gap: 5px;
    min-width: 0;
  }
  .brand-mark {
    width: 30px;
    height: 24px;
  }
  .brand strong {
    font-size: 13px;
    white-space: nowrap;
  }
  .brand strong em {
    display: none;
  }
  .brand small {
    display: none;
  }
  .top-actions {
    gap: 4px;
  }
  .header-library-actions {
    display:contents
  }
  .top-actions .header-community-actions,.header-community-actions.mobile-action-dock {
    position:fixed;
    z-index:20;
    left:10px;
    bottom:calc(10px + env(safe-area-inset-bottom));
    display:flex;
    align-items:center;
    gap:3px;
    padding:3px;
    border:1px solid #28483f;
    border-radius:6px;
    background:#08120ff2;
    box-shadow:0 6px 20px #000a;
    backdrop-filter:blur(7px)
  }
  .top-actions .header-community-actions .button,.header-community-actions.mobile-action-dock .button {
    width:36px;
    min-width:36px;
    height:36px;
    padding:0
  }
  .header-progression {
    display:none
  }
  .top-actions .katalog-button,.top-actions .library-button,.top-actions .forum-button,.top-actions .signal-button {
    width:38px;
    min-width:38px;
    padding:0;
  }
  .header-nav-label {
    display:none;
  }
  .header-nav-icon {
    display:block;
    width:18px;
    height:18px;
    stroke:currentColor;
    stroke-width:1.7;
    fill:none;
    stroke-linecap:round;
    stroke-linejoin:round;
  }
  .top-actions .account-button {
    width: 38px;
    min-width: 38px;
    max-width: 38px;
    padding: 0;
  }
  .account-button #account-name {
    display: none;
  }
  .account-button .nav-avatar {
    left: 50%;
    transform: translate(-50%, -50%);
  }
  #account-dialog {
    height: 100dvh;
    max-height: 100dvh;
  }
  #account-dialog .account-modal {
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }
  .top-actions .katalog-button.active,.top-actions .library-button.active,.top-actions .signal-button.active,.top-actions .forum-button.active {
    border-color:#287b6c;
    background:#173f3a;
    color:#72efd1;
  }
}
@media (max-width: 480px) {
  .hero {
    min-height:0;
    margin-top:4px;
    padding:9px 12px
  }
  .hero .kicker {
    margin-bottom:3px
  }
}
