body.user-entry-page .page-shell {
    position: relative;
}

body.user-entry-page .page {
    position: relative;
    z-index: 1;
}

body.user-entry-page .entry-frame {
    position: relative;
    isolation: isolate;
}

body.user-entry-page .entry-frame::before {
    content: "";
    position: absolute;
    left: max(18px, 4%);
    right: max(18px, 4%);
    top: 18px;
    height: 180px;
    border-radius: 32px;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, .32), transparent 54%),
        radial-gradient(circle at 84% 8%, rgba(255, 255, 255, .24), transparent 46%),
        linear-gradient(135deg, rgba(255, 213, 169, .18), rgba(119, 225, 217, .1));
    filter: blur(18px);
    opacity: .9;
    pointer-events: none;
    z-index: 0;
}

body.user-entry-page .entry-frame > * {
    position: relative;
    z-index: 1;
}

body.user-entry-page .entry-hero {
    position: relative;
    overflow: hidden;
}

body.user-entry-page .entry-hero::after {
    content: "";
    position: absolute;
    top: -56px;
    right: -44px;
    width: 240px;
    height: 240px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    opacity: .88;
}

body.user-entry-page .entry-hero-note {
    margin: 10px 0 0;
    color: var(--muted, #5f5348);
    font-size: 13px;
    line-height: 1.6;
}

body.user-entry-page .entry-address-panel {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 18px;
    border: 1px solid rgba(28, 27, 26, .1);
    background: rgba(255, 255, 255, .76);
    box-shadow: 0 12px 26px rgba(15, 23, 42, .08);
    backdrop-filter: blur(8px) saturate(118%);
}

body.user-entry-page .entry-address-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

body.user-entry-page .entry-address-copy {
    min-width: 0;
}

body.user-entry-page .entry-address-copy strong {
    display: block;
    font-size: 14px;
    line-height: 1.35;
}

body.user-entry-page .entry-address-copy span {
    display: block;
    margin-top: 3px;
    color: var(--muted, #5f5348);
    font-size: 11px;
    line-height: 1.5;
}

body.user-entry-page .entry-address-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 7px 11px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 11.5px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #d56b2d 0%, #b84f1d 100%);
    box-shadow: 0 10px 20px rgba(184, 79, 29, .18);
}

body.user-entry-page .entry-address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
}

body.user-entry-page .entry-address-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    padding: 10px 11px;
    border-radius: 14px;
    text-decoration: none;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(28, 27, 26, .08);
}

body.user-entry-page .entry-address-item:hover {
    background: rgba(255, 255, 255, .9);
    border-color: rgba(28, 27, 26, .14);
}

body.user-entry-page :is(.entry-frame,.page,.container,.card,.hero,.title,.entry-banner,.notice,.panel,.agreement-card,.promo-card,.game-url-card,.status-card,.item-card,.points-ad-card,.modifier-entry,.preview-box,.result,.empty-state) {
    position: relative;
    isolation: isolate;
}

body.user-entry-page :is(.entry-frame,.page,.container,.card,.hero,.title,.entry-banner,.notice,.panel,.agreement-card,.promo-card,.game-url-card,.status-card,.item-card,.points-ad-card,.modifier-entry,.preview-box,.result,.empty-state)::before {
    content: "";
    position: absolute;
    inset: 1px 1px auto;
    height: 38%;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,.58), rgba(255,255,255,0));
    pointer-events: none;
    z-index: -1;
}

body.user-entry-page :is(.hero,.title,.entry-banner) {
    overflow: hidden;
}

body.user-entry-page :is(.hero,.title,.entry-banner)::after {
    content: "";
    position: absolute;
    right: -86px;
    top: -92px;
    width: 248px;
    height: 248px;
    border-radius: 999px;
    background:
        radial-gradient(circle, rgba(0,113,227,.18), transparent 62%),
        radial-gradient(circle at 26% 72%, rgba(255,159,10,.16), transparent 54%);
    pointer-events: none;
    z-index: -1;
}

body.user-entry-page :is(h1,h2,h3,.entry-title) {
    text-wrap: balance;
}

body.user-entry-page :is(.note,.muted,.hint,.desc,.subtitle,.small,.help,.tip) {
    color: var(--muted, #7a7168);
}

body.user-entry-page :is(button,.button,.btn,a.button,a.btn,input[type="button"],input[type="submit"]) {
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: -.01em;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

body.user-entry-page :is(button,.button,.btn,a.button,a.btn,input[type="button"],input[type="submit"]):not(:disabled):hover {
    transform: translateY(-1px);
}

body.user-entry-page :is(input,select,textarea) {
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

body.user-entry-page :is(input,select,textarea):hover {
    border-color: rgba(28,27,26,.18);
}

body.user-entry-page :is(.toolbar,.actions,.action-row,.button-row,.form-row,.filters) {
    gap: 10px;
}

body.user-entry-page .entry-address-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    min-width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(213, 107, 45, .12);
    color: #9a4113;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

body.user-entry-page .entry-address-meta {
    min-width: 0;
}

body.user-entry-page .entry-address-meta strong {
    display: block;
    font-size: 12px;
    line-height: 1.3;
}

body.user-entry-page .entry-address-url {
    display: block;
    margin-top: 3px;
    color: var(--muted, #5f5348);
    font-size: 11px;
    line-height: 1.45;
    word-break: break-all;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

body.user-entry-page .entry-address-empty {
    padding: 10px 11px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .66);
    border: 1px dashed rgba(28, 27, 26, .14);
    color: var(--muted, #5f5348);
    font-size: 11.5px;
    line-height: 1.55;
}

body.user-entry-page .entry-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 30px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .14);
    color: inherit;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
}

.entry-quick-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.entry-quick-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(154, 65, 19, .12);
    color: var(--text, #1c1b1a);
    box-shadow: 0 14px 30px rgba(15, 23, 42, .08);
    backdrop-filter: blur(10px) saturate(118%);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.entry-quick-link:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .96);
    border-color: rgba(154, 65, 19, .2);
    box-shadow: 0 18px 34px rgba(15, 23, 42, .1);
}

.entry-quick-link.is-active {
    background: linear-gradient(135deg, #d56b2d 0%, #b84f1d 100%);
    border-color: rgba(154, 65, 19, .28);
    color: #fff;
    box-shadow: 0 18px 34px rgba(184, 79, 29, .22);
}

.entry-quick-link-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(154, 65, 19, .08);
    color: var(--accent-deep, #7d3e18);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
}

.entry-quick-link.is-active .entry-quick-link-badge {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.entry-quick-link-title {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

.entry-mobile-nav {
    display: none;
}

.entry-mobile-nav-button,
.entry-mobile-nav-close {
    font-family: inherit;
}

.entry-mobile-nav-button {
    position: fixed;
    right: max(14px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 1700;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 15px;
    border: 1px solid rgba(17, 24, 39, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: var(--text, #171717);
    box-shadow: 0 18px 44px rgba(15, 23, 42, .2);
    backdrop-filter: blur(14px) saturate(125%);
    cursor: pointer;
}

.entry-mobile-nav-button-icon {
    display: inline-grid;
    gap: 3px;
    width: 16px;
}

.entry-mobile-nav-button-icon span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.entry-mobile-nav-button-text {
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
}

.entry-mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1690;
    background: rgba(15, 23, 42, .44);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
}

.entry-mobile-nav-panel {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 1710;
    max-height: min(76dvh, 560px);
    overflow: auto;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .68);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(244, 241, 236, .94)),
        rgba(255, 255, 255, .92);
    box-shadow: 0 28px 72px rgba(15, 23, 42, .28);
    transform: translateY(calc(100% + 28px));
    transition: transform .22s ease;
    -webkit-overflow-scrolling: touch;
}

.entry-mobile-nav-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.entry-mobile-nav-title {
    min-width: 0;
}

.entry-mobile-nav-title strong {
    display: block;
    color: var(--text, #171717);
    font-size: 16px;
    line-height: 1.35;
}

.entry-mobile-nav-title span {
    display: block;
    margin-top: 3px;
    color: var(--muted, #5f5348);
    font-size: 12px;
    line-height: 1.5;
}

.entry-mobile-nav-close {
    flex: none;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid rgba(17, 24, 39, .1);
    border-radius: 999px;
    background: rgba(255, 255, 255, .76);
    color: var(--text, #171717);
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.entry-mobile-nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.entry-mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    min-height: 58px;
    padding: 10px;
    border: 1px solid rgba(17, 24, 39, .08);
    border-radius: 16px;
    background: rgba(255, 255, 255, .68);
    color: var(--text, #171717);
    text-decoration: none;
}

.entry-mobile-nav-link.is-active {
    border-color: rgba(17, 24, 39, .16);
    background: rgba(17, 24, 39, .08);
}

.entry-mobile-nav-badge {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    min-width: 34px;
    height: 34px;
    border-radius: 12px;
    background: rgba(17, 24, 39, .08);
    color: #374151;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .06em;
}

.entry-mobile-nav-link.is-active .entry-mobile-nav-badge {
    background: linear-gradient(180deg, #3f4753 0%, #111827 100%);
    color: #fff;
}

.entry-mobile-nav-copy {
    min-width: 0;
}

.entry-mobile-nav-copy strong,
.entry-mobile-nav-copy small {
    display: block;
}

.entry-mobile-nav-copy strong {
    color: inherit;
    font-size: 13px;
    line-height: 1.3;
}

.entry-mobile-nav-copy small {
    margin-top: 2px;
    color: var(--muted, #5f5348);
    font-size: 11px;
    line-height: 1.35;
}

.entry-mobile-nav.is-open .entry-mobile-nav-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.entry-mobile-nav.is-open .entry-mobile-nav-panel {
    transform: translateY(0);
}

body.user-entry-page .entry-toast.toast {
    position: fixed;
    top: 50%;
    right: auto;
    bottom: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1400;
    display: none;
    width: min(calc(100vw - 24px), 380px);
    max-width: 380px;
    padding: 12px 16px;
    border-radius: 18px;
    text-align: center;
    font-weight: 800;
    line-height: 1.65;
    box-shadow: 0 26px 56px rgba(15, 23, 42, .26);
    backdrop-filter: blur(10px) saturate(120%);
}

body.user-entry-page .entry-toast.toast.success {
    background: rgba(231, 243, 238, .96);
    color: var(--success-text, #0f3d3e);
    border: 1px solid rgba(29, 75, 59, .35);
}

body.user-entry-page .entry-toast.toast.error {
    background: rgba(253, 236, 236, .96);
    color: var(--error-text, #b42318);
    border: 1px solid rgba(91, 31, 31, .32);
}

body.user-entry-page .entry-agreement-mask.agreement-mask {
    z-index: 1500;
    padding: 20px;
    background: rgba(15, 18, 28, .58);
    backdrop-filter: blur(12px);
}

body.user-entry-page .entry-agreement-card.agreement-card {
    width: min(560px, 100%);
    max-height: min(80vh, 720px);
    overflow: auto;
}

@media (max-width: 720px) {
    body.user-entry-page .entry-frame::before {
        left: 12px;
        right: 12px;
        top: 12px;
        height: 144px;
    }

    body.user-entry-page .entry-toast.toast {
        width: min(calc(100vw - 24px), 360px);
        padding: 11px 14px;
        font-size: 13px;
    }

    body.user-entry-page .entry-address-grid {
        grid-template-columns: 1fr;
    }

    body.user-entry-page .entry-agreement-mask.agreement-mask {
        padding: 14px;
    }

    .entry-quick-nav {
        gap: 8px;
    }

    .entry-quick-link {
        width: 100%;
        justify-content: flex-start;
        padding: 10px 12px;
    }
}

@media (max-width: 1080px) {
    body.user-entry-page .entry-mobile-nav {
        display: block;
    }

    body.user-entry-page .entry-mobile-nav-button {
        display: inline-flex;
    }
}

@media (max-width: 480px) {
    .entry-mobile-nav-panel {
        left: 8px;
        right: 8px;
        padding: 12px;
        border-radius: 22px;
    }

    .entry-mobile-nav-links {
        grid-template-columns: 1fr;
    }

    .entry-mobile-nav-link {
        min-height: 54px;
    }
}
