/* Shared official-account entry. Artwork and existing advertisements stay separate. */
.yj-account-slot{margin:22px 0}
.yj-account-card,.yj-account-dialog{box-sizing:border-box;color:#eef0ed;background:#101b17;border:1px solid #635c43;border-radius:8px;font-family:Arial,"Microsoft YaHei",sans-serif}
.yj-account-card{display:flex;align-items:center;gap:18px;padding:14px 18px;width:100%;max-width:540px}
.yj-account-image{display:block;flex:none;padding:0;border:0;background:#fff;cursor:zoom-in;border-radius:3px;overflow:hidden}
.yj-account-image img{display:block;width:112px;height:112px;image-rendering:pixelated}
.yj-account-copy{min-width:0}
.yj-account-copy p{margin:0 0 5px;font-size:12px;line-height:1.6;color:#a7b1b5}
.yj-account-copy h2{margin:0 0 6px;font-size:21px;line-height:1.4;color:#dfc17d;letter-spacing:.02em}
.yj-account-card .yj-account-hint{color:#a5eeb3;font-size:11px;margin:0}
.yj-account-card.is-docked{position:fixed;display:flex;flex-direction:column;gap:9px;padding:12px 10px;z-index:16;text-align:center;width:var(--yj-qr-width);left:var(--yj-qr-left);top:var(--yj-qr-top);box-shadow:0 8px 30px #0003}
.yj-account-card.is-docked .yj-account-image img{width:var(--yj-qr-image);height:var(--yj-qr-image)}
.yj-account-card.is-docked .yj-account-copy h2{font-size:18px;margin-bottom:3px}
.yj-account-card.is-docked .yj-account-copy p{margin-bottom:2px;font-size:11px}
.yj-account-slot:has(.is-docked){margin:0}
.gto-promo-card--mtt.yj-account-ad,.community-promo-rail-right.yj-account-ad{top:var(--yj-ad-top)!important;transform:none!important}
.yj-account-image:focus-visible,.yj-account-dialog button:focus-visible{outline:2px solid #a5eeb3;outline-offset:4px}
.yj-account-dialog{padding:24px;width:min(410px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;scrollbar-color:#827c6c #263443;text-align:center;box-shadow:0 25px 80px #0008}
.yj-account-dialog::backdrop{background:#030907c9}
.yj-account-dialog:not([open]){display:none}
.yj-account-dialog h2{margin:3px 32px 5px;color:#dfc17d;font-size:25px;line-height:1.4}
.yj-account-dialog p{font-size:13px;color:#a7b1b5;line-height:1.7;margin:5px 0 17px}
.yj-account-dialog .yj-account-large{display:block;width:min(280px,100%);height:auto;margin:0 auto 18px;image-rendering:pixelated;background:#fff;border-radius:4px}
.yj-account-dialog button{font:inherit;cursor:pointer;letter-spacing:0}
.yj-account-dialog .yj-account-close{position:absolute;right:12px;top:10px;width:32px;height:32px;padding:0;border:1px solid #49504a;border-radius:4px;background:#101914;color:#eef0ed;font-size:23px}
.yj-account-dialog .yj-account-copy-name{padding:10px 20px;border:1px solid #a5eeb3;border-radius:4px;background:#a5eeb3;color:#14201a;font-size:14px}
.yj-account-dialog .yj-account-status{min-height:22px;font-size:12px;margin:12px 0 0}
.registration-benefit--referral .registration-benefit-value{font-size:25px;line-height:1.5;white-space:normal;color:#a5eeb3}
.yj-cashback{margin-top:23px;border-top:1px solid #7d8e694f;padding-top:18px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.yj-cashback h3{font-size:12px;line-height:1.6;margin:0 0 5px;color:#dfc17d;font-weight:500}
.yj-cashback .yj-cashback-title{color:#a5eeb3;font-size:22px;font-weight:700;line-height:1.5;margin:0}
.yj-cashback .yj-cashback-note{max-width:535px;margin:0;font-size:12px;color:#a7b1b5;line-height:1.9}
@media(max-width:750px){.yj-cashback{align-items:flex-start;flex-direction:column;gap:10px}.yj-cashback .yj-cashback-title{font-size:20px}.yj-account-card{gap:14px;padding:14px}.yj-account-image img{width:100px;height:100px}.yj-account-copy h2{font-size:19px}}
@media(max-width:360px){.yj-account-card{gap:10px;padding:11px}.yj-account-image img{width:88px;height:88px}.yj-account-copy h2{font-size:18px}.yj-account-copy p{font-size:11px}}
