.hub-view.wtf-titles-view > :not(.wtf-title-page) {
  display: none !important;
}

.wtf-title-page {
  display: grid;
  gap: 20px;
  animation: wtf-title-page-in 220ms ease both;
}

.wtf-title-page-heading {
  display: grid;
  gap: 7px;
}

.wtf-title-page-heading > span {
  color: #8b6cff;
  font: 700 10px/1.2 "JetBrains Mono", monospace;
  letter-spacing: 0.13em;
}

.wtf-title-page-heading h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.wtf-title-page-heading p {
  margin: 0;
  color: rgba(225, 226, 242, 0.58);
  font-size: 13px;
}

.wtf-title-page .wtf-title-panel {
  margin-top: 0;
}

.hub-sidebar nav [data-wtf-titles-nav] svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes wtf-title-page-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wtf-title-panel {
  --title-accent: #8b6cff;
  --title-color-start: #cdb8ff;
  --title-color-end: #8b6cff;
  position: relative;
  display: grid;
  gap: 20px;
  margin: 22px 0 28px;
  padding: clamp(20px, 3vw, 30px);
  overflow: hidden;
  border: 1px solid rgba(139, 108, 255, 0.28);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 0%, rgba(139, 108, 255, 0.16), transparent 38%),
    linear-gradient(145deg, rgba(17, 14, 31, 0.98), rgba(8, 8, 17, 0.98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.wtf-title-panel[data-theme="games"] { --title-accent: #55d8ff; }
.wtf-title-panel[data-theme="rare"] { --title-accent: #ffc45e; }

.wtf-title-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.wtf-title-kicker,
.wtf-title-access,
.wtf-title-preview small {
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wtf-title-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--title-accent);
  font-size: 10px;
  font-weight: 700;
}

.wtf-title-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(23px, 3vw, 34px);
}

.wtf-title-head p {
  max-width: 650px;
  margin: 8px 0 0;
  color: rgba(225, 226, 242, 0.62);
  font-size: 13px;
  line-height: 1.55;
}

.wtf-title-access {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid color-mix(in srgb, var(--title-accent) 38%, transparent);
  border-radius: 999px;
  color: var(--title-accent);
  background: color-mix(in srgb, var(--title-accent) 10%, transparent);
  font-size: 9px;
  font-weight: 700;
}

.wtf-title-preview {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 15px 17px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(2, 3, 9, 0.56);
  overflow: hidden;
}

.wtf-title-preview-logo {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--title-accent) 42%, transparent);
  border-radius: 13px;
  color: white;
  background: color-mix(in srgb, var(--title-accent) 16%, #090911);
  font-size: 18px;
  font-weight: 900;
  transform: skew(-7deg);
}

.wtf-title-preview div {
  display: grid;
  gap: 3px;
}

.wtf-title-preview small {
  color: rgba(222, 224, 240, 0.42);
  font-size: 8px;
}

.wtf-title-preview-name {
  color: #fff;
  font-size: 14px;
}

.wtf-title-preview-value {
  width: fit-content;
  padding: 3px 9px;
  border-radius: 7px;
  color: var(--title-color-start);
  background: color-mix(in srgb, var(--title-color-start) 12%, transparent);
  font: 700 11px/1.4 "JetBrains Mono", monospace;
}

.wtf-title-preview-value.is-gradient {
  color: transparent;
  background:
    linear-gradient(90deg, var(--title-color-start), var(--title-color-end)) text,
    color-mix(in srgb, var(--title-color-start) 12%, transparent);
  -webkit-background-clip: text, border-box;
  background-clip: text, border-box;
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--title-color-start) 22%, transparent));
}

.wtf-title-panel[data-title-effect="shine"] .wtf-title-preview-value {
  background:
    linear-gradient(
      90deg,
      var(--title-color-start) 0%,
      var(--title-color-end) 36%,
      #ffffff 50%,
      var(--title-color-end) 64%,
      var(--title-color-start) 100%
    ) text,
    color-mix(in srgb, var(--title-color-start) 12%, transparent);
  background-size: 240% 100%, auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: wtf-title-shine 1.65s linear infinite;
}

.wtf-title-panel[data-title-effect="rainbow"] .wtf-title-preview-value {
  background:
    linear-gradient(90deg, #ff5d8f, #ffcf5c, #64ffb4, #5edfff, #8c6cff, #ff72df, #ff5d8f) text,
    color-mix(in srgb, var(--title-color-start) 12%, transparent);
  background-size: 300% 100%, auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: wtf-title-rainbow 2.1s linear infinite;
}

.wtf-title-panel[data-title-effect="pulse"] .wtf-title-preview-value {
  animation: wtf-title-pulse 1.2s ease-in-out infinite;
}

.wtf-title-panel[data-title-effect="rain"] .wtf-title-preview::after {
  position: absolute;
  inset: -18% -12%;
  content: "";
  pointer-events: none;
  opacity: 0.14;
  background: repeating-linear-gradient(
    112deg,
    transparent 0 24px,
    color-mix(in srgb, var(--title-color-start) 68%, white) 25px 27px,
    transparent 28px 48px
  );
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 82%, transparent);
  animation: wtf-title-rain-side-lines 1.15s linear infinite;
}

.wtf-title-panel[data-title-effect="rain"] .wtf-title-preview-value {
  color: transparent;
  background:
    linear-gradient(
      112deg,
      var(--title-color-start) 0%,
      var(--title-color-start) 27%,
      var(--title-color-end) 37%,
      #ffffff 43%,
      var(--title-color-end) 49%,
      var(--title-color-start) 60%,
      var(--title-color-start) 100%
    ) text,
    color-mix(in srgb, var(--title-color-start) 12%, transparent);
  background-size: 260% 260%, auto;
  -webkit-background-clip: text, border-box;
  background-clip: text, border-box;
  animation: wtf-title-rain-side-text 1.15s linear infinite;
}

@keyframes wtf-title-shine {
  from { background-position: 120% 0; }
  to { background-position: -120% 0; }
}

@keyframes wtf-title-rainbow {
  to { background-position: -300% 0; }
}

@keyframes wtf-title-pulse {
  0%, 100% { opacity: 0.72; filter: drop-shadow(0 0 3px transparent); }
  50% { opacity: 1; filter: drop-shadow(0 0 9px var(--title-color-start)); }
}

@keyframes wtf-title-rain-side-lines {
  from { transform: translate3d(-34px, 0, 0); }
  to { transform: translate3d(34px, 0, 0); }
}

@keyframes wtf-title-rain-side-text {
  from { background-position: 145% -85%, 0 0; }
  to { background-position: -145% 85%, 0 0; }
}

.wtf-title-style-editor {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(190px, 1.2fr) auto minmax(220px, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--title-color-start) 28%, rgba(255, 255, 255, 0.06));
  border-radius: 17px;
  background:
    linear-gradient(115deg, color-mix(in srgb, var(--title-color-start) 8%, transparent), transparent 52%),
    rgba(2, 3, 9, 0.48);
}

.wtf-title-style-copy {
  display: grid;
  gap: 3px;
}

.wtf-title-style-copy > span {
  color: var(--title-color-start);
  font: 700 8px/1.2 "JetBrains Mono", monospace;
  letter-spacing: 0.13em;
}

.wtf-title-style-copy strong {
  color: #fff;
  font-size: 14px;
}

.wtf-title-style-copy small {
  max-width: 310px;
  color: rgba(225, 226, 242, 0.5);
  font-size: 10px;
  line-height: 1.4;
}

.wtf-title-mode {
  display: flex;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
}

.wtf-title-mode button,
.wtf-title-style-save,
.wtf-title-presets button,
.wtf-title-effects button {
  border: 0;
  color: rgba(235, 236, 248, 0.55);
  background: transparent;
  cursor: pointer;
}

.wtf-title-mode button {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  font: 700 9px/1 "JetBrains Mono", monospace;
  transition: 150ms ease;
}

.wtf-title-mode button.is-active {
  color: #fff;
  background: color-mix(in srgb, var(--title-color-start) 20%, rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--title-color-start) 32%, transparent);
}

.wtf-title-effects {
  grid-column: 1 / -2;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.wtf-title-effects > span {
  margin-right: 5px;
  color: rgba(227, 228, 242, 0.38);
  font: 700 8px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.1em;
}

.wtf-title-effects button {
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 9px;
  font: 700 9px/1 "JetBrains Mono", monospace;
  transition: 150ms ease;
}

.wtf-title-effects button:hover,
.wtf-title-effects button.is-active {
  color: #fff;
  border-color: color-mix(in srgb, var(--title-color-start) 42%, transparent);
  background: color-mix(in srgb, var(--title-color-start) 16%, transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--title-color-start) 12%, transparent);
}

.wtf-title-colors {
  display: flex;
  gap: 8px;
}

.wtf-title-color-trigger {
  --trigger-color: #cdb8ff;
  display: grid;
  grid-template-columns: 30px minmax(58px, auto) 12px;
  align-items: center;
  gap: 8px;
  min-width: 122px;
  padding: 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  color: #fff;
  background:
    linear-gradient(112deg, color-mix(in srgb, var(--trigger-color) 10%, transparent), transparent 55%),
    rgba(255, 255, 255, 0.025);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.wtf-title-color-trigger:hover,
.wtf-title-color-trigger.is-active {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--trigger-color) 48%, rgba(255, 255, 255, 0.12));
  background:
    linear-gradient(112deg, color-mix(in srgb, var(--trigger-color) 18%, transparent), transparent 65%),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--trigger-color) 13%, transparent);
}

.wtf-title-color-trigger.is-muted {
  opacity: 0.38;
}

.wtf-title-color-swatch {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--trigger-color);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.28),
    0 5px 14px color-mix(in srgb, var(--trigger-color) 28%, transparent);
  overflow: hidden;
}

.wtf-title-color-swatch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 42%);
}

.wtf-title-color-trigger > span {
  display: grid;
  gap: 3px;
  min-width: 0;
  text-align: left;
}

.wtf-title-color-trigger small {
  color: rgba(227, 228, 242, 0.38);
  font: 700 7px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.08em;
}

.wtf-title-colors code {
  color: rgba(245, 245, 252, 0.82);
  font: 700 9px/1.2 "JetBrains Mono", monospace;
}

.wtf-title-color-trigger > b {
  position: relative;
  width: 10px;
  height: 10px;
}

.wtf-title-color-trigger > b::before,
.wtf-title-color-trigger > b::after {
  content: "";
  position: absolute;
  top: 5px;
  width: 6px;
  height: 1px;
  border-radius: 99px;
  background: rgba(239, 236, 255, 0.48);
  transition: transform 180ms ease;
}

.wtf-title-color-trigger > b::before { left: 0; transform: rotate(40deg); }
.wtf-title-color-trigger > b::after { right: 0; transform: rotate(-40deg); }
.wtf-title-color-trigger.is-active > b::before { transform: rotate(-40deg); }
.wtf-title-color-trigger.is-active > b::after { transform: rotate(40deg); }

.wtf-color-picker {
  --picker-hue: 260;
  --picker-color: #8b6cff;
  position: fixed;
  z-index: 2147483200;
  display: none;
  width: min(310px, calc(100vw - 24px));
  box-sizing: border-box;
  padding: 13px;
  border: 1px solid color-mix(in srgb, var(--picker-color) 30%, rgba(255, 255, 255, 0.1));
  border-radius: 18px;
  color: #f8f7ff;
  background:
    radial-gradient(circle at 12% -4%, color-mix(in srgb, var(--picker-color) 22%, transparent), transparent 38%),
    linear-gradient(145deg, rgba(24, 21, 40, 0.985), rgba(8, 8, 17, 0.992));
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(22px) saturate(135%);
  opacity: 0;
  transform: translateY(-8px) scale(0.965);
  transform-origin: 28px 0;
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 180ms ease;
}

.wtf-color-picker.opens-up {
  transform: translateY(8px) scale(0.965);
  transform-origin: 28px 100%;
}

.wtf-color-picker.is-open { display: block; }
.wtf-color-picker.is-visible { opacity: 1; transform: translateY(0) scale(1); }

.wtf-color-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 28px;
  margin-bottom: 10px;
}

.wtf-color-picker-head > span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wtf-color-picker-head > span > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--picker-color);
  box-shadow: 0 0 13px color-mix(in srgb, var(--picker-color) 72%, transparent);
  animation: wtfColorDot 1.8s ease-in-out infinite;
}

.wtf-color-picker-head b {
  color: rgba(244, 242, 255, 0.78);
  font: 800 8px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.12em;
}

.wtf-color-picker-head button {
  position: relative;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  transition: 160ms ease;
}

.wtf-color-picker-head button::before,
.wtf-color-picker-head button::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 8px;
  width: 10px;
  height: 1px;
  border-radius: 99px;
  background: rgba(240, 237, 255, 0.58);
}

.wtf-color-picker-head button::before { transform: rotate(45deg); }
.wtf-color-picker-head button::after { transform: rotate(-45deg); }
.wtf-color-picker-head button:hover { border-color: rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.065); transform: rotate(4deg); }

.wtf-color-sv {
  position: relative;
  height: 174px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 13px;
  background:
    linear-gradient(to bottom, transparent, #000),
    linear-gradient(to right, #fff, transparent),
    hsl(var(--picker-hue) 100% 50%);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.35),
    0 12px 28px color-mix(in srgb, var(--picker-color) 12%, transparent);
  cursor: crosshair;
  overflow: hidden;
  touch-action: none;
  outline: none;
}

.wtf-color-sv:focus-visible {
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.35),
    0 0 0 2px rgba(166, 146, 255, 0.72),
    0 12px 28px color-mix(in srgb, var(--picker-color) 12%, transparent);
}

.wtf-color-sv-glint {
  position: absolute;
  inset: -25% 45% 42% -30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 68%);
  pointer-events: none;
}

.wtf-color-sv-thumb {
  position: absolute;
  z-index: 2;
  width: 15px;
  height: 15px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--picker-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(0, 0, 0, 0.4);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: width 100ms ease, height 100ms ease;
}

.wtf-color-sv:active .wtf-color-sv-thumb { width: 19px; height: 19px; }

.wtf-color-hue-row {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 8px;
  margin: 11px 1px 10px;
}

.wtf-color-hue-row > span {
  color: rgba(227, 228, 242, 0.42);
  font: 800 7px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.1em;
}

.wtf-color-hue-row input {
  width: 100%;
  height: 14px;
  margin: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #f33, #ff0, #2f5, #2ef, #26f, #b2f, #f3a, #f33);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 4px 14px rgba(0, 0, 0, 0.25);
  appearance: none;
  -webkit-appearance: none;
  cursor: ew-resize;
}

.wtf-color-hue-row input::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: hsl(var(--picker-hue) 100% 50%);
  box-shadow: 0 2px 9px rgba(0, 0, 0, 0.65);
  appearance: none;
  -webkit-appearance: none;
}

.wtf-color-hue-row input::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: hsl(var(--picker-hue) 100% 50%);
  box-shadow: 0 2px 9px rgba(0, 0, 0, 0.65);
}

.wtf-color-picker-values {
  display: grid;
  grid-template-columns: 38px 92px 1fr;
  align-items: center;
  gap: 9px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.wtf-color-picker-values > i {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--picker-color);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24), 0 6px 18px color-mix(in srgb, var(--picker-color) 24%, transparent);
}

.wtf-color-picker-values label {
  display: grid;
  gap: 3px;
}

.wtf-color-picker-values label span {
  color: rgba(227, 228, 242, 0.38);
  font: 800 7px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.1em;
}

.wtf-color-picker-values input {
  width: 86px;
  box-sizing: border-box;
  padding: 0;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font: 800 11px/1.2 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.wtf-color-picker-values input.is-invalid { color: #ff7189; }

.wtf-color-picker-values small {
  justify-self: end;
  color: rgba(233, 231, 247, 0.48);
  font: 700 8px/1.4 "JetBrains Mono", monospace;
  white-space: nowrap;
}

.wtf-color-quick {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin: 10px 1px;
}

.wtf-color-quick button {
  position: relative;
  width: 28px;
  height: 23px;
  border: 0;
  border-radius: 7px;
  background: var(--quick);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.23), 0 4px 12px color-mix(in srgb, var(--quick) 18%, transparent);
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.wtf-color-quick button:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34), 0 8px 18px color-mix(in srgb, var(--quick) 28%, transparent);
}

.wtf-color-picker-done {
  width: 100%;
  min-height: 35px;
  border: 1px solid color-mix(in srgb, var(--picker-color) 34%, rgba(255, 255, 255, 0.08));
  border-radius: 10px;
  color: #fff;
  background:
    linear-gradient(100deg, color-mix(in srgb, var(--picker-color) 34%, rgba(34, 27, 59, 0.9)), rgba(24, 20, 40, 0.92));
  font: 800 9px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.wtf-color-picker-done:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--picker-color) 58%, rgba(255, 255, 255, 0.12));
  box-shadow: 0 9px 24px color-mix(in srgb, var(--picker-color) 16%, transparent);
}

@keyframes wtfColorDot {
  50% { opacity: 0.52; transform: scale(0.72); }
}

.wtf-title-presets {
  display: flex;
  gap: 6px;
}

.wtf-title-presets button {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--preset-start), var(--preset-end));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  transition: 150ms ease;
}

.wtf-title-presets button:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--preset-start) 28%, transparent);
}

.wtf-title-style-save {
  grid-column: -2 / -1;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--title-color-start) 32%, transparent);
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(100deg,
    color-mix(in srgb, var(--title-color-start) 26%, transparent),
    color-mix(in srgb, var(--title-color-end) 18%, transparent));
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  transition: 150ms ease;
}

.wtf-title-style-save:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--title-color-start) 18%, transparent);
}

.wtf-title-style-save:disabled {
  cursor: default;
  opacity: 0.42;
}

.wtf-title-catalog {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

.wtf-title-group {
  display: grid;
  gap: 9px;
}

.wtf-title-group h3 {
  margin: 0;
  color: rgba(236, 237, 250, 0.46);
  font: 700 10px/1.2 "JetBrains Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wtf-title-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wtf-title-choice,
.wtf-title-clear {
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(242, 242, 250, 0.72);
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  transition: 160ms ease;
}

.wtf-title-choice {
  min-height: 35px;
  padding: 7px 11px;
  border-radius: 10px;
  font: 700 11px/1 "JetBrains Mono", monospace;
}

.wtf-title-choice[data-theme="games"] {
  border-color: rgba(85, 216, 255, 0.17);
  color: #91e8ff;
}

.wtf-title-choice[data-theme="rare"] {
  border-color: rgba(255, 196, 94, 0.28);
  color: #ffd282;
  background: rgba(255, 196, 94, 0.06);
}

.wtf-title-choice:hover,
.wtf-title-choice.is-selected {
  border-color: var(--title-accent);
  color: #fff;
  background: color-mix(in srgb, var(--title-accent) 18%, transparent);
  box-shadow: 0 0 24px color-mix(in srgb, var(--title-accent) 15%, transparent);
  transform: translateY(-1px);
}

.wtf-title-choice:disabled,
.wtf-title-clear:disabled {
  cursor: default;
  opacity: 0.48;
  transform: none;
}

.wtf-title-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.wtf-title-message {
  color: rgba(231, 232, 244, 0.58);
  font-size: 12px;
}

.wtf-title-message.is-error { color: #ff7189; }

.wtf-title-clear {
  flex: 0 0 auto;
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
}

.wtf-title-clear:not(:disabled):hover {
  border-color: rgba(255, 106, 132, 0.45);
  color: #ff8fa3;
  background: rgba(255, 106, 132, 0.08);
}

@media (max-width: 680px) {
  .wtf-title-head,
  .wtf-title-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .wtf-title-access,
  .wtf-title-clear {
    width: fit-content;
  }

  .wtf-title-choice {
    min-height: 38px;
  }

  .wtf-title-style-editor {
    grid-template-columns: 1fr;
  }

  .wtf-title-colors {
    flex-wrap: wrap;
  }

  .wtf-title-style-save {
    width: 100%;
    grid-column: 1 / -1;
  }

  .wtf-title-effects {
    grid-column: 1 / -1;
    flex-wrap: wrap;
  }
}

@media (min-width: 681px) and (max-width: 1180px) {
  .wtf-title-style-editor {
    grid-template-columns: 1fr auto;
  }

  .wtf-title-style-copy {
    grid-column: 1 / -1;
  }

  .wtf-title-effects,
  .wtf-title-style-save {
    grid-column: 1 / -1;
  }
}

@media (max-width: 420px) {
  .wtf-title-color-trigger {
    min-width: 112px;
  }

  .wtf-color-picker {
    padding: 11px;
    border-radius: 16px;
  }

  .wtf-color-sv {
    height: 150px;
  }

  .wtf-color-picker-values {
    grid-template-columns: 34px 88px 1fr;
  }

  .wtf-color-picker-values > i {
    width: 34px;
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wtf-title-preview-value,
  .wtf-title-preview::after,
  .wtf-color-picker-head > span > i {
    animation: none !important;
  }

  .wtf-color-picker {
    transition-duration: 1ms;
  }
}
