        #joinCodeType {
            display: block;
            width: 100%;
            min-height: 44px;
            margin: 8px 0 20px;
            padding: 10px;
            border: 2px solid #004a64;
            background: #fff;
            color: #004a64;
            font: inherit;
        }

        * {
            box-sizing: border-box;
        }

        body {
            font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
            margin: 0;
            overflow-x: hidden;
            background: #ffffff;
        }

        button {
            cursor: pointer;
        }

        /* HEADER */
        header {
            margin-top: 0;
            background-color: #324DC7!important;
            height: 100px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
            padding: 0 clamp(24px, 6vw, 80px);
        }

        .name {
            color: #ffffff;
            font-size: 25px;
            font-weight: 700;
            letter-spacing: 0;
            line-height: 1.1;
            min-width: 0;
            overflow-wrap: anywhere;
        }

        .account-actions {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 12px;
            min-width: 0;
        }

        .logout-button {
            flex-shrink: 0;
            min-height: 44px;
            padding: 10px 16px;
            border: 1px solid #ffffff;
            border-radius: 24px;
            background: transparent;
            color: #ffffff;
            font: inherit;
            font-weight: 600;
            white-space: nowrap;
        }

        .logout-button:hover {
            background: #253ba1;
        }

        .logout-button:focus-visible {
            outline: 3px solid #fedb00;
            outline-offset: 3px;
        }

        .logout-button:disabled {
            cursor: wait;
        }

        .account-badge {
            background: #fedb00;
            color: #1e1e1e;
            padding: 10px 14px;
            border-radius: 999px;
            font-size: 0.74rem;
            font-weight: 700;
            letter-spacing: 0.2px;
            text-transform: uppercase;
            max-width: min(58vw, 460px);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        @media (max-width: 720px) {
            header {
                padding: 16px;
                height: auto;
                min-height: 92px;
                flex-wrap: wrap;
                gap: 12px;
            }

            .account-actions {
                width: 100%;
                justify-content: space-between;
            }

            .name {
                font-size: 20px;
                min-width: 0;
                white-space: normal;
            }

            .account-badge {
                font-size: 0.66rem;
                max-width: calc(100% - 106px);
                padding: 7px 9px;
            }
        }
