      @font-face {
        font-family: "InterTight-Bold";
        src: url("../fonts/InterTight-Bold.ttf") format("truetype");
      }
      @font-face {
        font-family: "InterTight-Regular";
        src: url("../fonts/InterTight-Regular.ttf") format("truetype");
      }
      @font-face {
        font-family: "InterTight-Light";
        src: url("../fonts/InterTight-Light.ttf") format("truetype");
      }
      @font-face {
        font-family: "InterTight-SemiBold";
        src: url("../fonts/InterTight-SemiBold.ttf") format("truetype");
      }

      @font-face {
        font-family: "Inter-Light";
        src: url("../fonts/Inter/Inter-Light.otf") format("opentype");
      }

      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: Inter, Arial, sans-serif;
      }

      body {
        min-height: 100vh;
        background: #121117;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
      }

      input,
      textarea {
        user-select: text;
        -webkit-user-select: text;
        -moz-user-select: text;
        -ms-user-select: text;
      }

      .modal {
        margin: 30px 0;
        width: 563px;
        background: #18181c;
        border-radius: 22px;
        padding: 46px 50px 50px;
        border: 1px solid rgba(255, 255, 255, 0.1);
      }

      .header {
        padding: 0 0 16px;
        text-align: center;
      }

      .header h1 {
        margin: 0;
        font-family: Inter, sans-serif;
        letter-spacing: 0;
        text-align: center;
        text-overflow: ellipsis;
        font-size: 1.5rem;
        line-height: 1.334;
        padding-bottom: 0;
        color: rgb(255, 255, 255);
        font-weight: 700;
        text-transform: none;
        overflow: hidden;
        overflow-wrap: anywhere;
      }

      .section {
        border-radius: 15px;
        padding: 18px 30px;
        margin-bottom: 18px;
        border: none;
        background: transparent;
      }

      .section:first-of-type {
        margin-bottom: 13px;
      }

      .section:nth-of-type(2) {
        margin-top: 0;
      }

      .section p {
        margin: 0 auto 17px;
        max-width: 100%;
        font-family: Inter, sans-serif;
        letter-spacing: 0;
        text-align: center;
        text-overflow: ellipsis;
        font-size: 1rem;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.65);
        font-weight: normal;
        text-transform: none;
        overflow: visible;
      }

      .btn {
        width: 100%;
        height: 50px;
        border-radius: 28px;
        border: none;
        background: #202024;
        color: #fff;
        font-size: 16px;
        letter-spacing: 0.03em;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 30px;
        margin-bottom: 15px;
        cursor: pointer;
        position: relative;
        font-family: "Inter-Light", sans-serif;
      }

      .btn:last-child {
        margin-bottom: 0;
      }
      .btn:hover {
        background: #29292e;
      }

      .btn-primary {
        display: inline-flex;
        -moz-box-align: center;
        align-items: center;
        -moz-box-pack: center;
        justify-content: center;
        position: relative;
        box-sizing: border-box;
        outline: 0;
        border: 0;
        margin: 0;
        cursor: pointer;
        user-select: none;
        vertical-align: middle;
        appearance: none;
        text-decoration: none;
        padding: 6px 16px;
        border-radius: 10px;
        width: 100%;
        box-shadow: none;
        text-align: center;
        font-family: "Inter", sans-serif;
        font-size: 1.5rem;
        line-height: 140%;
        letter-spacing: 0.02em;
        transition: none;
        text-transform: none;
        min-width: auto;
        min-height: 2.5rem;
        height: 47px;
        background-color: rgb(38, 187, 255);
        color: rgb(16, 16, 20);
        margin-top: 20px;
        margin-bottom: 18px;
      }

      .btn-primary:hover:not(:disabled) {
        background-color: rgb(80, 220, 255);
      }

      .btn-primary:disabled {
        background-color: #444448;
        cursor: not-allowed;
      }

      .btn-primary:disabled:hover {
        background-color: #444448;
      }

      .icon {
        width: 39px;
        height: 39px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
        font-weight: 700;
        border: 1px solid rgba(255, 255, 255, 0.3);
        position: absolute;
        left: 5px;
      }

      .ps {
        background: #00439c;
      }
      .xbox {
        background: #107c10;
      }
      .nintendo {
        background: #e60012;
      }
      .google {
        background: #fff;
        color: #000;
      }
      .steam {
        background: #206495;
        border: 1px solid #206495;
      }

      .mui-c1v24y svg,
      .mui-c1v24y > svg,
      .icon.steam svg,
      .icon.steam.mui-c1v24y svg {
        width: 26px;
        height: 26px;
      }
      .apple {
        background: #fff;
      }
      .facebook {
        background: #1877f2;
      }
      .lego {
        background: #ffcf00;
        color: #000;
      }
      .autodesk {
        background: #fff;
        color: #000;
      }
      .vk {
        background: #0077FF;
      }

      .label {
        font-size: 14px;
        color: #aeb0b6;
        margin-bottom: 10px;
        line-height: 165%;
        font-weight: 200;
        letter-spacing: 0.04em;
        font-family: "Inter-Light";
      }

      input {
        margin-block-start: 0.5rem;
        width: 100%;
        height: 44px;
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: #202024;
        color: #fff;
        padding: 0 18px;
        font-size: 16px;
        font-weight: 400;
        margin-bottom: 0;
        margin-top: 0;
        outline: none;
        transition: border-width 0.15s ease, border-color 0.15s ease;
      }

      input:focus {
        border-color: #2fb8ff;
        border-width: 2px;
      }

      input.error {
        border-color: #ff3f56;
      }

      .error-text {
        font-size: 12px;
        color: #ff6173;
        display: none;
        align-items: center;
        gap: 6px;
        font-weight: 400;
      }

      .error-text.suggestion {
        color: #aeaeaf;
        white-space: nowrap;
      }

      .suggested-email {
        color: #26bbff;
        text-decoration: underline;
        cursor: pointer;
        margin-left: -6px;
        letter-spacing: -0.6px;
      }

      .suggested-email:hover {
        color: #4fc9ff;
      }

      .email-prefix {
        color: #eeeeef;
        font-weight: 400;
        margin-left: -2px;
      }

      .question-mark {
        margin-left: -6px;
      }

      .error-text.show {
        display: flex;
        margin-top: 7px;
        margin-bottom: 10px;
      }

      .error-icon {
        width: 14px;
        height: 14px;
        border-radius: 50%;
        border: 1px solid #ff3f56;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
        font-weight: 700;
        color: #ff3f56;
      }

      .link-section {
        letter-spacing: 0.01em;
        padding: 6px 0;
        margin-bottom: 4px;
        border: none;
        text-align: center;
        font-size: 14px;
        color: rgba(255, 255, 255, 0.6);
        font-family: Inter, sans-serif;
      }

      .link-section span {
        font-family: Inter, sans-serif;
        font-weight: 400;
      }

      .link-section a {
        color: #26bbff;
        text-decoration: underline;
        font-weight: 400;
        text-underline-offset: 3px;
      }

      .footer a {
        color: #26bbff;
        text-decoration: underline;
        font-weight: 400;
        text-underline-offset: 3px;
      }

      #emailLoginPage .footer {
        margin-top: 48px;
        text-align: center;
      }

      .footer {
        margin-top: 30px;
        text-align: center;
      }

      .footer a {
        display: block;
        font-size: 14px;
        line-height: 1.43;
        font-weight: 400;
        margin-top: 0;
      }

      #emailLoginPage .footer a:first-child {
        margin-bottom: 24px;
      }

      .footer a:first-child {
        margin-bottom: 10px;
      }

      .footer a:nth-child(2) {
        margin-top: 20px;
      }

      .skeleton-loader {
        position: fixed;
        inset: 0;
        background: #121117;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
      }

      .skeleton-card {
        width: 600px;
        background: #18181c;
        border-radius: 26px;
        padding: 60px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        display: flex;
        flex-direction: column;
        align-items: center;
      }

      .skel {
        border-radius: 999px;
        background: #2a2a2f;
        margin: 0 auto;
        animation: pulse 1.4s ease-in-out infinite;
      }

      .skel.tiny {
        width: min(230px, calc(100% - 40px));
        height: 20px;
        margin-bottom: 18px;
      }
      .skel.small {
        width: min(150px, calc(100% - 40px));
        height: 20px;
        margin-top: 30px;
      }
      .skel.medium {
        width: min(450px, calc(100% - 40px));
        height: 20px;
        margin-top: 15px;
      }
      .skel.long {
        width: min(450px, calc(100% - 40px));
        height: 55px;
        border-radius: 18px;
        margin-top: 30px;
      }
      .skel.block {
        width: min(450px, calc(100% - 40px));
        height: 55px;
        border-radius: 18px;
        margin-top: 30px;
      }
      .skel.thin {
        width: min(250px, calc(100% - 40px));
        height: 20px;
        border-radius: 18px;
        margin-top: 30px;
      }

      @keyframes pulse {
        0% {
          opacity: 0.35;
        }
        50% {
          opacity: 0.18;
        }
        100% {
          opacity: 0.35;
        }
      }

      /* --- Epic Logo --- */
      .epic-logo-wrapper {
        display: flex;
        justify-content: center;
        margin-bottom: 19px;
      }

      .epic-logo-svg {
        width: 36px;
        height: 42px;
        color: #fff;
      }

      /* --- Login Form (flat, no card) --- */
      .login-form {
        padding: 0;
        margin-bottom: 8px;
      }

      .login-form input#email {
        margin-block-start: 0;
        height: 3rem;
        font-size: 1rem;
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        background: #202024;
        padding: 0 16px;
        transition: border-color 0.2s ease, border-width 0.15s ease;
      }

      .login-form input#email:hover {
        border-color: rgba(255, 255, 255, 0.35);
      }

      .login-form input#email:focus {
        border-color: #2fb8ff;
        border-width: 2px;
      }

      .login-form input#email::placeholder {
        color: rgba(255, 255, 255, 0.4);
        font-weight: 400;
        font-size: 1rem;
      }

      .login-form .btn-primary {
        margin-top: 16px;
        margin-bottom: 0;
        height: 48px;
        font-size: 1rem;
        font-weight: 500;
        border-radius: 10px;
      }

      /* --- Section Divider --- */
      .section-divider {
        height: 1px;
        background: rgba(255, 255, 255, 0.08);
        margin: 10px 0 24px;
      }

      /* --- Options Title (for console/social sections) --- */
      .options-title {
        margin: 0 auto 8px;
        max-width: 100%;
        font-family: Inter, sans-serif;
        letter-spacing: 0;
        text-align: center;
        font-size: 1rem;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.65);
        font-weight: normal;
      }

      #consoleSection .options-title {
        font-weight: 700;
        color: #fff;
        font-size: 1rem;
      }

      .console-header {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 8px;
      }

      #consoleSection .console-title {
        font-family: Inter, sans-serif;
        font-weight: 700;
        font-size: 1rem;
        color: #fff;
        margin: 0 0 6px;
        max-width: 100%;
        letter-spacing: 0;
        line-height: 1.5;
      }

      #consoleSection .console-subtitle {
        font-family: Inter, sans-serif;
        font-weight: 400;
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.55);
        margin: 0;
        max-width: 100%;
        letter-spacing: 0;
        line-height: 1.5;
      }

      /* --- Console & Social sections: 3-column grid --- */
      #consoleSection,
      #socialSection {
        border: none;
        background: transparent;
        padding: 0;
        margin-bottom: 16px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
      }

      #consoleSection .options-title,
      #socialSection .options-title,
      .console-header {
        grid-column: 1 / -1;
        margin-bottom: 8px;
      }

      #socialSection .options-title {
        font-weight: 700;
        color: #fff;
        font-size: 1rem;
        max-width: 100%;
        margin-bottom: 8px;
        margin-top: 8px;
      }

      #consoleSection .btn,
      #socialSection .btn {
        flex-direction: column;
        border-radius: 16px;
        height: auto;
        padding: 10px 8px 10px;
        margin-bottom: 0;
        gap: 8px;
        background: #202024;
        font-size: 0.625rem;
        font-weight: 500;
        letter-spacing: 0.02em;
        line-height: 1.4;
        text-align: center;
        font-family: Inter, sans-serif;
      }

      #consoleSection .btn:hover,
      #socialSection .btn:hover {
        background: #2a2a2f;
      }

      #consoleSection .btn:last-child,
      #socialSection .btn:last-child {
        margin-bottom: 0;
      }

      #consoleSection .icon,
      #socialSection .icon {
        position: static;
        left: auto;
        width: 40px;
        height: 40px;
        border: none;
      }

      #consoleSection .icon svg,
      #socialSection .icon svg {
        width: 24px;
        height: 24px;
      }

      #consoleSection .icon.ps svg {
        width: 24px;
        height: 24px;
      }

      #consoleSection .icon.nintendo svg {
        width: 33px;
        height: 14px;
      }

      #socialSection .icon.autodesk svg {
        width: 24px;
        height: 16px;
      }

      #socialSection .icon.lego svg {
        width: 26px;
        height: 26px;
      }

      #socialSection .icon.apple img {
        width: 34px;
        height: 34px;
      }

      #socialSection .icon.steam img,
      #socialSection .icon.steam.mui-c1v24y img {
        width: 28px;
        height: 28px;
      }

      @media (max-width: 479px) {
        body {
          padding: 0 30px;
          align-items: flex-start;
        }

        #emailLoginPage {
          width: 90%;
          max-width: 563px;
          margin: 0 auto;
          border-radius: 22px;
          padding: 24px 30px 28px;
          border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .header h1 {
          margin-left: 0;
          margin-right: 0;
        }

        .section {
          padding: 16px;
          margin-bottom: 16px;
        }

        .section p {
          font-size: 15px;
        }

        .btn {
          height: 48px;
          font-size: 15px;
          margin-bottom: 14px;
        }

        input {
          height: 48px;
          font-size: 15px;
          padding: 0 16px;
        }

        .label {
          margin-bottom: 8px;
        }

        .link-section {
          margin-bottom: 16px;
          font-size: 14px;
        }

        .footer {
          margin-top: 16px;
        }

        .footer a {
          font-size: 14px;
          margin-top: 14px;
        }

        .icon {
          width: 36px;
          height: 36px;
          font-size: 14px;
        }

        .icon svg {
          width: 30px;
          height: 30px;
        }

        .password-page .modal,
        .code-page .modal {
          width: 90%;
          max-width: 560px;
          margin: 0 auto;
          border-radius: 22px;
          padding: 70px 10px 30px 10px;
          border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .code-page .modal {
          width: 90%;
          max-width: 560px;
          margin: 0 auto;
          border-radius: 22px;
          padding: 24px 20px 28px;
          border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .epic-logo-svg {
          width: 30px;
          height: 35px;
        }

        #consoleSection,
        #socialSection {
          grid-template-columns: repeat(3, 1fr);
          gap: 6px;
          padding: 0;
          margin-bottom: 12px;
        }

        #consoleSection .btn,
        #socialSection .btn {
          padding: 14px 4px 10px;
          font-size: 11px;
          gap: 6px;
          border-radius: 8px;
        }

        #consoleSection .icon,
        #socialSection .icon {
          width: 36px;
          height: 36px;
        }

        .console-header {
          margin-bottom: 6px;
        }

        #consoleSection .console-title {
          font-size: 14px;
        }

        #consoleSection .console-subtitle {
          font-size: 13px;
        }

        #socialSection .options-title {
          font-size: 14px;
        }
      }

