.os-shell--extras {
  overflow: hidden;
}

.extras-content-window .os-window-body--terminal {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  min-height: 0;
  overflow: hidden;
}

.extras-content-window .term-prompt {
  flex-shrink: 0;
}

.extras-content-window .menu-v-scroll-clip {
  flex: 1 1 auto;
  min-height: 0;
}

.extras-scroll {
  flex: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1em;
  padding-bottom: 1rem;
  box-sizing: border-box;
}

.extras-scroll>.extras-view {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.extras-view[hidden] {
  display: none !important;
}

.extras-hub-text {
  font-size: 0.95em;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: rgba(255, 160, 96, 0.55);
  -webkit-text-fill-color: rgba(255, 160, 96, 0.55);
}

.extras-list,
.extras-links-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
}

.extras-list {
  list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.extras-list>li {
  min-width: 0;
}

.extras-game-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45em;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0.5em;
  border: 1px solid rgba(255, 128, 0, 0.28);
  background: rgba(4, 6, 9, 0.85);
  font: inherit;
  text-align: left;
  appearance: none;
  cursor: var(--cursor-pointer);
  transition: border-color 0.12s ease, background-color 0.12s ease, box-shadow 0.12s ease;
}

.extras-game-card:hover,
.extras-game-card:focus-visible {
  border-color: rgba(255, 128, 0, 0.55);
  background: rgba(255, 128, 0, 0.08);
  box-shadow: inset 0 0 12px rgba(255, 90, 40, 0.1);
  outline: none;
}

.extras-game-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(255, 128, 0, 0.2);
  background: #040609;
}

.extras-game-card-image--empty {
  min-height: 5.5rem;
}

.extras-game-card-body {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  gap: 0.5em;
  min-width: 0;
}

.extras-game-card-title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9em;
  letter-spacing: 0.08em;
  line-height: 1.2;
  color: #ffcc9f;
  -webkit-text-fill-color: #ffcc9f;
}

.extras-game-card-stars {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  align-self: center;
  margin-left: auto;
  gap: 0.15em;
  line-height: 1;
}

.extras-game-star {
  font-size: 0.85em;
  letter-spacing: 0;
  line-height: 1;
  color: rgba(255, 160, 96, 0.22);
  -webkit-text-fill-color: rgba(255, 160, 96, 0.22);
}

.extras-game-star.is-filled {
  display: inline-block;
  color: #ffb347;
  -webkit-text-fill-color: #ffb347;
  text-shadow: 0 0 6px rgba(255, 140, 40, 0.45);
  transform: translateY(0.06em);
}

.extras-list>.extras-hub-text {
  grid-column: 1 / -1;
}

.extras-game-frame {
  flex: 1 1 auto;
  min-height: 12rem;
  width: 100%;
  box-sizing: border-box;
  display: block;
  border: 1px solid rgba(255, 128, 0, 0.35);
  background: #040609;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  outline: none;
  cursor: url("cursor-pointer.svg") 2.1 0, pointer;
}

.extras-game-keyboard-focus {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.extras-game-frame:focus,
.extras-game-frame:focus-visible,
.extras-game-frame:active {
  outline: none;
}

.extras-art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 12px;
}

.extras-art-card {
  display: flex;
  flex-direction: column;
  gap: 0.35em;
  width: 100%;
  margin: 0;
  padding: 0.5em;
  border: 1px solid rgba(255, 128, 0, 0.28);
  background: rgba(4, 6, 9, 0.85);
  font: inherit;
  text-align: left;
  appearance: none;
  cursor: var(--cursor-pointer);
  transition: border-color 0.12s ease, background-color 0.12s ease, box-shadow 0.12s ease;
}

.extras-art-card:hover,
.extras-art-card:focus-visible {
  border-color: rgba(255, 128, 0, 0.55);
  background: rgba(255, 128, 0, 0.08);
  box-shadow: inset 0 0 12px rgba(255, 90, 40, 0.1);
  outline: none;
}

.extras-art-card.is-active {
  border-color: rgba(255, 128, 0, 0.75);
  background: rgba(255, 128, 0, 0.1);
}

.extras-art-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(255, 128, 0, 0.2);
  background: #040609;
}

.extras-art-caption {
  font-size: 0.8em;
  letter-spacing: 0.08em;
  color: #ffcc9f;
  -webkit-text-fill-color: #ffcc9f;
}

.extras-links-intro {
  font-size: 0.9em;
  line-height: 1.45;
  letter-spacing: 0.06em;
  color: rgba(255, 160, 96, 0.55);
  -webkit-text-fill-color: rgba(255, 160, 96, 0.55);
  margin: 0 0 1em;
}

.extras-link-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 0.55em 0.75em;
  border: 1px solid rgba(255, 128, 0, 0.35);
  background: rgba(4, 6, 9, 0.85);
  font: inherit;
  text-align: left;
  appearance: none;
  cursor: var(--cursor-pointer);
  transition: background-color 0.1s ease, border-color 0.1s ease;
}

.extras-link-row:hover,
.extras-link-row:focus-visible {
  border-color: rgba(255, 128, 0, 0.55);
  background: rgba(255, 128, 0, 0.08);
  outline: none;
}

.extras-link-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.extras-link-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.95em;
  letter-spacing: 0.03em;
  text-transform: none;
  color: #ffcc9f;
  -webkit-text-fill-color: #ffcc9f;
}

.extras-nav-tab.is-active {
  border-color: rgba(255, 128, 0, 0.75);
  background: rgba(255, 128, 0, 0.1);
  box-shadow: inset 0 0 12px rgba(255, 90, 40, 0.12);
}

.extras-nav-tab-label {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4em;
  min-width: 0;
}

.extras-nav-tab-count {
  font-size: 0.68em;
  line-height: 1;
  letter-spacing: 0.03em;
  opacity: 0.55;
  transform: translateY(0.12em);
}

.extras-game-toolbar {
  --settings-choice-btn-height: clamp(1.05rem, 2.25vmin, 1.4rem);
  container-type: inline-size;
  container-name: extras-game-toolbar;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5em;
  flex-shrink: 0;
  margin-bottom: 8px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.extras-game-toolbar .extras-game-back {
  flex: 0 1 auto;
  width: auto;
  max-width: 100%;
  min-width: 0;
  margin-bottom: 0;
  align-self: center;
}

.extras-game-toolbar .extras-game-desktop-link-option {
  flex: 0 1 auto;
  width: auto;
  max-width: 100%;
  min-width: 0;
  margin-left: auto;
  margin-right: 0;
  margin-bottom: 0;
  align-self: auto;
  min-height: 0;
  height: auto;
}

@container extras-game-toolbar (min-width: 26.01rem) {
  .extras-game-toolbar .extras-game-desktop-link-option {
    align-self: stretch;
  }
}

@container extras-game-toolbar (max-width: 26rem) {
  .extras-game-toolbar .extras-game-back {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    align-self: auto;
    min-height: 0;
  }

  .extras-game-toolbar .extras-game-desktop-link-option {
    flex: 0 1 auto;
    width: auto;
    max-width: 100%;
    margin-left: auto;
    margin-right: 0;
    align-self: auto;
    min-height: 0;
  }

  .extras-game-toolbar .extras-game-desktop-link-label,
  .extras-game-toolbar .extras-game-back .term-row-label {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

.extras-game-desktop-link-option {
  appearance: none;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  min-height: 0;
  height: auto;
  box-sizing: border-box;
  padding: 0.55em 0.75em;
  margin: 0;
  border: 1px solid rgba(255, 128, 0, 0.24);
  background: rgba(4, 6, 9, 0.85);
  cursor: var(--cursor-pointer);
  text-align: left;
}

.extras-game-desktop-link-option:hover,
.extras-game-desktop-link-option:focus-visible {
  border-color: rgba(255, 128, 0, 0.45);
  background: rgba(255, 128, 0, 0.08);
  outline: none;
}

.extras-game-desktop-link-option .settings-switch {
  pointer-events: none;
  flex-shrink: 0;
  width: calc(var(--settings-choice-btn-height, 1.2rem) * 1.85);
  min-width: calc(var(--settings-choice-btn-height, 1.2rem) * 1.85);
  height: var(--settings-choice-btn-height, 1.2rem);
  min-height: var(--settings-choice-btn-height, 1.2rem);
}

.extras-game-desktop-link-option .settings-switch.is-on .settings-switch-track,
.extras-game-desktop-link-option[aria-pressed="true"] .settings-switch-track {
  background-color: rgba(14, 10, 4, 0.95);
  border-color: rgba(255, 128, 0, 0.55);
}

.extras-game-desktop-link-option .settings-switch.is-on .settings-switch-thumb,
.extras-game-desktop-link-option[aria-pressed="true"] .settings-switch-thumb {
  transform: translate3d(calc(100% + 2px), 0, 0);
  background-color: rgba(255, 128, 0, 0.45);
  border-color: rgba(255, 128, 0, 0.75);
}

.extras-game-desktop-link-label {
  font-size: clamp(0.92rem, 2vmin, 1.2rem);
  letter-spacing: 0.04em;
  text-transform: none;
  white-space: nowrap;
  line-height: 1.2;
  min-width: 0;
}

.extras-game-back {
  flex-shrink: 0;
}

.extras-view#extrasViewGame {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
  box-sizing: border-box;
}

.extras-view#extrasViewGame .extras-game-frame {
  flex: 1 1 0;
  min-height: 10rem;
}

.extras-link-overlay-url {
  word-break: break-all;
  margin-bottom: 0.75em;
}

.extras-link-overlay-text {
  font-size: 0.95em;
  letter-spacing: 0.06em;
  color: #ffcc9f;
  -webkit-text-fill-color: #ffcc9f;
  margin: 0 0 1em;
}

.extras-link-overlay-menu .term-row {
  width: 100%;
}

#extrasArtViewer.term-overlay {
  z-index: 19;
  padding: clamp(0.65rem, 2.5vh, 1.25rem) clamp(0.45rem, 1.25vw, 0.75rem);
  cursor: var(--cursor-default);
  --extras-art-modal-open-ms: 340;
}

#extrasArtViewer .extras-art-window {
  cursor: var(--cursor-default);
}

#extrasArtViewer .extras-art-viewer-image-box {
  cursor: var(--cursor-pointer);
}

.extras-art-viewer-image-box {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-height: calc(90vh - 8.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 128, 0, 0.28);
  background: #040609;
  appearance: none;
  box-sizing: border-box;
  text-align: center;
}

.extras-art-viewer-image-box:hover,
.extras-art-viewer-image-box:focus-visible {
  border-color: rgba(255, 128, 0, 0.45);
  background: rgba(4, 6, 9, 0.95);
  outline: none;
}

.extras-art-viewer-image {
  flex: 0 1 auto;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border: none;
  background: transparent;
  pointer-events: none;
}

#extrasArtViewer .extras-art-window {
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  max-width: min(98vw, calc(100vw - 1.5rem));
  height: min(90vh, 52rem);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  transform: scale(0.94);
  opacity: 0;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

#extrasArtViewer.is-open .extras-art-window {
  transform: scale(1);
  opacity: 1;
}

.extras-art-window-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75em;
}

#extrasArtViewer .extras-art-viewer-actions {
  flex-shrink: 0;
  width: 100%;
  --settings-choice-btn-height: clamp(1.05rem, 2.25vmin, 1.4rem);
}

.extras-art-viewer-switch-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.extras-art-viewer-close-btn {
  flex-shrink: 0;
  width: auto;
  margin-left: auto;
  align-self: center;
  padding: 0.55em 0.75em;
}

.extras-art-random-option {
  display: flex;
  flex-direction: row;
  align-items: center;
  min-width: 0;
}

.extras-art-random-switch-wrap {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  min-width: 0;
}

.extras-art-random-help-btn {
  flex-shrink: 0;
  margin: 0;
  padding: 0.55em 0 0.55em 0.55em;
  top: 0;
  display: none !important;
  pointer-events: none;
}

.extras-art-random-help-btn.is-visible {
  display: inline-flex !important;
  pointer-events: auto;
}

.extras-art-bg-option {
  appearance: none;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.55em 0.75em;
  margin: 0;
  border: 1px solid rgba(255, 128, 0, 0.24);
  background: rgba(4, 6, 9, 0.85);
  cursor: var(--cursor-pointer);
  text-align: left;
}

.extras-art-bg-option:hover,
.extras-art-bg-option:focus-visible {
  border-color: rgba(255, 128, 0, 0.45);
  background: rgba(255, 128, 0, 0.08);
  outline: none;
}

.extras-art-bg-option:disabled,
.extras-art-bg-option:disabled:hover,
.extras-art-bg-option:disabled:focus-visible {
  filter: saturate(0.22) brightness(0.92);
  opacity: 0.62;
  border-color: rgba(255, 128, 0, 0.14);
  background: rgba(4, 6, 9, 0.72);
  cursor: var(--cursor-forbidden);
  outline: none;
}

.extras-art-bg-option:disabled .extras-art-switch-label {
  color: rgba(255, 160, 96, 0.42);
  -webkit-text-fill-color: rgba(255, 160, 96, 0.42);
}

.extras-art-bg-option:disabled .settings-switch-track {
  border-color: rgba(255, 128, 0, 0.1);
  background: rgba(8, 6, 4, 0.92);
}

.extras-art-bg-option:disabled .settings-switch-thumb {
  border-color: rgba(255, 128, 0, 0.08);
  background-color: rgba(36, 26, 16, 0.38);
  background-image: repeating-linear-gradient(-45deg,
      rgba(196, 98, 28, 0.06) 0,
      rgba(196, 98, 28, 0.06) 4px,
      rgba(100, 52, 14, 0.03) 4px,
      rgba(100, 52, 14, 0.03) 8px);
}

.extras-art-bg-option:disabled .settings-switch.is-on .settings-switch-track {
  border-color: rgba(255, 128, 0, 0.16);
  background: rgba(255, 128, 0, 0.06);
}

.extras-art-bg-option:disabled .settings-switch.is-on .settings-switch-thumb {
  border-color: rgba(255, 128, 0, 0.14);
  background: rgba(255, 160, 96, 0.28);
}

.extras-art-bg-option .settings-switch {
  pointer-events: none;
  flex-shrink: 0;
  width: calc(var(--settings-choice-btn-height) * 1.85);
  min-width: calc(var(--settings-choice-btn-height) * 1.85);
  height: var(--settings-choice-btn-height);
  min-height: var(--settings-choice-btn-height);
}

.extras-art-switch-label {
  font-size: clamp(1rem, 2.4vmin, 1.45rem);
  letter-spacing: 0.04em;
  text-transform: none;
  white-space: nowrap;
  line-height: 1.2;
}

#extrasArtViewer .term-menu {
  flex-shrink: 0;
}

.menu-screen.terminal-animations-off .extras-art-bg-option .settings-switch-track,
.menu-screen.terminal-animations-off .extras-art-bg-option .settings-switch-thumb {
  --settings-switch-motion-ms: 0ms;
  transition: none !important;
  animation: none !important;
}