.home-page .account-nav-pill { align-items: center; gap: 9px; max-width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid #675578; border-radius: 7px; background: #2a2233; color: #f5f0fa; cursor: pointer; }
.home-page .account-nav-pill img { width: 26px; height: 26px; image-rendering: pixelated; border-radius: 4px; }
.home-page #nav-account-name { overflow: hidden; text-overflow: ellipsis; }
.home-page .account-nav-edition { color: #d9b8fa; font-size: .7rem; }
.home-page #modalUsernameOverlay { display: none; position: fixed; inset: 0; z-index: 1000; padding: 24px; background: #08060ddb; align-items: center; justify-content: center; overflow-y: auto; font-family: var(--font-ios); }
.home-page #modalUsernameOverlay.open { display: flex; }
.home-page #modalUsernameOverlay .modal-box { width: 100%; max-width: 460px; max-height: calc(100dvh - 48px); overflow-y: auto; background: #211b28; border: 1px solid #55455f; border-radius: 14px; box-shadow: 0 20px 60px #0008; }
.home-page #modalUsernameOverlay .modal-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid #44384f; }
.home-page #modalUsernameOverlay .modal-title { font-size: 1.4rem; font-weight: 700; color: #fff; }
.home-page #modalUsernameOverlay .modal-close { width: 44px; height: 44px; border: 0; border-radius: 8px; background: #352b40; color: #fff; font-size: 1.5rem; cursor: pointer; }
.home-page #modalUsernameOverlay .modal-body { padding: 24px; }
.home-page #modalUsernameOverlay .modal-powered { margin-bottom: 22px; color: #bdb3c7; font-size: .9rem; line-height: 1.5; }
.home-page #modalUsernameOverlay .form-label { display: block; margin-bottom: 10px; color: #f5f0fa; font-size: .9rem; font-weight: 600; }
.home-page #modalUsernameOverlay .edition-toggle-row { display: flex; gap: 10px; margin-bottom: 24px; }
.home-page #modalUsernameOverlay .edition-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px; background: #302738; color: #d6cadd; border: 1px solid #675578; border-radius: 8px; font: inherit; font-size: .85rem; cursor: pointer; }
.home-page #modalUsernameOverlay .edition-btn.active { background: #4b2c68; color: #fff; border-color: #bb88ed; }
.home-page #modalUsernameOverlay .username-input { width: 100%; min-height: 48px; padding: 12px 14px; background: #130e1b; color: #fff; border: 1px solid #786387; border-radius: 8px; font: 16px var(--font-ios); }
.home-page #modalUsernameOverlay .validation-feedback { margin: 9px 0 22px; color: #bdb3c7; font-size: .8rem; line-height: 1.5; }
.home-page #modalUsernameOverlay .validation-feedback.error { color: #ffb0b7; }
.home-page #modalUsernameOverlay .validation-feedback.success { color: #9bf0b2; }
.home-page #modalUsernameOverlay .player-preview-card { display: flex; align-items: center; gap: 14px; padding: 16px; margin-bottom: 18px; background: #302738; border-radius: 10px; }
.home-page #modalUsernameOverlay .preview-avatar-img { width: 48px; height: 48px; image-rendering: pixelated; border-radius: 6px; }
.home-page #modalUsernameOverlay .preview-name { color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.home-page #modalUsernameOverlay .preview-edition { margin-top: 6px; color: #c6b8d0; font-size: .8rem; }
.home-page #modalUsernameOverlay .modal-buy { width: 100%; min-height: 48px; padding: 12px; background: #ffd479; color: #241b0c; border: 0; border-radius: 8px; font: 600 1rem var(--font-ios); cursor: pointer; }
.home-page #modalUsernameOverlay .modal-buy:disabled { background: #443a4d; color: #bdb3c7; cursor: not-allowed; }
.home-page #modalUsernameOverlay .modal-buy:not(:disabled):hover { background: #ffe8b7; }
.home-page #modalUsernameOverlay .md-skip { display: block; min-height: 44px; width: 100%; color: #d1c4db; background: transparent; border: 0; font: inherit; cursor: pointer; }
.home-page #modalUsernameOverlay .modal-footer { padding: 16px 24px; color: #bdb3c7; font-size: .75rem; text-align: center; border-top: 1px solid #44384f; }
@media (max-width: 480px) { .home-page #modalUsernameOverlay { padding: 12px; } .home-page #modalUsernameOverlay .modal-box { max-height: calc(100dvh - 24px); } .home-page #modalUsernameOverlay .modal-header, .home-page #modalUsernameOverlay .modal-body { padding: 18px; } }
