@import url('https://unpkg.com/normalize.css') layer(normalize);
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

@layer normalize, base, demo, toggle, transitions, debug;

@layer debug {
  .arrow {
    font-family: 'Gloria Hallelujah', cursive;
    font-size: .875rem;
    position: absolute;
    opacity: .6;
    span {
      white-space: nowrap;
      display: inline-block;
    }
    &.arrow--main {
      right: 120%;
      rotate: -30deg;
      transition: opacity .26s ease-out;
      svg {
        rotate: 10deg;
        width: 24px;
        top: 150%;
        left: 50%;
        position: absolute;
        scale: -1 1;
      }
    }
  }
  [data-debug=true] {
    main {
      transform: rotateX(-24deg) rotateY(24deg);
      transition: transform 0.32s ease-out;
    }
    :is(.debug, .knockout--debug) {
      opacity: 1;
      transition-property: transform, opacity;
      transition-duration: 0.32s, 0.32s;
      transition-delay: 0.4s, 0.4s;
      transition-timing-function: ease-out, ease-in;
    }
    .debug--knockout {
      transform: translate3d(0, 0, -200px);
    }
    .debug--indicator {
      transform: translate3d(0, 0, 200px);
    }
    .debug .arrow {
      opacity: .6;
      transition: opacity 0.1s 0.8s ease-out;
    }
  }
  .debug {
    transform-style: preserve-3d;
    outline: 4px var(--checked) dashed;
    outline-offset: 4px;
    height: 100%;
    width: 100%;
    opacity: 0;
    border-radius: inherit;
    pointer-events: none;
    position: absolute;
    inset: 0;
    .arrow {
      transform-style: preserve-3d;
      position: absolute;
      left: calc(100% + 2rem);
      top: 50%;
      translate: 0 -50%;
      transform: rotateY(-24deg) rotateX(24deg) translate3d(0, 0, 100px);
      z-index: 20;
      opacity: 0;
    }
  }
  .indicator__liquid--debug {
    pointer-events: none;
    .wrapper {
      clip-path: unset;
    }
    .liquids {
      overflow: visible;
    }
  }
  :is(.debug) {
    transition-property: transform, opacity;
    transition-duration: 0.32s, 0.32s;
    transition-delay: 0.2s, 0.2s;
    transition-timing-function: ease-in, ease-out;
  }
  main {
    position: relative;
    transition: transform 0.32s 0.4s ease-out;
  }
  main,
  .liquid-toggle {
    transform-style: preserve-3d;
  }
}

@layer transitions {
  :root {
    --transition: 0.2s;
    --ease: ease-out;
  }
  [data-pressed=true] .liquid__track {
    min-height: 30px;
  }
  [data-bounce='true']:has(:is(button:active, [data-pressed="true"])) {
    --transition: 0.6s;
    --ease: linear(
      0 0%,
      0.6091 3.69%,
      1.0259 7.24%,
      1.1733 9.05%,
      1.283 10.92%,
      1.3562 12.87%,
      1.3948 14.95%,
      1.4014 16.03%,
      1.3999 17.16%,
      1.3731 19.64%,
      1.3202 22.27%,
      1.1394 29.39%,
      1.0582 33.17%,
      0.9943 37.45%,
      0.9734 39.64%,
      0.9593 41.92%,
      0.9505 45.08%,
      0.9517 48.7%,
      0.9924 63.02%,
      1.0046 71.2%,
      1.0061 78.24%,
      1 100%
    );
  }
  .indicator--masked .mask {
    translate: calc((var(--complete) / 100) * (100cqi - 60cqi - (0 * var(--border)))) -50%;
    transition-property: height, width, margin, scale;
    transition-duration: var(--transition);
    transition-timing-function: var(--ease);
    will-change: height, width, margin;
  }
  .wrapper {
    clip-path: inset(0 0 0 0 round 100px);
    filter: blur(6px);
    transition: filter var(--transition) var(--ease);
  }
  [aria-pressed='true']:not([data-active='true']) .liquid__track {
    left: calc(var(--border) * 6);
  }
  .liquid__track {
    left: 0;
    transition-property: height, width, filter, left;
    transition-duration: var(--transition);
    transition-timing-function: var(--ease);
    translate: calc((var(--complete) / 100) * (100cqi - 100% - (6 * var(--border)))) -50%;
  }
  [data-mapped=false] .liquid__track {
    transition-property: height, width, filter, left, background;
    transition-duration: var(--transition), var(--transition), var(--transition), var(--transition), calc(var(--transition) * 0.5);
    transition-timing-function: var(--ease), var(--ease), var(--ease), var(--ease), ease-out;
  }
  .indicator__liquid {
    translate: calc((var(--complete) / 100) * (100cqi - 100% - (2 * var(--border)))) -50%;
    transition-property: scale;
    transition-duration: var(--transition);
    transition-timing-function: var(--ease);
  }
  .indicator__liquid :is(.cover, .shadow) {
    transition: opacity var(--transition) var(--ease);
  }
  [data-active='true'] .indicator--masked .mask,
  .liquid-toggle:active .indicator--masked .mask {
    height: calc((100% - (2 * var(--border))) * (1.65 - (var(--delta, 0) * 0.025)));
    width: calc((60% - (2 * var(--border))) * (1.65 + (var(--delta, 0) * 0.025)));
    margin-left: calc((60% - (2 * var(--border))) * ((.65 + (var(--delta, 0) * 0.025)) * -0.5));
  }
  [data-active='true'] .indicator__liquid,
  .liquid-toggle:active .indicator__liquid {
    scale: calc(1.65 + (var(--delta, 0) * 0.025)) calc(1.65 - (var(--delta, 0) * 0.025));
  }
  [data-active='true'] .wrapper,
  .liquid-toggle:active .wrapper {
    filter: blur(0px);
  }
  [data-active='true'] .indicator__liquid .shadow,
  .liquid-toggle:active .indicator__liquid .shadow {
    opacity: 1;
  }
  [data-active='true'] .indicator__liquid .cover,
  .liquid-toggle:active .indicator__liquid .cover {
    opacity: 0;
  }
  [data-active='true'] .indicator__liquid .liquid__track,
  .liquid-toggle:active .indicator__liquid .liquid__track {
    left: calc(var(--border) * 3);
    height: calc((var(--height) * 1px) - (6 * var(--border)));
  }
}

@layer toggle {
  [data-mapped=false] .liquid-toggle {
    --progress: round(down, var(--complete), 85);
    --checked: hsl(var(--hue, 144), calc((8 + (var(--progress) / 85 * (92))) * 1%), calc((81 - (var(--progress) / 85 * (81 - 43))) * 1%));
    .indicator, .indicator--masked {
      transition: background calc(var(--transition) * 0.5) ease-out;
    }
    .liquid__shadow {
      transition: box-shadow calc(var(--transition) * 0.5) ease-out;
    }
  }
  .liquid-toggle {
    --unchecked: hsl(218, 8%, 81%);
    --checked: hsl(var(--hue, 144), calc((8 + (var(--complete) / 100 * (92))) * 1%), calc((81 - (var(--complete) / 100 * (81 - 43))) * 1%));
    --control: hsl(300, 100%, 100%);
    --border: 3px;
    --width: 70;
    --height: 35;
    height: calc(var(--height) * 1px);
    width: calc(var(--width) * 1px);
    border-radius: 100px;
    border: 0;
    padding: 0;
    cursor: pointer;
    position: relative;
    overflow: visible;
    container-type: inline-size;
    background: #0000;
    transition: outline var(--transition) var(--ease);
    outline-offset: 2px;
  }
  .liquid-toggle:focus-visible {
    outline: 4px solid color-mix(in oklch, var(--checked), #0000);
  }
  .liquid-toggle:active {
    outline: none;
  }
  .liquid-toggle[data-active='true']:focus-visible {
    outline: 4px solid #0000;
  }
  .indicator {
    border-radius: 100px;
    pointer-events: none;
    height: 100%;
    width: 100%;
    background: var(--checked);
    position: absolute;
    top: 50%;
    scale: 1;
    left: 50%;
    translate: -50% -50%;
  }
  .knockout {
    height: calc(var(--height) * 1px);
    width: calc(var(--width) * 1px);
    border-radius: 100px;
    filter: url(#remove-black);
    position: absolute;
    inset: 0;
    will-change: filter, scale;
    transform: translate3d(0, 0, 0);
  }
  .indicator--masked {
    background: var(--checked);
    z-index: 12;
    height: 100%;
    width: 100%;
    translate: -50% -50%;
    container-type: inline-size;
    .mask {
      position: absolute;
      height: calc(100% - (2 * var(--border)));
      width: calc(60% - (2 * var(--border)));
      top: 50%;
      background: #000;
      left: var(--border);
      border-radius: 100px;
    }
  }
  .wrapper {
    position: absolute;
    inset: 0;
    border-radius: 100px;
  }
  .liquids {
    position: absolute;
    inset: 0;
    transform: translate3d(0, 0, 0);
    border-radius: 100px;
    overflow: hidden;
    filter: url(#goo);
    .liquid__shadow {
      position: absolute;
      inset: 0;
      box-shadow: inset 0px 0px 3px 4px var(--checked), inset calc(((var(--complete) / 100) * 8px) + -4px) 0px 3px 4px var(--checked);
      border-radius: 100px;
    }
    .liquid__track {
      content: '';
      height: calc((var(--height) * 1px) - (0 * var(--border)));
      width: calc((var(--width) * 1px) - (0 * var(--border)));
      background: var(--checked);
      border-radius: 100px;
      position: absolute;
      top: 50%;
    }
  }
  .indicator__liquid {
    position: absolute;
    height: calc(100% - (2 * var(--border)));
    width: calc(60% - (2 * var(--border)));
    container-type: inline-size;
    top: 50%;
    background: #0000;
    left: var(--border);
    border-radius: 100px;
    .shadow {
      opacity: 0;
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 100px;
      box-shadow: 1px -1px 2px hsl(0 0% 100% / 0.5) inset, 0px -1px 2px hsl(0 0% 100% / 0.5) inset, -1px -1px 2px hsl(0 0% 100% / 0.5) inset, 1px 1px 2px hsl(0 0% 30% / 0.5) inset, -8px 4px 10px -6px hsl(0 0% 30% / 0.25) inset, -1px 1px 6px hsl(0 0% 30% / 0.25) inset, -1px -1px 8px hsl(0 0% 60% / 0.15), 1px 1px 2px hsl(0 0% 30% / 0.15), 2px 2px 6px hsl(0 0% 30% / 0.15), -2px -1px 2px hsl(0 0% 100% / 0.25) inset, 3px 6px 16px -6px hsl(0 0% 30% / 0.5);
      z-index: 20;
    }
    .cover {
      content: '';
      position: absolute;
      inset: 0;
      background: white;
      border-radius: 100px;
    }
  }
}

@layer base {
  :root {
    --font-size-min: 16;
    --font-size-max: 20;
    --font-ratio-min: 1.2;
    --font-ratio-max: 1.33;
    --font-width-min: 375;
    --font-width-max: 1500;
    --yellow: #f5d86e;
    --bg-dark: #333;
    --light-gray: #d3d3d3;
  }
  html {
    color-scheme: light dark;
  }
  [data-theme='light'] {
    color-scheme: light only;
  }
  [data-theme='dark'] {
    color-scheme: dark only;
  }
  :where(.fluid) {
    --fluid-min: calc(var(--font-size-min) * pow(var(--font-ratio-min), var(--font-level, 0)));
    --fluid-max: calc(var(--font-size-max) * pow(var(--font-ratio-max), var(--font-level, 0)));
    --fluid-preferred: calc((var(--fluid-max) - var(--fluid-min)) / (var(--font-width-max) - var(--font-width-min)));
    --fluid-type: clamp((var(--fluid-min) / 16) * 1rem, ((var(--fluid-min) / 16) * 1rem) - (((var(--fluid-preferred) * var(--font-width-min)) / 16) * 1rem) + (var(--fluid-preferred) * var(--variable-unit, 100vi)), (var(--fluid-max) / 16) * 1rem);
    font-size: var(--fluid-type);
  }
  *,
  *:after,
  *:before {
    box-sizing: border-box;
  }
  body {
    background: light-dark(#fff, #000);
    min-height: 100vh;
    font-family: 'SF Pro Text', 'SF Pro Icons', 'AOS Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif, system-ui;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
  }
}

.settings-container {
    padding: 0 20px;
}

.settings-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.15) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.settings-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Manrope', sans-serif;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.avatar-settings {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.current-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0.12) 100%);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.current-avatar:hover {
    transform: scale(1.05);
    border-color: rgba(245, 216, 110, 0.6);
}

.current-avatar img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
}

.change-avatar-btn {
    text-align: center;
    background: linear-gradient(135deg, rgba(245, 216, 110, 0.3) 0%, rgba(240, 213, 124, 0.4) 100%);
    border: 1px solid rgba(245, 216, 110, 0.5);
    border-radius: 12px;
    padding: 10px 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Manrope', sans-serif;
    display: block;
    margin: 0 auto;
    width: fit-content;
    min-width: 160px;
}

.change-avatar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 216, 110, 0.3);
}

.avatar-carousel-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(25px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.avatar-carousel-modal.visible {
    opacity: 1;
    visibility: visible;
}

.avatar-carousel-container-settings {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0.12) 100%);
    backdrop-filter: blur(35px);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 35px;
    width: 100%;
    max-width: 420px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.6), 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.avatar-carousel-modal.visible .avatar-carousel-container-settings {
    transform: scale(1) translateY(0);
}

.avatar-carousel-container-settings::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(245, 216, 110, 0.08) 0%, transparent 30%, transparent 70%, rgba(245, 216, 110, 0.08) 100%);
    border-radius: 32px;
    pointer-events: none;
}

.welcome-header {
    text-align: center;
    margin-bottom: 30px;
}

.welcome-header h2 {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    font-family: 'Manrope', sans-serif;
}

.welcome-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin: 0;
    font-family: 'Manrope', sans-serif;
}

.avatar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 35px;
}

.avatar-grid-item {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.avatar-grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.avatar-grid-item:hover::before {
    opacity: 1;
}

.avatar-grid-item:hover {
    transform: translateY(-4px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 6px 20px rgba(255, 255, 255, 0.15);
}

.avatar-grid-item.selected {
    border-color: rgba(245, 216, 110, 0.9);
    background: linear-gradient(135deg, rgba(245, 216, 110, 0.18) 0%, rgba(240, 213, 124, 0.25) 100%);
    box-shadow: 0 12px 30px rgba(245, 216, 110, 0.4), 0 6px 20px rgba(245, 216, 110, 0.25);
    transform: scale(1.08);
}

.avatar-grid-item.selected::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: rgba(245, 216, 110, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.avatar-grid-item img {
    width: 82%;
    height: 82%;
    border-radius: 16px;
    object-fit: cover;
    transition: all 0.3s ease;
    filter: brightness(0.95);
}

.avatar-grid-item:hover img {
    filter: brightness(1.15);
    transform: scale(1.12);
}

.avatar-grid-item.selected img {
    filter: brightness(1.25);
    transform: scale(1.12);
}

.confirm-btn {
    background: linear-gradient(135deg, rgba(245, 216, 110, 0.35) 0%, rgba(240, 213, 124, 0.45) 100%);
    border: 1px solid rgba(245, 216, 110, 0.6);
    border-radius: 18px;
    padding: 16px 32px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Manrope', sans-serif;
    width: 100%;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.confirm-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
}

.confirm-btn:hover::before {
    left: 100%;
}

.confirm-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 216, 110, 0.5), 0 6px 20px rgba(245, 216, 110, 0.35);
    background: linear-gradient(135deg, rgba(245, 216, 110, 0.45) 0%, rgba(240, 213, 124, 0.55) 100%);
    border-color: rgba(245, 216, 110, 0.8);
}

.confirm-btn:active {
    transform: translateY(-1px);
}

.confirm-btn i {
    margin-right: 10px;
    font-size: 15px;
}

@keyframes avatarAppear {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(25px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.avatar-grid-item {
    animation: avatarAppear 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.avatar-grid-item:nth-child(1) { animation-delay: 0.1s; }
.avatar-grid-item:nth-child(2) { animation-delay: 0.15s; }
.avatar-grid-item:nth-child(3) { animation-delay: 0.2s; }
.avatar-grid-item:nth-child(4) { animation-delay: 0.25s; }
.avatar-grid-item:nth-child(5) { animation-delay: 0.3s; }
.avatar-grid-item:nth-child(6) { animation-delay: 0.35s; }
.avatar-grid-item:nth-child(7) { animation-delay: 0.4s; }
.avatar-grid-item:nth-child(8) { animation-delay: 0.45s; }
.avatar-grid-item:nth-child(9) { animation-delay: 0.5s; }

.name-input-settings {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 14px 18px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Manrope', sans-serif;
    margin-bottom: 20px;
}

.name-input-settings::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.name-input-settings:focus {
    outline: none;
    border-color: rgba(245, 216, 110, 0.6);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(245, 216, 110, 0.15);
}

.gender-selection-settings {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.gender-option-settings {
    flex: 1;
}

.gender-option-settings input[type="radio"] {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
}

.gender-option-settings input[type="radio"]:checked + .gender-btn-settings {
    background: linear-gradient(135deg, rgba(245, 216, 110, 0.25) 0%, rgba(240, 213, 124, 0.35) 100%);
    border-color: rgba(245, 216, 110, 0.6);
    color: #fff;
    box-shadow: 0 6px 20px rgba(245, 216, 110, 0.25);
}

.gender-btn-settings {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 10px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.gender-btn-settings.selected {
    background: linear-gradient(135deg, rgba(245, 216, 110, 0.25) 0%, rgba(240, 213, 124, 0.35) 100%);
    border-color: rgba(245, 216, 110, 0.6);
    color: #fff;
    box-shadow: 0 6px 20px rgba(245, 216, 110, 0.25);
}

.gender-btn-settings i {
    font-size: 20px;
    transition: all 0.3s ease;
}

.gender-btn-settings.selected i {
    transform: scale(1.1);
}

.toggle-settings-liquid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.toggle-item-liquid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.toggle-item-liquid:last-child {
    border-bottom: none;
}

.toggle-label {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Manrope', sans-serif;
}

@media (max-width: 480px) {
    .settings-section {
        padding: 20px;
        margin-bottom: 15px;
    }
    .current-avatar {
        width: 120px;
        height: 120px;
    }
    .current-avatar img {
        width: 110px;
        height: 110px;
    }
    .avatar-carousel-container-settings {
        padding: 25px 20px;
        border-radius: 24px;
        max-width: 350px;
    }
    .avatar-grid {
        gap: 12px;
    }
    .gender-selection-settings {
        flex-direction: row;
    }
    .welcome-header h2 {
        font-size: 24px;
    }
    .welcome-header p {
        font-size: 14px;
    }
    .confirm-btn {
        padding: 14px 24px;
        font-size: 15px;
        border-radius: 16px;
    }
}

@media (max-width: 360px) {
    .avatar-carousel-container-settings {
        padding: 20px 15px;
        max-width: 300px;
    }
    .avatar-grid {
        gap: 10px;
    }
}