:root {
    --ccgk-bg: #06111f;
    --ccgk-panel: #0b1c30;
    --ccgk-panel-2: #102742;
    --ccgk-border: #2b5b86;
    --ccgk-text: #f6fbff;
    --ccgk-muted: #adc4d9;
    --ccgk-blue: #45a9ff;
    --ccgk-violet: #8b5cff;
    --ccgk-green: #4de19b;
    --ccgk-red: #ff6b78;
}

.ccgk-standalone-gate,
body.login {
    background: radial-gradient(circle at 50% 0%, #123257 0%, var(--ccgk-bg) 52%, #030a12 100%) !important;
    color: var(--ccgk-text) !important;
}

.ccgk-gate-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px 18px;
    box-sizing: border-box;
}

.ccgk-card {
    width: min(100%, 620px);
    margin: 24px auto;
    padding: clamp(24px, 5vw, 44px);
    box-sizing: border-box;
    border: 1px solid var(--ccgk-border);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(16,39,66,.98), rgba(7,20,35,.98));
    color: var(--ccgk-text);
    box-shadow: 0 0 0 1px rgba(69,169,255,.08), 0 24px 70px rgba(0,0,0,.46), 0 0 34px rgba(69,169,255,.12);
}

.ccgk-card h1,
.ccgk-card h2 {
    margin: 8px 0 10px;
    color: #fff;
    letter-spacing: .02em;
}

.ccgk-badge {
    display: inline-flex;
    padding: 7px 12px;
    border: 1px solid rgba(77,225,155,.6);
    border-radius: 999px;
    color: var(--ccgk-green);
    background: rgba(77,225,155,.08);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .15em;
}

.ccgk-lead,
.ccgk-persist-note {
    color: var(--ccgk-muted);
    line-height: 1.6;
}

.ccgk-form,
.ccgk-card form {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.ccgk-card label,
.ccgk-card .login-username,
.ccgk-card .login-password {
    color: var(--ccgk-text);
    font-weight: 700;
}

.ccgk-card input[type="text"],
.ccgk-card input[type="email"],
.ccgk-card input[type="password"],
.ccgk-card input[type="tel"],
body.login input[type="text"],
body.login input[type="password"] {
    width: 100%;
    min-height: 48px;
    margin-top: 7px;
    padding: 10px 13px;
    box-sizing: border-box;
    border-radius: 11px;
    border: 1px solid #335f83;
    background: #071625 !important;
    color: #fff !important;
    outline: none;
}

.ccgk-card input:focus,
body.login input:focus {
    border-color: var(--ccgk-blue);
    box-shadow: 0 0 0 3px rgba(69,169,255,.14);
}

.ccgk-card button,
.ccgk-card input[type="submit"],
.ccgk-button,
body.login .button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 11px 18px;
    border: 1px solid rgba(139,92,255,.85) !important;
    border-radius: 12px;
    background: linear-gradient(135deg, #177cd2, #6747e8) !important;
    color: #fff !important;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(69,169,255,.18);
}

.ccgk-card button:hover,
.ccgk-card input[type="submit"]:hover,
.ccgk-button:hover {
    filter: brightness(1.12);
}

.ccgk-help,
.ccgk-logout {
    margin-top: 16px;
    color: var(--ccgk-muted) !important;
}

.ccgk-card a {
    color: #8ccaff;
}

.ccgk-error {
    margin: 16px 0;
    padding: 12px 14px;
    border: 1px solid rgba(255,107,120,.55);
    border-radius: 11px;
    background: rgba(255,107,120,.09);
    color: #ffd9dd;
}

.ccgk-status {
    display: inline-flex;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .05em;
}

.ccgk-status-on { background: rgba(77,225,155,.12); color: var(--ccgk-green); }
.ccgk-status-off { background: rgba(255,107,120,.12); color: #ff9ba5; }

/* Gate Keeper owns persistence; users do not need a Remember Me choice. */
.login-remember,
.woocommerce-form-login__rememberme,
label[for="rememberme"],
#rememberme {
    display: none !important;
}

body.login #login {
    width: min(92vw, 420px);
}

body.login #loginform,
body.login #registerform,
body.login #lostpasswordform {
    border: 1px solid var(--ccgk-border);
    border-radius: 18px;
    background: var(--ccgk-panel) !important;
    color: var(--ccgk-text);
    box-shadow: 0 24px 70px rgba(0,0,0,.45);
}

body.login label,
body.login #nav a,
body.login #backtoblog a,
body.login .message {
    color: var(--ccgk-text) !important;
}

@media (max-width: 600px) {
    .ccgk-gate-wrap { padding: 14px 10px; align-items: start; }
    .ccgk-card { margin: 8px auto; padding: 22px 16px; border-radius: 16px; }
}

/* My Account public entry gate - v1.2.3 baseline (v1.2.4 focus overrides below) */
.ccgk-account-gate-wrap {
    padding: clamp(18px, 4vw, 44px) 18px;
}

.ccgk-account-gate-card {
    width: min(100%, 980px);
    margin: 0 auto;
}

.ccgk-brand-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 22px;
}

.ccgk-brand-mark {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border: 2px solid rgba(69,169,255,.75);
    border-radius: 50%;
    background: radial-gradient(circle at 38% 32%, #5faeff 0%, #22538a 43%, #08182a 72%);
    color: #fff;
    font-size: 25px;
    font-weight: 900;
    box-shadow: inset 0 0 0 4px rgba(255,255,255,.06), 0 0 24px rgba(69,169,255,.16);
}

.ccgk-brand-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.ccgk-brand-copy strong {
    color: #fff;
    font-size: clamp(14px, 2vw, 18px);
    letter-spacing: .06em;
}

.ccgk-brand-copy small {
    color: var(--ccgk-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
}

.ccgk-account-gate-card > h1 {
    font-size: clamp(30px, 5vw, 50px);
    line-height: 1;
    margin-top: 14px;
}

.ccgk-entry-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
    gap: 18px;
    margin-top: 26px;
}

.ccgk-entry-panel {
    min-width: 0;
    padding: clamp(20px, 3vw, 28px);
    border: 1px solid rgba(69,169,255,.25);
    border-radius: 17px;
    background: rgba(4,15,27,.58);
}

.ccgk-entry-panel h2 {
    margin: 0 0 8px;
    font-size: 17px;
    letter-spacing: .08em;
}

.ccgk-entry-copy {
    min-height: 48px;
    margin: 0;
    color: var(--ccgk-muted);
    line-height: 1.55;
}

.ccgk-account-login-form {
    margin-top: 18px !important;
}

.ccgk-button-secondary {
    width: 100%;
    margin-top: 18px;
    box-sizing: border-box;
    border-color: rgba(77,225,155,.72) !important;
    background: linear-gradient(135deg, #0f7b66, #176f9f) !important;
}

.ccgk-entry-features {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 18px;
}

.ccgk-entry-features span {
    padding: 6px 8px;
    border: 1px solid rgba(173,196,217,.25);
    border-radius: 999px;
    color: #cce0f1;
    background: rgba(173,196,217,.05);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
}

.ccgk-gate-footer {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(173,196,217,.13);
    text-align: center;
}

.ccgk-gate-footer a {
    color: var(--ccgk-muted);
    text-decoration: none;
}

.ccgk-gate-footer a:hover {
    color: #fff;
}

@media (max-width: 760px) {
    .ccgk-entry-grid {
        grid-template-columns: 1fr;
    }

    .ccgk-entry-copy {
        min-height: 0;
    }
}

/* Member Access focus screen - v1.2.4
 * Deliberately removes all site navigation from the logged-out account gate.
 * LOGIN and REGISTER are the only account-route actions exposed here.
 */
body.ccgk-account-entry-gate {
    margin: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 50% -15%, rgba(55,135,220,.34) 0, rgba(16,48,82,.16) 28%, transparent 54%),
        radial-gradient(circle at 8% 88%, rgba(153,104,36,.16) 0, transparent 30%),
        radial-gradient(circle at 92% 82%, rgba(57,91,147,.18) 0, transparent 34%),
        linear-gradient(145deg, #02060b 0%, #06101b 44%, #02070d 100%) !important;
}

/* The standalone account gate intentionally does not call wp_head() or wp_footer().
 * This defensive selector remains in case markup is introduced directly around the gate. */
body.ccgk-account-entry-gate > :not(main):not(script):not(style):not(link) {
    display: none !important;
}

body.ccgk-account-entry-gate::before,
body.ccgk-account-entry-gate::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
}

body.ccgk-account-entry-gate::before {
    opacity: .18;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(circle at 50% 42%, #000 0, transparent 74%);
    mask-image: radial-gradient(circle at 50% 42%, #000 0, transparent 74%);
}

body.ccgk-account-entry-gate::after {
    background: linear-gradient(115deg, transparent 0 45%, rgba(255,255,255,.025) 50%, transparent 55% 100%);
}

.ccgk-account-entry-gate .ccgk-account-gate-wrap {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: clamp(22px, 5vh, 64px) 18px;
}

.ccgk-account-entry-gate .ccgk-account-gate-card {
    position: relative;
    isolation: isolate;
    width: min(100%, 1080px);
    margin: 0 auto;
    padding: clamp(28px, 4vw, 54px);
    overflow: hidden;
    border: 1px solid rgba(93,160,224,.38);
    border-radius: 28px;
    background:
        linear-gradient(155deg, rgba(15,34,56,.97) 0%, rgba(5,15,27,.985) 56%, rgba(7,18,29,.99) 100%);
    box-shadow:
        0 0 0 1px rgba(255,255,255,.025) inset,
        0 30px 90px rgba(0,0,0,.58),
        0 0 58px rgba(39,118,190,.13);
}

.ccgk-account-entry-gate .ccgk-account-gate-card::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 520px;
    height: 520px;
    left: -300px;
    top: -290px;
    border: 1px solid rgba(87,167,236,.15);
    border-radius: 50%;
    box-shadow:
        0 0 0 34px rgba(87,167,236,.025),
        0 0 0 70px rgba(87,167,236,.018),
        0 0 90px rgba(49,138,217,.12);
}

.ccgk-account-entry-gate .ccgk-account-gate-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -160px;
    bottom: -210px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(190,139,62,.095) 0%, rgba(190,139,62,.025) 42%, transparent 70%);
}

.ccgk-account-entry-gate .ccgk-brand-head {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
}

.ccgk-account-entry-gate .ccgk-brand-mark {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: clamp(72px, 9vw, 96px);
    height: clamp(72px, 9vw, 96px);
    flex: 0 0 auto;
    border: 2px solid rgba(203,161,82,.82);
    border-radius: 50%;
    background:
        radial-gradient(circle at 36% 31%, #6cb8ff 0%, #2d69aa 28%, #122f52 54%, #07111f 76%);
    color: #fff;
    box-shadow:
        inset 0 0 0 5px rgba(3,12,23,.86),
        inset 0 0 0 7px rgba(123,177,226,.34),
        0 0 0 5px rgba(193,147,69,.055),
        0 14px 42px rgba(0,0,0,.42),
        0 0 34px rgba(64,151,232,.18);
}

.ccgk-account-entry-gate .ccgk-brand-mark::before,
.ccgk-account-entry-gate .ccgk-brand-mark::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.ccgk-account-entry-gate .ccgk-brand-mark::before {
    inset: 9px;
    border: 1px solid rgba(255,255,255,.38);
}

.ccgk-account-entry-gate .ccgk-brand-mark::after {
    inset: 17px;
    border: 1px solid rgba(207,165,86,.48);
}

.ccgk-account-entry-gate .ccgk-brand-mark > span {
    position: relative;
    z-index: 1;
    font-size: clamp(32px, 5vw, 45px);
    line-height: 1;
    font-weight: 900;
    text-shadow: 0 2px 16px rgba(0,0,0,.5);
}

.ccgk-account-entry-gate .ccgk-brand-copy {
    display: grid;
    gap: 3px;
}

.ccgk-account-entry-gate .ccgk-brand-copy small {
    color: #caa55d;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: .24em;
}

.ccgk-account-entry-gate .ccgk-brand-copy strong {
    color: #fff;
    font-size: clamp(25px, 4vw, 44px);
    line-height: .98;
    font-weight: 900;
    letter-spacing: .015em;
}

.ccgk-account-entry-gate .ccgk-brand-copy em {
    color: #9fb7cb;
    font-size: clamp(10px, 1.4vw, 13px);
    font-style: normal;
    font-weight: 800;
    letter-spacing: .18em;
}

.ccgk-account-entry-gate .ccgk-entry-rule {
    display: flex;
    align-items: center;
    margin: clamp(24px, 4vw, 38px) 0 14px;
}

.ccgk-account-entry-gate .ccgk-entry-rule::before,
.ccgk-account-entry-gate .ccgk-entry-rule::after {
    content: "";
    height: 1px;
    flex: 1 1 auto;
    background: linear-gradient(90deg, transparent, rgba(88,158,218,.5));
}

.ccgk-account-entry-gate .ccgk-entry-rule::after {
    background: linear-gradient(90deg, rgba(88,158,218,.5), transparent);
}

.ccgk-account-entry-gate .ccgk-entry-rule span {
    width: 7px;
    height: 7px;
    margin: 0 10px;
    border: 1px solid rgba(203,161,82,.86);
    transform: rotate(45deg);
    box-shadow: 0 0 14px rgba(203,161,82,.35);
}

.ccgk-account-entry-gate .ccgk-account-intro {
    max-width: 760px;
    margin: 0 auto;
    color: #c6d6e4;
    text-align: center;
    font-size: clamp(14px, 2vw, 17px);
    line-height: 1.6;
}

.ccgk-account-entry-gate .ccgk-entry-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
    gap: 20px;
    margin-top: clamp(26px, 4vw, 40px);
}

.ccgk-account-entry-gate .ccgk-entry-panel {
    position: relative;
    min-width: 0;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid rgba(104,157,204,.28);
    border-radius: 21px;
    background:
        linear-gradient(160deg, rgba(17,38,62,.8), rgba(6,18,31,.76));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.035),
        0 18px 40px rgba(0,0,0,.24);
}

.ccgk-account-entry-gate .ccgk-entry-login::before,
.ccgk-account-entry-gate .ccgk-entry-register::before {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    top: 0;
    height: 2px;
    border-radius: 999px;
}

.ccgk-account-entry-gate .ccgk-entry-login::before {
    background: linear-gradient(90deg, transparent, #4baeff, #8964ff, transparent);
}

.ccgk-account-entry-gate .ccgk-entry-register::before {
    background: linear-gradient(90deg, transparent, #b98b3e, #e1bd72, transparent);
}

.ccgk-account-entry-gate .ccgk-panel-kicker {
    display: block;
    margin-bottom: 6px;
    color: #8eb4d6;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .18em;
}

.ccgk-account-entry-gate .ccgk-entry-register .ccgk-panel-kicker {
    color: #cda960;
}

.ccgk-account-entry-gate .ccgk-entry-panel h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(24px, 3vw, 31px);
    line-height: 1.05;
    letter-spacing: .025em;
}

.ccgk-account-entry-gate .ccgk-entry-copy {
    min-height: 50px;
    margin: 0;
    color: #9fb5c9;
    line-height: 1.55;
}

.ccgk-account-entry-gate .ccgk-account-login-form {
    margin-top: 22px !important;
    gap: 16px;
}

.ccgk-account-entry-gate .ccgk-account-login-form label {
    color: #b7cadb;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .11em;
}

.ccgk-account-entry-gate .ccgk-account-login-form input[type="text"],
.ccgk-account-entry-gate .ccgk-account-login-form input[type="password"] {
    min-height: 54px;
    margin-top: 8px;
    padding: 12px 14px;
    border: 1px solid rgba(93,144,187,.58);
    border-radius: 12px;
    background: rgba(2,10,18,.78) !important;
    box-shadow: inset 0 1px 8px rgba(0,0,0,.3);
    font-size: 15px;
}

.ccgk-account-entry-gate .ccgk-account-login-form input:focus {
    border-color: #58b5ff;
    box-shadow: 0 0 0 3px rgba(69,169,255,.13), inset 0 1px 8px rgba(0,0,0,.26);
}

.ccgk-account-entry-gate .ccgk-primary-action,
.ccgk-account-entry-gate .ccgk-button-secondary {
    width: 100%;
    min-height: 54px;
    margin-top: 4px;
    box-sizing: border-box;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .13em;
}

.ccgk-account-entry-gate .ccgk-primary-action {
    border-color: rgba(92,166,231,.86) !important;
    background: linear-gradient(135deg, #166db4 0%, #3f66c7 54%, #6650be 100%) !important;
    box-shadow: 0 12px 28px rgba(30,103,174,.24), 0 0 24px rgba(75,148,222,.12);
}

.ccgk-account-entry-gate .ccgk-button-secondary {
    margin-top: 22px;
    border-color: rgba(211,168,88,.88) !important;
    background: linear-gradient(135deg, #805a20 0%, #b58b43 52%, #76531c 100%) !important;
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(120,83,28,.24), 0 0 24px rgba(199,155,77,.1);
}

.ccgk-account-entry-gate .ccgk-primary-action:hover,
.ccgk-account-entry-gate .ccgk-button-secondary:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.ccgk-account-entry-gate .ccgk-register-note {
    margin: 18px 0 0;
    color: #8199ae;
    font-size: 12px;
    line-height: 1.55;
    text-align: center;
}

.ccgk-account-entry-gate .ccgk-error {
    max-width: 760px;
    margin: 22px auto 0;
    text-align: center;
}

.ccgk-account-entry-gate .ccgk-secure-line {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    margin-top: clamp(26px, 4vw, 38px);
    color: #70899f;
    font-size: 9px;
    letter-spacing: .18em;
}

.ccgk-account-entry-gate .ccgk-secure-line span {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(126,156,183,.25));
}

.ccgk-account-entry-gate .ccgk-secure-line span:last-child {
    background: linear-gradient(90deg, rgba(126,156,183,.25), transparent);
}

@media (max-width: 780px) {
    .ccgk-account-entry-gate .ccgk-account-gate-wrap {
        align-items: start;
        padding: 14px 10px 28px;
    }

    .ccgk-account-entry-gate .ccgk-account-gate-card {
        padding: 24px 17px;
        border-radius: 20px;
    }

    .ccgk-account-entry-gate .ccgk-brand-head {
        gap: 14px;
        align-items: center;
    }

    .ccgk-account-entry-gate .ccgk-entry-grid {
        grid-template-columns: 1fr;
    }

    .ccgk-account-entry-gate .ccgk-entry-copy {
        min-height: 0;
    }
}

@media (max-width: 440px) {
    .ccgk-account-entry-gate .ccgk-brand-mark {
        width: 66px;
        height: 66px;
    }

    .ccgk-account-entry-gate .ccgk-brand-copy strong {
        font-size: 22px;
    }

    .ccgk-account-entry-gate .ccgk-brand-copy em {
        font-size: 9px;
        letter-spacing: .12em;
    }

    .ccgk-account-entry-gate .ccgk-entry-panel {
        padding: 22px 17px;
    }
}

/* Standalone registration state - v1.2.6
 * /register/ is rendered by Gate Keeper, not by the storefront theme.
 * Only LOGIN and REGISTER are exposed as navigation choices.
 */
.ccgk-registration-entry-gate .ccgk-registration-gate-wrap {
    align-items: flex-start;
    padding-top: clamp(18px, 4vh, 48px);
    padding-bottom: clamp(28px, 5vh, 64px);
}

.ccgk-registration-entry-gate .ccgk-registration-gate-card {
    width: min(100%, 900px);
}

.ccgk-registration-entry-gate .ccgk-access-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: min(100%, 440px);
    margin: 28px auto 0;
    padding: 5px;
    border: 1px solid rgba(98, 149, 194, .28);
    border-radius: 15px;
    background: rgba(1, 8, 15, .62);
    box-shadow: inset 0 1px 8px rgba(0,0,0,.34);
}

.ccgk-registration-entry-gate .ccgk-access-switch a,
.ccgk-registration-entry-gate .ccgk-access-switch span {
    display: grid;
    place-items: center;
    min-height: 44px;
    padding: 8px 12px;
    box-sizing: border-box;
    border-radius: 10px;
    color: #9eb6ca;
    text-decoration: none;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
}

.ccgk-registration-entry-gate .ccgk-access-switch a:hover {
    color: #fff;
    background: rgba(65, 133, 193, .14);
}

.ccgk-registration-entry-gate .ccgk-access-switch span {
    border: 1px solid rgba(214, 171, 88, .75);
    color: #fff;
    background: linear-gradient(135deg, rgba(116,79,25,.94), rgba(180,138,64,.96));
    box-shadow: 0 8px 22px rgba(111,77,27,.22);
}

.ccgk-registration-entry-gate .ccgk-register-heading {
    max-width: 700px;
    margin: 22px auto 0;
    text-align: center;
}

.ccgk-registration-entry-gate .ccgk-register-heading h1 {
    margin: 4px 0 10px;
    color: #fff;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1;
    letter-spacing: .035em;
}

.ccgk-registration-entry-gate .ccgk-register-heading p {
    margin: 0;
    color: #9fb5c9;
    font-size: 14px;
    line-height: 1.6;
}

.ccgk-registration-entry-gate .ccgk-register-content {
    width: min(100%, 720px);
    margin: clamp(22px, 4vw, 34px) auto 0;
    padding: clamp(20px, 3vw, 34px);
    box-sizing: border-box;
    border: 1px solid rgba(104,157,204,.28);
    border-radius: 21px;
    background: linear-gradient(160deg, rgba(17,38,62,.82), rgba(6,18,31,.8));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 18px 40px rgba(0,0,0,.24);
}

/* Ultimate Member registration form containment. */
.ccgk-registration-entry-gate .ccgk-register-content .um,
.ccgk-registration-entry-gate .ccgk-register-content .um-form,
.ccgk-registration-entry-gate .ccgk-register-content form {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.ccgk-registration-entry-gate .ccgk-register-content .um-header,
.ccgk-registration-entry-gate .ccgk-register-content .um-profile-photo,
.ccgk-registration-entry-gate .ccgk-register-content .um-profile-meta,
.ccgk-registration-entry-gate .ccgk-register-content .um_request_name {
    display: none !important;
}

.ccgk-registration-entry-gate .ccgk-register-content .um-row,
.ccgk-registration-entry-gate .ccgk-register-content .um-field,
.ccgk-registration-entry-gate .ccgk-register-content p {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.ccgk-registration-entry-gate .ccgk-register-content .um-field {
    margin: 0 0 16px !important;
}

.ccgk-registration-entry-gate .ccgk-register-content label,
.ccgk-registration-entry-gate .ccgk-register-content .um-field-label label {
    color: #bfd0df !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .045em;
}

.ccgk-registration-entry-gate .ccgk-register-content input[type="text"],
.ccgk-registration-entry-gate .ccgk-register-content input[type="email"],
.ccgk-registration-entry-gate .ccgk-register-content input[type="tel"],
.ccgk-registration-entry-gate .ccgk-register-content input[type="password"],
.ccgk-registration-entry-gate .ccgk-register-content input[type="url"],
.ccgk-registration-entry-gate .ccgk-register-content input[type="number"],
.ccgk-registration-entry-gate .ccgk-register-content select,
.ccgk-registration-entry-gate .ccgk-register-content textarea,
.ccgk-registration-entry-gate .ccgk-register-content .um-form-field {
    width: 100% !important;
    min-height: 50px !important;
    padding: 11px 13px !important;
    box-sizing: border-box !important;
    border: 1px solid rgba(93,144,187,.58) !important;
    border-radius: 11px !important;
    outline: 0 !important;
    background: rgba(2,10,18,.78) !important;
    color: #fff !important;
    box-shadow: inset 0 1px 8px rgba(0,0,0,.3) !important;
}

.ccgk-registration-entry-gate .ccgk-register-content input:focus,
.ccgk-registration-entry-gate .ccgk-register-content select:focus,
.ccgk-registration-entry-gate .ccgk-register-content textarea:focus {
    border-color: #58b5ff !important;
    box-shadow: 0 0 0 3px rgba(69,169,255,.13), inset 0 1px 8px rgba(0,0,0,.26) !important;
}

.ccgk-registration-entry-gate .ccgk-register-content input[type="submit"],
.ccgk-registration-entry-gate .ccgk-register-content button[type="submit"],
.ccgk-registration-entry-gate .ccgk-register-content .um-button {
    width: 100% !important;
    min-height: 52px !important;
    margin: 6px 0 0 !important;
    padding: 12px 18px !important;
    border: 1px solid rgba(211,168,88,.88) !important;
    border-radius: 11px !important;
    background: linear-gradient(135deg, #805a20 0%, #b58b43 52%, #76531c 100%) !important;
    color: #fff !important;
    text-align: center !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: .13em !important;
    box-shadow: 0 12px 28px rgba(120,83,28,.24), 0 0 24px rgba(199,155,77,.1) !important;
    cursor: pointer !important;
}

.ccgk-registration-entry-gate .ccgk-register-content input[type="submit"]:hover,
.ccgk-registration-entry-gate .ccgk-register-content button[type="submit"]:hover,
.ccgk-registration-entry-gate .ccgk-register-content .um-button:hover {
    filter: brightness(1.12);
}

.ccgk-registration-entry-gate .ccgk-register-content a {
    color: #8fc9f8 !important;
}

.ccgk-registration-entry-gate .ccgk-register-content .um-col-alt,
.ccgk-registration-entry-gate .ccgk-register-content .um-col-alt-b {
    margin-top: 10px !important;
}

.ccgk-registration-entry-gate .ccgk-register-content .um-field-error,
.ccgk-registration-entry-gate .ccgk-register-content .um-notice,
.ccgk-registration-entry-gate .ccgk-register-content .um-error-block {
    border-radius: 10px !important;
}

@media (max-width: 640px) {
    .ccgk-registration-entry-gate .ccgk-registration-gate-card {
        padding: 22px 14px;
    }

    .ccgk-registration-entry-gate .ccgk-register-content {
        padding: 18px 14px;
        border-radius: 16px;
    }

    .ccgk-registration-entry-gate .ccgk-access-switch {
        margin-top: 20px;
    }
}

/* v1.2.7 — FULL-PAGE MEMBER ACCESS
 * The gate is the page. Remove the outer card/frame so LOGIN and REGISTER
 * sit directly in the full-viewport Challenge-Coins.com access experience.
 */
body.ccgk-account-entry-gate {
    min-height: 100vh !important;
}

.ccgk-account-entry-gate .ccgk-account-gate-wrap {
    display: block;
    width: 100%;
    max-width: none;
    min-height: 100vh;
    padding: clamp(28px, 5vw, 72px) clamp(18px, 5vw, 72px);
    box-sizing: border-box;
}

.ccgk-account-entry-gate .ccgk-account-gate-card,
.ccgk-registration-entry-gate .ccgk-registration-gate-card {
    width: min(100%, 1180px);
    max-width: 1180px;
    margin: 0 auto;
    padding: 0;
    overflow: visible;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.ccgk-account-entry-gate .ccgk-account-gate-card::before,
.ccgk-account-entry-gate .ccgk-account-gate-card::after {
    display: none !important;
}

.ccgk-account-entry-gate .ccgk-brand-head {
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.ccgk-account-entry-gate .ccgk-entry-rule {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.ccgk-account-entry-gate .ccgk-entry-grid {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

/* Keep LOGIN / REGISTER as the only two destinations, but make their panels
 * feel integrated with the full page rather than nested inside a third frame. */
.ccgk-account-entry-gate .ccgk-entry-panel {
    border-color: rgba(104,157,204,.22);
    background: linear-gradient(160deg, rgba(17,38,62,.56), rgba(6,18,31,.46));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 16px 36px rgba(0,0,0,.16);
}

.ccgk-registration-entry-gate .ccgk-registration-gate-wrap {
    display: block;
    padding-top: clamp(28px, 5vw, 64px);
    padding-bottom: clamp(36px, 6vw, 78px);
}

.ccgk-registration-entry-gate .ccgk-access-switch {
    margin-top: 30px;
}

.ccgk-registration-entry-gate .ccgk-register-content {
    width: min(100%, 760px);
    padding: 0;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

@media (max-width: 780px) {
    .ccgk-account-entry-gate .ccgk-account-gate-wrap,
    .ccgk-registration-entry-gate .ccgk-registration-gate-wrap {
        padding: 22px 15px 36px;
    }

    .ccgk-account-entry-gate .ccgk-account-gate-card,
    .ccgk-registration-entry-gate .ccgk-registration-gate-card {
        padding: 0 !important;
        border-radius: 0 !important;
    }
}
