.logbar {
  grid-column: 1 / -1;
  grid-row: 2;
  border-top: var(--border-width) solid var(--line);
  background: #090b0e;
  color: #dce3e8;
  padding: 10px 12px;
  min-width: 0;
  height: 80px;
  min-height: 80px;
  overflow: hidden;
  border: var(--border-width) solid var(--line);
  border-left: none;
  border-radius: 0px;
  box-shadow: 0 12px 30px var(--shadow);

  pre {
    height: 100%;
  }
}

#tab-library {
  height: 100%;
}

.my-skins-panel {
  height: 100%;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
}

.my-skins-layout {
  display: grid;
  grid-template-columns: minmax(300px, 530px) minmax(0, 1fr);
  gap: 14px;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.my-skins-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.my-skins-scope-tabs {
  display: inline-flex;
  min-height: 36px;
  border: var(--border-width) solid var(--line);
  background: #090d12;

  button {
    min-width: 104px;
    border: 0;
    border-right: var(--border-width) solid var(--line);
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
  }

  button:last-child {
    border-right: 0;
  }

  button.active {
    background: rgba(23, 195, 178, 0.18);
    color: #d7fffb;
  }
}

.start-game-button {
  margin-left: auto;
  border-color: rgba(55, 224, 33, 0.72);
  background: #1f8f27;
  color: #fff;
}

.start-game-button:hover,
.start-game-button:focus-visible {
  border-color: var(--accent-green);
  background: #26a630;
}

#openLiveryImport {
  border-color: #9b6cff;
  background: #7c3aed;
  color: #fff;
}

#openLiveryImport:hover,
#openLiveryImport:focus-visible {
  border-color: #b79aff;
  background: #8b5cf6;
}

.my-skins-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 15px;
}

.my-skins-list,
.my-skins-detail {
  position: relative;
  height: 100%;
  min-height: 0;
  max-height: none;
}

.my-skins-loading {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 180px;
  padding: 22px;
  border: var(--border-width) solid var(--line-soft);
  background: rgba(255, 255, 255, 0.025);
  color: #dce4ec;
  font-family: var(--font-display);
  font-size: 14px;
  text-transform: uppercase;

  .button-spinner {
    width: 22px;
    height: 22px;
  }
}

.my-skins-loading-overlay {
  position: absolute;
  z-index: 12;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 100%;
  background: rgba(5, 7, 10, 0.72);
  backdrop-filter: blur(2px);
  pointer-events: none;

  .my-skins-loading {
    min-width: 220px;
    min-height: 0;
  }
}

.my-skin-package-box {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.livery-import-highlight {
  animation: livery-import-highlight 1.05s ease-in-out 3;
}

@keyframes livery-import-highlight {
  0%,
  100% {
    border-color: var(--line);
    box-shadow: none;
  }

  50% {
    border-color: rgba(255, 202, 82, 0.82);
    box-shadow:
      0 0 0 2px rgba(255, 202, 82, 0.22),
      0 0 24px rgba(255, 202, 82, 0.26);
  }
}

.my-skin-package-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: end;

  label {
    display: grid;
    gap: 6px;
    min-width: 0;
  }

  input {
    width: 100%;
  }

  button {
    white-space: nowrap;
  }
}

.my-skins-list {
  display: grid;
  gap: 8px;
  align-content: start;
  overflow: auto;
  padding-right: 4px;
}

.my-skins-library-tools {
  position: sticky;
  z-index: 6;
  top: 0;
  display: grid;
  gap: 0;
  border: var(--border-width) solid var(--line);
  border-bottom: 0;
  background: #07080a;
  box-shadow: 0 12px 18px rgba(0, 0, 0, 0.32);
}

.my-skins-category-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 6px;
  min-height: 42px;
  padding: 6px 10px;
  border-bottom: var(--border-width) solid var(--line);
  background: rgba(var(--accent-2-rgb), 0.045);

  button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 30px;
    padding: 4px 8px;
    border-color: rgba(var(--accent-2-rgb), 0.42);
    background: #000;
    color: #fff;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;

    &:hover,
    &:focus-visible {
      border-color: rgba(var(--accent-2-rgb), 0.72);
      background: rgba(var(--accent-2-rgb), 0.18);
      color: #fff;
    }

    &:disabled {
      opacity: 0.45;
    }
  }
}

.my-skins-category-sort {
  display: grid;
  grid-template-columns: auto repeat(3, minmax(0, 1fr));
  gap: 6px;
  align-items: center;
  min-height: 38px;
  padding: 6px 10px;
  border-bottom: var(--border-width) solid var(--line);
  background: rgba(var(--accent-2-rgb), 0.035);

  span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
  }

  button {
    min-width: 0;
    min-height: 28px;
    padding: 4px 8px;
    border-color: rgba(var(--accent-2-rgb), 0.34);
    background: #000;
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;

    &.active {
      border-color: rgba(255, 216, 74, 0.72);
      background: rgba(255, 216, 74, 0.12);
      color: #ffd84a;
    }
  }
}

.my-skins-category-search {
  display: grid;
  gap: 5px;
  padding: 8px 10px 10px;
  border-bottom: var(--border-width) solid var(--line);
  background: rgba(var(--accent-2-rgb), 0.035);

  label {
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  input {
    width: 100%;
    min-height: 34px;
    padding: 6px 8px;
    border: var(--border-width) solid rgba(var(--accent-2-rgb), 0.34);
    border-radius: 0;
    background: #000;
    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;

    &:focus {
      border-color: rgba(var(--accent-2-rgb), 0.72);
      outline: none;
      box-shadow: 0 0 0 1px rgba(var(--accent-2-rgb), 0.28);
    }

    &::placeholder {
      color: rgba(255, 255, 255, 0.38);
    }

    &::-webkit-search-cancel-button {
      width: 15px;
      height: 15px;
      margin-left: 6px;
      appearance: none;
      -webkit-appearance: none;
      background: rgba(255, 255, 255, 0.82);
      cursor: pointer;
      -webkit-mask:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 4l8 8M12 4l-8 8' stroke='black' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E")
        center / contain no-repeat;
      mask:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 4l8 8M12 4l-8 8' stroke='black' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E")
        center / contain no-repeat;

      &:hover {
        background: #fff;
      }
    }
  }

  span {
    color: rgba(255, 255, 255, 0.48);
    font-size: 12px;
  }
}

.my-skins-category-add-row {
  display: grid;
  gap: 8px;
  padding: 8px 10px 10px;
  border-bottom: var(--border-width) solid var(--line);
  background: rgba(var(--accent-2-rgb), 0.035);

  &[hidden] {
    display: none;
  }

  label {
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  button {
    white-space: nowrap;
  }
}

.my-skins-category-add-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: stretch;
  min-width: 0;

  input {
    width: 100%;
    min-height: 34px;
    padding: 6px 8px;
    border: var(--border-width) solid rgba(var(--accent-2-rgb), 0.34);
    border-radius: 0;
    background: #000;
    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;

    &:focus {
      border-color: rgba(var(--accent-2-rgb), 0.72);
      outline: none;
      box-shadow: 0 0 0 1px rgba(var(--accent-2-rgb), 0.28);
    }
  }
}

.my-skins-category-list {
  display: grid;
  gap: 0;
  border: var(--border-width) solid var(--line);
  background: #07080a;
}

.my-skins-category-group {
  border-bottom: var(--border-width) solid rgba(255, 255, 255, 0.08);

  &:last-child {
    border-bottom: none;
  }
}

.my-skins-category-head {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) repeat(2, 32px);
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 4px 8px;
  border-bottom: var(--border-width) solid rgba(var(--accent-2-rgb), 0.18);
  background: rgba(var(--accent-2-rgb), 0.09);

  strong {
    overflow: hidden;
    color: #ffd84a;
    font-family: var(--font-display);
    font-size: 15px;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
  }

  &.is-custom-sort {
    grid-template-columns: 32px minmax(0, 1fr) repeat(4, 32px);
  }

  &.is-workflow-reference {
    grid-template-columns: 32px minmax(0, 1fr);
  }
}

.my-skins-category-rename-input {
  width: 100%;
  min-width: 0;
  height: 30px;
  padding: 4px 7px;
  border: var(--border-width) solid rgba(var(--accent-2-rgb), 0.72);
  border-radius: 0;
  background: #000;
  color: #ffd84a;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;

  &:focus {
    outline: none;
    box-shadow: 0 0 0 1px rgba(var(--accent-2-rgb), 0.28);
  }
}

.my-skins-category-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  min-width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  border-color: rgba(var(--accent-2-rgb), 0.36);
  background: #000;
  color: #fff;

  .button-icon {
    display: grid;
    place-items: center;
    width: 16px;
    height: 16px;
  }

  svg {
    width: 16px;
    height: 16px;
  }

  &:hover,
  &:focus-visible {
    border-color: rgba(var(--accent-2-rgb), 0.72);
    background: rgba(var(--accent-2-rgb), 0.18);
  }

  &:disabled {
    opacity: 0.42;
  }
}

.my-skins-category-body {
  display: grid;
  gap: 8px;
  padding: 8px;
}

.my-skins-category-group.is-collapsed .my-skins-category-body {
  display: none;
}

.my-skin-card {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: auto;
  min-height: 126px;
  gap: 12px;
  text-align: left;
  padding: 12px;
  overflow: hidden;
  border-radius: 0px;
  background: #11171d;
  border: var(--border-width) solid var(--accent-green);
  color: inherit;
  cursor: pointer;
  font: inherit;
  transition: opacity 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;

  strong {
    color: var(--accent-3);
    font-size: 17px;
  }

  > span {
    color: var(--muted);
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  &.active {
    //border-color: var(--accent-green);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: inset 3px 0 0 var(--accent-2-border), inset 0 0 0 var(--border-width) rgba(var(--accent-2-rgb), 0.98);
  }

  &.inactive {
    border: var(--border-width) solid var(--line);
  }

  &.needs-game-sync {
    border-color: #ffca52;
    //box-shadow: inset 3px 0 0 #ffca52;
  }

  &:hover,
  &:focus-visible {
    opacity: 1;
  }
}

.my-skin-favorite-toggle {
  position: absolute;
  z-index: 3;
  top: 6px;
  right: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  padding: 0;
  border: var(--border-width) solid transparent;
  background: rgba(0, 0, 0, 0.24);
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;

  &:hover,
  &:focus-visible {
    color: #f3d46d;
    background: rgba(255, 255, 255, 0.04);
    outline: none;
  }

  &.is-active {
    color: #f3d46d;
  }
}

.my-skin-card-top {
  display: flex;
  flex: 1;
  //grid-template-columns: 84px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.my-skin-card-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
  .small {
    font-size: 14px;
  }

  .skin-id {
    color: #8995a0;
    font-size: 13px;
  }
}

.my-skin-thumb-frame,
.my-skin-preview-frame {
  position: relative;
  display: block;
  background: #0d1116;

  &::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 50% auto auto 50%;
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    border: 2px solid rgba(255, 255, 255, 0.18);
    border-top-color: var(--accent);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transform: rotate(0deg);
  }

  &.is-loading::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: rgba(5, 8, 12, 0.34);
    pointer-events: none;
  }

  &.is-loading::after {
    opacity: 1;
    animation: my-skin-thumb-spinner 0.75s linear infinite;
  }
}

.my-skin-thumb-frame {
  width: 100px;
  height: 100px;
  flex: 0 0 100px;
  max-width: 100px;
  aspect-ratio: 1/1;
}

.my-skin-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0px;
  border: var(--border-width) solid var(--line-soft);
  background: #0d1116;

  &.is-loading {
    opacity: 0.6;
  }
}

.my-skin-meta {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  align-items: flex-end;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  border: var(--border-width) solid var(--line);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;

  &.complete {
    border-color: rgba(23, 195, 178, 0.55);
    background: rgba(23, 195, 178, 0.14);
    color: #d9fffb;
  }

  &.partial {
    border-color: rgba(247, 201, 72, 0.55);
    background: rgba(247, 201, 72, 0.12);
    color: #fff0bf;
  }

  &.missing {
    border-color: rgba(var(--accent-2-rgb), 0.55);
    background: rgba(var(--accent-2-rgb), 0.14);
    color: #ffe8e5;
  }

  &.game-sync {
    border-color: rgba(255, 202, 82, 0.72);
    background: rgba(255, 202, 82, 0.14);
    color: #fff0bf;
  }
}

.my-skins-detail {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 12px;
  border: var(--border-width) solid var(--line);
  border-radius: 0px;
  background: #11171d;
  overflow: auto;
}

.my-skin-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;

  h2 {
    margin: 0;
  }
}

.my-skin-project-metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  padding: 10px 12px;
  border: var(--border-width) solid var(--line-soft);
  border-radius: 0px;
  background: #0d1116;

  strong {
    margin-right: 6px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
  }

  span {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--text);
  }
}

.my-skin-detail-tabs {
  display: inline-flex;
  width: fit-content;
  border: var(--border-width) solid var(--line);
  background: #0b0f14;

  button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 8px 14px;
    border: 0;
    border-right: var(--border-width) solid var(--line);
    border-radius: 0;
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
  }

  button:last-child {
    border-right: 0;
  }

  button.active {
    background: rgba(var(--accent-rgb), 0.16);
    color: #fff;
  }
}

.my-skin-detail-panel {
  display: grid;
  gap: 14px;
  align-content: start;

  &[hidden] {
    display: none;
  }
}

.my-skin-diagnostics-panel {
  padding: 10px;
  border: var(--border-width) solid var(--line-soft);
  background: #0d1116;
}

.my-skin-preview-panel {
  display: grid;
  align-content: stretch;
  justify-items: stretch;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 12px;
  border: var(--border-width) solid var(--line-soft);
  border-radius: 0px;
  background: #0d1116;
  align-self: start;
}

.my-skin-preview-frame {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.my-skin-preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0px;
  border: var(--border-width) solid var(--line);
  background: #10161d;

  &.is-loading {
    opacity: 0.6;
  }
}

@keyframes my-skin-thumb-spinner {
  to {
    transform: rotate(360deg);
  }
}

.my-skin-ace-preview-state {
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 10px;
  border: var(--border-width) solid var(--line-soft);
  background: #10161d;
}

.my-skin-ace-preview-copy {
  display: grid;
  gap: 6px;
  justify-items: start;
  text-align: left;

  strong {
    color: #fff;
    font-size: 14px;
  }

  small {
    color: var(--muted);
    font-size: 12px;
    overflow-wrap: anywhere;
  }
}

.my-skin-ace-preview-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;

  .icon-text {
    flex: 1 1 0;
    justify-content: center;
    min-width: 0;
  }
}

.my-skin-edit-layout {
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) minmax(360px, 1.28fr);
  gap: 14px;
  align-items: stretch;
}

.my-skin-edit-card {
  display: grid;
  align-content: stretch;
  min-width: 0;
}

.my-skin-edit-card-preview {
  grid-column: 1;
  grid-row: 1;
}

.my-skin-edit-card-edit {
  grid-column: 2;
  grid-row: 1;
}

.my-skin-edit-name-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;

  label {
    min-width: 0;
  }

  input {
    width: 100%;
  }

  .my-skin-edit-actions {
    align-self: end;
  }

  .primary {
    white-space: nowrap;
  }
}

.my-skin-edit-metadata-row {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr) auto;
  gap: 10px;
  align-items: end;

  label {
    min-width: 0;
  }

  input {
    width: 100%;
  }

  .primary {
    min-height: 34px;
    height: 34px;
    white-space: nowrap;
  }
}

.my-skin-readonly-metadata {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;

  > div {
    display: grid;
    gap: 5px;
    min-width: 0;
    padding: 10px;
    border: var(--border-width) solid var(--line-soft);
    background: rgba(255, 255, 255, 0.025);
  }

  .is-wide {
    grid-column: 1 / -1;
  }

  span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
  }

  strong {
    min-width: 0;
    color: #f4f8ff;
    font-size: 14px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
}

.my-skin-edit-card-tyres {
  grid-column: 1;
  grid-row: 2;
}

.my-skin-edit-card-tyres {
  .my-skin-edit-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .my-skin-edit-actions .primary {
    width: 100%;
    justify-content: center;
  }
}

.my-skin-edit-card-tyres .my-skin-tyre-grid {
  grid-template-columns: minmax(0, 1fr) auto;
}

.my-skin-edit-subsection {
  display: grid;
  gap: 10px;
  min-width: 0;

  + .my-skin-edit-subsection {
    margin-top: 16px;
    padding-top: 14px;
    border-top: var(--border-width) solid rgba(255, 255, 255, 0.12);
  }
}

.my-skin-section-subtitle {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.my-skin-edit-card-numberplate {
  grid-column: 2;
  grid-row: 2;

  .my-skin-section {
    position: relative;
    min-height: 100%;
  }
}

.my-skin-numberplate-fields {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

#mySkinNumberplateNonePanel:not([hidden]) {
  display: grid;
  gap: 10px;
  text-align: left;

  label {
    display: grid;
    gap: 6px;
    width: min(180px, 100%);
    color: var(--text);
    font-weight: 700;
  }

  input {
    width: 100%;
  }
}

.my-skin-edit-card-numberplate.is-numberplate-disabled {
  .my-skin-numberplate-fields {
    opacity: 0.28;
    filter: grayscale(0.8);
    pointer-events: none;
  }
}

.my-skin-numberplate-disabled-overlay {
  position: absolute;
  inset: 38px 0 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(8, 11, 15, 0.72);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.my-skin-subtitle {
  color: var(--muted);
  font-size: 15px;
}

.my-skin-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}

.my-skin-toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.my-skin-toolbar-primary {
  padding: 10px;
  border: var(--border-width) solid var(--line-soft);
  background: #0d1116;
}

.my-skin-toolbar-secondary {
  padding: 10px;
  border: var(--border-width) solid var(--line-soft);
  background: #10151b;
}

.my-skin-sync-notice {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: var(--border-width) solid rgba(255, 202, 82, 0.55);
  background: rgba(255, 202, 82, 0.1);
  color: #fff0bf;

  summary {
    display: grid;
    gap: 4px;
    cursor: pointer;
    list-style-position: inside;
  }

  strong {
    color: #fff4c2;
    font-size: 14px;
    text-transform: uppercase;
  }

  span {
    color: #f8e4a8;
    font-size: 14px;
  }

  .my-skin-sync-list {
    margin: 2px 0 0;
    padding-left: 18px;
    color: #f8e4a8;
    font-size: 14px;
    line-height: 1.35;
  }

  .my-skin-sync-list li + li {
    margin-top: 2px;
  }

  &.danger {
    border-color: rgba(255, 92, 92, 0.7);
    background: rgba(255, 92, 92, 0.11);

    strong {
      color: #ffd0d0;
    }

    span {
      color: #ffc2c2;
    }
  }
}

.my-skin-official-health {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: var(--border-width) solid var(--line-soft);
  background: #0d1116;
  color: #e7eef7;

  &.is-ready {
    border-color: rgba(65, 214, 133, 0.45);
  }

  &.is-warning {
    border-color: rgba(255, 202, 82, 0.58);
  }

  &.is-danger {
    border-color: rgba(255, 92, 92, 0.72);
  }

  &.is-idle {
    border-color: rgba(142, 153, 168, 0.5);
  }

  p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.35;
  }
}

.my-skin-official-health-head {
  display: grid;
  gap: 3px;

  strong {
    color: #f4f8ff;
    font-size: 14px;
    text-transform: uppercase;
  }

  span {
    color: #b8c3d1;
    font-size: 14px;
  }
}

.my-skin-official-health-grid {
  display: grid;
  gap: 6px;
}

.my-skin-official-health-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 8px 10px;
  border: var(--border-width) solid rgba(142, 153, 168, 0.32);
  background: rgba(255, 255, 255, 0.025);

  > span {
    display: inline-flex;
    justify-content: center;
    min-height: 22px;
    padding: 3px 6px;
    border: var(--border-width) solid rgba(142, 153, 168, 0.42);
    color: #d7e0ea;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
  }

  div {
    display: grid;
    gap: 2px;
    min-width: 0;
  }

  strong {
    color: #f4f8ff;
    font-size: 14px;
  }

  p,
  em {
    margin: 0;
    color: #b8c3d1;
    font-size: 13px;
    font-style: normal;
    line-height: 1.35;
  }

  em {
    color: #d9c27e;
  }

  &.is-ok > span {
    border-color: rgba(65, 214, 133, 0.5);
    color: #a9f2c7;
  }

  &.is-warning > span {
    border-color: rgba(255, 202, 82, 0.58);
    color: #ffe09a;
  }

  &.is-error > span {
    border-color: rgba(255, 92, 92, 0.72);
    color: #ffc4c4;
  }
}

.my-skin-game-sync-pulse {
  animation: my-skin-game-sync-pulse 1.05s ease-in-out infinite;
}

@keyframes my-skin-game-sync-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(255, 202, 82, 0.7),
      0 0 0 0 rgba(255, 202, 82, 0.28);
  }

  50% {
    box-shadow:
      0 0 0 5px rgba(255, 202, 82, 0.28),
      0 0 18px 2px rgba(255, 202, 82, 0.38);
  }
}

.my-skin-toolbar-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 10px;
  border: var(--border-width) solid var(--line-soft);
  background: #10151b;
  color: #dce3e8;
  font-size: 14px;

  small {
    color: var(--muted);
  }
}

.my-skin-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;

  > div {
    display: grid;
    gap: 4px;
    padding: 10px;
    border: var(--border-width) solid var(--line-soft);
    border-radius: 0px;
    background: #0d1116;
  }

  span {
    color: var(--muted);
    font-size: 14px;
    text-transform: uppercase;
  }

  strong {
    color: #fff;
    overflow-wrap: anywhere;
  }
}

.my-skin-edit-grid.my-skin-browse-grid {
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
}

.my-skin-grid-wide {
  grid-column: 1 / -1;
}

.my-skin-inline-action {
  align-self: end;
  min-height: 34px;
  height: 34px;
}

.my-skin-edit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: end;

  label {
    display: grid;
    gap: 6px;
  }
}

.my-skin-edit-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.my-skin-edit-actions-inline {
  align-self: end;
  flex-wrap: nowrap;

  .primary {
    min-height: 34px;
    height: 34px;
    white-space: nowrap;
  }
}

.my-skin-numberplate-color {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(96px, 130px);
  gap: 10px;
  grid-column: 1 / -1;
  align-items: end;

  label {
    display: grid;
    gap: 6px;
  }

  input[type="color"] {
    width: 100%;
    height: 38px;
    padding: 0;
    border: var(--border-width) solid var(--line);
    border-radius: 0;
    background: #10151b;
  }
}

.package-progress {
  display: grid;
  gap: 8px;
}

.package-progress-bar {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  border: var(--border-width) solid var(--line);
  background: #0d1116;
}

.package-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--accent-3));
  transition: width 120ms linear;
}

.package-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;

  strong {
    color: #fff;
  }

  span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.my-skin-technical-details {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: var(--border-width) solid var(--line-soft);
  background: #0d1116;

  summary {
    cursor: pointer;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
  }
}

.my-skin-official-details {
  .my-skin-sync-notice {
    margin: 0;
  }
}

.my-skin-technical-body {
  display: grid;
  gap: 14px;
  margin-top: 10px;
}

.my-skin-technical-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 14px;
  align-items: start;
}

.my-skin-section {
  display: grid;
  gap: 8px;

  &.is-framed {
    align-content: start;
    height: 100%;
    padding: 12px;
    border: var(--border-width) solid var(--line-soft);
    background: #0d1116;
  }
}

.my-skin-section-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.my-skin-section.is-framed > .my-skin-section-title {
  font-size: 17px;
}

.my-skin-file-list,
.my-skin-loc-list {
  display: grid;
  gap: 6px;
}

.my-skin-file-row,
.my-skin-loc-row {
  display: grid;
  gap: 6px;
  padding: 10px;
  border: var(--border-width) solid var(--line-soft);
  border-radius: 0px;
  background: #0d1116;
}

.my-skin-file-row {
  grid-template-columns: 140px minmax(0, 1fr) 80px;
  align-items: center;

  .kind,
  .state {
    color: var(--muted);
    font-size: 14px;
    text-transform: uppercase;
  }

  .path {
    color: #d9e1e8;
    font-family: var(--font-body);
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  &.is-found .state {
    color: var(--accent);
  }

  &.is-missing .state {
    color: #ff7b72;
  }
}

.my-skin-loc-row {
  color: #d9e1e8;
  font-family: var(--font-body);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.my-skins-empty {
  padding: 18px;
  border: var(--border-width) dashed var(--line);
  border-radius: 0px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  text-align: center;

  &.small {
    padding: 12px;
    font-size: 14px;
    gap: 4px;
  }
}

