.account-page{padding:5rem 0;background:#f7f7f7;min-height:60vh}.account-card{max-width:760px;margin:0 auto;background:#fff;border:1px solid #e5e5e5;border-radius:12px;padding:2rem;box-shadow:0 10px 35px rgba(0,0,0,.06)}.account-card--narrow{max-width:520px}.account-title{margin:0 0 .5rem;font-family:Orbitron,Inter,sans-serif;text-transform:uppercase;letter-spacing:.04em}.account-muted{color:#666}.account-form{display:grid;gap:1rem;margin-top:1.5rem}.account-form label{display:grid;gap:.4rem;font-weight:600}.account-form input,.account-form textarea,.account-form select{width:100%;box-sizing:border-box;border:1px solid #d5d5d5;border-radius:14px;padding:.8rem .9rem;font:inherit;background:#fff}.account-form input:focus,.account-form textarea:focus,.account-form select:focus{outline:2px solid rgba(0,0,0,.12);border-color:#888}.account-form button,.account-actions .btn,.admin-tabs button,.btn{border-radius:999px}.account-actions{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}.account-message{min-height:1.4em;margin-top:.5rem}.account-message.error{color:#a40000}.account-message.success{color:#176b2c}.account-link{color:inherit;font-weight:600}.account-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.account-stat{padding:1.1rem;border:1px solid #e5e5e5;border-radius:9px;background:#fafafa}.member-grid,.event-db-grid,.news-db-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.25rem}.member-card,.db-card{background:#fff;border:1px solid #e4e4e4;border-radius:10px;padding:1.25rem}.avatar{width:72px;height:72px;border-radius:50%;object-fit:cover;background:#eee}.avatar--small{width:42px;height:42px}.profile-head{display:flex;gap:1rem;align-items:center;margin-bottom:1.5rem}.badge{display:inline-flex;padding:.25rem .55rem;border-radius:999px;font-size:.75rem;font-weight:700;background:#eee}.badge--admin{background:#111;color:#fff}.status{font-weight:700;text-transform:capitalize}.empty-state{text-align:center;padding:2rem;color:#777;border:1px dashed #ccc;border-radius:10px}.admin-tabs{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.5rem}.admin-tabs button{cursor:pointer}.admin-section{display:none}.admin-section.active{display:block}.admin-table{width:100%;border-collapse:collapse;background:#fff}.admin-table th,.admin-table td{text-align:left;padding:.75rem;border-bottom:1px solid #e8e8e8;vertical-align:top}.admin-table-wrap{overflow:auto}.danger{color:#a40000}.account-danger-zone{margin-top:2rem;padding-top:1.25rem;border-top:1px solid #eee}.delete-profile-button{padding:.55rem 1rem;border:1px solid #d8b4b4;background:#fff;color:#a40000;font:inherit;font-size:.8rem;font-weight:600;border-radius:999px;cursor:pointer}.delete-profile-button:hover{background:#fff5f5;border-color:#c98f8f}.delete-profile-button:disabled{opacity:.6;cursor:not-allowed}.delete-profile-hint{margin:.5rem 0 0;color:#888;font-size:.75rem}

.account-nav{position:relative;display:flex;align-items:center}.account-avatar-button{width:38px;height:38px;padding:0;border:0;background:transparent;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden}.account-avatar-button:hover{box-shadow:0 0 0 2px #e3e8e8}.account-avatar-icon{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}.profile-dropdown{position:absolute;top:calc(100% + 12px);right:0;width:290px;background:#fff;border:1px solid #e3e8e8;border-radius:12px;box-shadow:0 14px 40px rgba(0,0,0,.14);padding:.85rem;z-index:1100}.profile-dropdown[hidden]{display:none}.profile-dropdown-head{display:flex;align-items:center;gap:.8rem;padding:.35rem}.profile-dropdown-avatar{width:54px;height:54px;border-radius:50%;object-fit:cover;background:#eee;flex:0 0 54px}.profile-dropdown-info{min-width:0;display:flex;flex-direction:column;gap:.15rem}.profile-dropdown-info strong{font-family:Orbitron,Inter,sans-serif;font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-dropdown-info span{font-size:.76rem;color:#777;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-dropdown-divider{height:1px;background:#e9e9e9;margin:.7rem 0}.profile-dropdown-link{display:block;padding:.65rem .75rem;border-radius:999px;font-family:Orbitron,Inter,sans-serif;font-size:.78rem;color:#333}.profile-dropdown-link:hover{background:#f4f4f4;color:#111}

.delete-modal{position:fixed;inset:0;z-index:3000;display:grid;place-items:center;padding:1rem}.delete-modal[hidden]{display:none}.delete-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.52);backdrop-filter:blur(4px)}.delete-modal-card{position:relative;width:min(440px,calc(100vw - 2rem));box-sizing:border-box;background:#fff;border:1px solid #e2e2e2;border-radius:18px;padding:2rem;box-shadow:0 25px 80px rgba(0,0,0,.25);text-align:center;z-index:1}.delete-modal-close{position:absolute;top:.65rem;right:.8rem;width:34px;height:34px;border:0;background:transparent;border-radius:50%;font-size:1.5rem;line-height:1;cursor:pointer;color:#777}.delete-modal-close:hover{background:#f3f3f3;color:#222}.delete-modal-icon{width:42px;height:42px;margin:0 auto .9rem;display:grid;place-items:center;border-radius:50%;background:#fff1f1;color:#a40000;font-size:1.25rem;font-weight:800}.delete-modal-card h2{margin:0 0 .65rem;font-family:Orbitron,Inter,sans-serif;font-size:1.2rem;text-transform:uppercase}.delete-modal-card p{margin:.55rem auto;color:#666;font-size:.9rem;line-height:1.5}.delete-modal-card p strong{color:#a40000}.delete-modal-instruction{font-weight:600;color:#333!important;margin-top:1.1rem!important}.hold-delete-button{position:relative;isolation:isolate;overflow:hidden;width:100%;height:48px;margin-top:.8rem;border:1px solid #b56b6b;border-radius:999px;background:#fff;color:#a40000;font:inherit;font-size:.82rem;font-weight:700;cursor:pointer;touch-action:none;user-select:none;-webkit-user-select:none}.hold-delete-progress{position:absolute;z-index:-1;inset:0 auto 0 0;width:0;background:#a40000;transition:width .05s linear}.hold-delete-button.is-holding{color:#fff}.hold-delete-label{position:relative;z-index:1}.delete-modal-cancel{margin-top:.7rem;border:0;background:transparent;color:#777;font:inherit;font-size:.8rem;font-weight:600;cursor:pointer}.delete-modal-cancel:hover{color:#222}

@media(max-width:700px){.account-page{padding:3rem 0}.account-card{padding:1.25rem}.admin-table{min-width:760px}.profile-dropdown{position:fixed;top:68px;right:1rem;width:min(290px,calc(100vw - 2rem))}.delete-modal-card{padding:1.6rem 1.25rem}}
