.gck-nav {
    --gck-forest: #103731;
    --gck-ink: #172823;
    --gck-line: #d8e2df;
    position: relative;
    z-index: 1;
    clear: both;
    max-width: 1450px;
    margin: 20px auto 0;
    padding: 0 clamp(22px, 4vw, 42px);
}

.gck-identity.has-frame .gck-avatar::before {
    content: none !important;
    display: none !important;
}

.gck-avatar .go-avatar-frame-art {
    position: absolute;
    inset: -22%;
    z-index: 3;
    width: 144%;
    height: 144%;
    object-fit: contain;
    pointer-events: none;
    overflow: visible;
}

.gck-avatar > img.go-avatar-frame-art {
    position: absolute !important;
    inset: -22% !important;
    z-index: 3 !important;
    width: 144% !important;
    height: 144% !important;
    max-width: none !important;
    object-fit: contain !important;
    pointer-events: none;
}

.gck-nav-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 8px;
    border: 1px solid var(--gck-line);
    border-radius: 14px;
    background: #fff;
}

.gck-nav a {
    flex: 0 0 auto;
    padding: 10px 15px;
    border-radius: 9px;
    color: #60736f;
    font-weight: 700;
    text-decoration: none;
}

.gck-nav a:hover,
.gck-nav a.is-active {
    background: #e8f2ef;
    color: var(--gck-forest);
}

.gck-page {
    --gck-forest: #103731;
    --gck-ink: #172823;
    --gck-muted: #60736f;
    --gck-line: #d8e2df;
    --gck-surface: #f1f6f4;
    max-width: 1450px;
    margin: 0 auto;
    padding: clamp(16px, 3vw, 28px) clamp(22px, 4vw, 42px) 64px;
    color: var(--gck-ink);
}

.gck-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    padding: clamp(25px, 4vw, 36px);
    border-radius: 27px;
    background: var(--gck-forest);
    color: #fff;
}

.gck-eyebrow {
    margin: 0 0 10px;
    color: #99ddd2;
    font-size: .86rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.gck-hero h1,
.gck-login h1 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
}

.gck-hero p:last-child {
    max-width: 700px;
    margin: 0;
}

.gck-identity {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 275px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 18px;
    background: rgba(255,255,255,.08);
}

.gck-avatar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    border: 4px solid rgba(255,255,255,.24);
    border-radius: 50%;
}

.gck-identity.has-frame .gck-avatar {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    border-color: transparent;
    background: #214940;
    box-shadow: none;
    margin-right: 18px;
}

.gck-identity.has-frame .gck-avatar::before {
    content: none !important;
    display: none !important;
}

.gck-avatar img:not(.go-avatar-frame-art) {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.gck-identity.has-frame .gck-avatar img:not(.go-avatar-frame-art) {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
}

.gck-identity small,
.gck-identity strong,
.gck-identity span {
    display: block;
}

.gck-identity small {
    color: #99ddd2;
    font-weight: 700;
    text-transform: uppercase;
}

.gck-identity strong {
    font-size: 1.2rem;
}

.gck-identity span {
    color: #99ddd2;
}

.gck-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gck-grid article {
    min-height: 180px;
    padding: 24px;
    border: 1px solid var(--gck-line);
    border-radius: 18px;
    background: #fff;
}

.gck-grid h2 {
    margin: 0 0 9px;
    font-size: 1.35rem;
}

.gck-grid p {
    margin: 0 0 19px;
    color: var(--gck-muted);
}

.gck-grid a {
    display: inline-block;
    padding: 11px 15px;
    border-radius: 8px;
    background: #315bee;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.gck-login {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(320px, .75fr);
    gap: clamp(22px, 4vw, 46px);
    align-items: center;
    max-width: 1120px;
    margin: 45px auto;
    padding: clamp(30px, 5vw, 52px);
    border-radius: 28px;
    background: var(--gck-forest);
    color: #fff;
}

.gck-login > p:not(.gck-eyebrow) {
    margin: 0 0 24px;
}

.gck-login-form {
    padding: clamp(18px, 3vw, 26px);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 20px;
    background: rgba(255,255,255,.08);
}

.gck-login-form label {
    display: block;
    margin-bottom: 15px;
    color: #d9efea;
    font-weight: 700;
}

.gck-login-form input[type="text"],
.gck-login-form input[type="email"],
.gck-login-form input[type="password"] {
    display: block;
    width: 100%;
    min-height: 52px;
    margin-top: 6px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 12px;
    background: #fff;
    color: var(--gck-ink);
    font: inherit;
}

.gck-login-form input:focus {
    outline: 3px solid rgba(217,170,72,.32);
    border-color: #d9aa48;
}

.gck-login-check {
    display: flex !important;
    align-items: center;
    gap: 9px;
    font-weight: 600 !important;
}

.gck-login-check input {
    width: 18px;
    height: 18px;
}

.gck-login-form button {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 999px;
    background: #d9aa48;
    color: #102823;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.gck-auth-switch {
    margin: 16px 0 0;
    color: #d9efea;
    text-align: center;
}

.gck-auth-switch a {
    color: #fff;
    font-weight: 900;
}

.gck-register {
    max-width: 1240px;
    grid-template-columns: minmax(0, .85fr) minmax(420px, 1fr);
}

.gck-register-note,
.gck-password-help {
    color: #d9efea;
}

.gck-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.gck-form-grid label span {
    color: #b8d6cf;
    font-size: .85rem;
    font-weight: 600;
}

.gck-password-help {
    margin: -3px 0 16px;
    font-size: .92rem;
    line-height: 1.45;
}

.gck-privacy-options {
    margin: 0 0 16px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 16px;
    background: rgba(255,255,255,.06);
}

.gck-privacy-options legend {
    padding: 0 7px;
    color: #fff;
    font-weight: 900;
}

.gck-privacy-options label {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 9px 0;
    color: #d9efea;
    font-weight: 700;
}

.gck-privacy-options input {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.gck-security {
    margin-top: 20px;
    padding: clamp(20px, 3vw, 30px);
    border: 1px solid var(--gck-line);
    border-radius: 20px;
    background: #fff;
}

.gck-section-title h2 {
    margin: 0 0 7px;
}

.gck-section-title p {
    margin: 0 0 20px;
    color: var(--gck-muted);
}

.gck-message {
    margin: 0 0 18px;
    padding: 13px 15px;
    border-radius: 10px;
}

.gck-message.is-success {
    background: #e6f5ee;
    color: #087344;
}

.gck-message.is-error {
    background: #fff1e7;
    color: #9c4b09;
}

.gck-security-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.gck-security-grid form {
    padding: 22px;
    border-radius: 15px;
    background: var(--gck-surface);
}

.gck-security-grid h3 {
    margin: 0 0 8px;
}

.gck-security-grid p {
    margin: 0 0 18px;
    color: var(--gck-muted);
}

.gck-security-grid label {
    display: block;
    margin-bottom: 14px;
    color: var(--gck-muted);
    font-weight: 700;
}

.gck-security-grid input {
    display: block;
    width: 100%;
    min-height: 47px;
    margin-top: 5px;
    padding: 10px 12px;
    border: 1px solid var(--gck-line);
    border-radius: 8px;
    box-sizing: border-box;
    background: #fff;
    font: inherit;
}

.gck-security-grid button {
    padding: 12px 18px;
    border: 0;
    border-radius: 8px;
    background: #315bee;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.gck-security-grid .gck-delete-account {
    border: 1px solid #f0c5a6;
    background: #fff7f0;
}

.gck-security-grid .gck-delete-account button {
    background: #a53d19;
}

.gck-security-grid .gck-delete-account h3 {
    color: #8b2e12;
}

.gck-security[hidden] {
    display: none !important;
}

@media (max-width: 900px) {
    .gck-hero,
    .gck-login {
        align-items: stretch;
        display: flex;
        flex-direction: column;
    }

    .gck-grid,
    .gck-security-grid,
    .gck-form-grid {
        grid-template-columns: 1fr;
    }
}

.gck-identity.has-frame .gck-avatar::before {
    content: none !important;
    display: none !important;
}

.gck-avatar .go-avatar-frame-art {
    position: absolute;
    inset: -22%;
    z-index: 3;
    width: 144%;
    height: 144%;
    object-fit: contain;
    pointer-events: none;
    overflow: visible;
}
