/* меню «Кабинет» (login.tpl, вошедший) — как на animedia.net, цвета AnimeGO (28.09.2026) */
.animego-online-login.um { width: 440px; max-width: calc(100% - 32px); padding: 0; border-radius: 18px; overflow: hidden; background: var(--bg); color: var(--tt); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.um-head { position: relative; display: flex; align-items: center; gap: 14px; padding: 22px 22px 20px; background: linear-gradient(135deg, var(--accent-darker) 0%, var(--accent) 100%); color: #fff; }
.um-ava { width: 60px; height: 60px; flex-shrink: 0; border-radius: 50%; padding: 3px; background: rgba(255,255,255,.35); }
.um-ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; background: #fff; }
.um-id { min-width: 0; flex: 1; }
.um-name { display: block; font-size: 19px; font-weight: 700; color: #fff !important; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.um-sub { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; font-weight: 400; color: rgba(255,255,255,.85) !important; text-decoration: none; }
.um-sub:hover, .um-name:hover { color: #fff; text-decoration: underline; }
.animego-online-login.um .um-close { position: absolute; top: 12px; right: 14px; margin: 0; color: #fff; opacity: .85; font-size: 20px; cursor: pointer; }
.um-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 18px; }
.um-grid a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 6px 14px; border-radius: 12px; background: var(--bg-2);
	color: var(--tt); text-decoration: none; font-size: 13px; font-weight: 700; text-align: center; box-shadow: inset 0 0 0 1px rgba(128,128,128,.18); transition: transform .2s, box-shadow .2s; }
.um-grid a i { font-size: 22px; color: var(--accent); }
.um-grid a:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--accent); color: var(--tt); }
.um-grid a b { position: absolute; top: 8px; right: 8px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; font-size: 11px; line-height: 20px; background: var(--accent); color: #fff; }
.um-grid a b:empty { display: none; }
.um-foot { display: flex; gap: 10px; padding: 0 18px 18px; }
.um-foot a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 14px; }
.um-admin { background: var(--accent); color: #fff !important; }
.um-admin:hover { filter: brightness(1.1); }
.um-exit { background: var(--bg-2); color: var(--tt) !important; box-shadow: inset 0 0 0 1px rgba(128,128,128,.18); }
.um-exit:hover { color: #e74c3c !important; }
@media (max-width: 420px) { .um-grid { grid-template-columns: repeat(2, 1fr); } }
