@keyframes grimoire-flicker { 0%, 100% { opacity: 0.7; transform: scale3d(1, 1, 1); } 30% { opacity: 1; transform: scale3d(1.04, 1.06, 1); } 55% { opacity: 0.8; } 75% { opacity: 0.95; transform: scale3d(0.98, 1.02, 1); } }
@keyframes grimoire-motes { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -720px, 0); } }
#profile::before { content: ""; position: absolute; inset: 0; z-index: -3; background: radial-gradient(ellipse at 50% 0%, rgba(120, 60, 20, 0.6), rgba(0, 0, 0, 0) 60%), repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0 2px, rgba(0, 0, 0, 0) 2px 7px), linear-gradient(180deg, #2a160b, #1a0d06 60%, #0f0703); }
#profile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 7, 3, 0), rgba(15, 7, 3, 0.35) 20%, rgba(15, 7, 3, 0.35) 80%, rgba(15, 7, 3, 0)); }
#profile .profile-inner::before, #profile .profile-inner::after { content: ""; position: absolute; z-index: -2; backface-visibility: hidden; }
#profile .profile-inner::before { left: 50%; top: -260px; width: 1200px; height: 900px; margin-left: -600px; border-radius: 50%; background: radial-gradient(ellipse, rgba(255, 180, 70, 0.35), rgba(255, 120, 30, 0.12) 40%, rgba(0, 0, 0, 0) 70%); filter: blur(10px); animation: grimoire-flicker 3.2s ease-in-out infinite; }
#profile .profile-inner::after { left: 0; right: 0; top: 0; bottom: -720px; background: radial-gradient(circle, #ffe7a0 0 1.5px, rgba(255, 200, 90, 0.3) 2.5px, rgba(0, 0, 0, 0) 4px) 0 0 / 140px 240px, radial-gradient(circle, #ffd27a 0 1px, rgba(0, 0, 0, 0) 2.5px) 70px 110px / 90px 180px; animation: grimoire-motes 22s linear infinite; }
#profile .profile-inner { gap: 18px; max-width: 980px; }
#profile { background: transparent; color: #3b2512; }
#profile a { color: #6b2f8a; }
#profile a:hover { color: #8a1c1c; }
#profile .profile-name, #profile .profile-facts, #profile .headline, #profile .last-login, #profile .mood, #profile .view-my { color: #3b2512; text-shadow: 0 1px 4px #000000; }
#profile .last-login, #profile .comment-date, #profile .comment-count, #profile .friend-count, #profile .comment-note, #profile .view-all { color: #7a5a3a; }
#profile .interests, #profile .details, #profile .extended-network, #profile .friends-block, #profile .blurbs, #profile .profile-mail, #profile .friend-space, #profile .comments, #profile .games, #profile .music-player, #profile .profile-panel { background: radial-gradient(ellipse at 50% 40%, #f6e6c2, #ead2a0 65%, #d9b77c); border: 1px solid #b8893a; border-radius: 8px; padding: 8px; color: #3b2512; }
#profile .interests, #profile .details { border-collapse: separate; border-spacing: 0; border-color: #b8893a; border-radius: 8px; overflow: hidden; }
#profile .interests th, #profile .details th { background: linear-gradient(180deg, #5a321b, #3a1f10); color: #f3d98a; }
#profile .interests .label, #profile .details .label { background: rgba(122, 90, 58, 0.14); color: #8a1c1c; }
#profile .section-title { background: linear-gradient(180deg, #5a321b, #3a1f10); color: #f3d98a; border-radius: 4px; }
#profile .blurbs h3, #profile .game-box h3, #profile .song-title { color: #8a1c1c; }
#profile .extended-network { color: #8a1c1c; }
#profile .comment-author, #profile .comment-body { background: rgba(255, 250, 236, 0.6); color: #3b2512; border-radius: 4px; }
#profile .comment-form label { color: #3b2512; }
#profile .comment-form textarea { background: rgba(255, 250, 236, 0.85); border-color: #b8893a; color: #3b2512; }
#profile .music-start { background: rgba(255, 250, 236, 0.6); border-color: #b8893a; color: #3b2512; }
#profile .music-start:hover { background: rgba(122, 90, 58, 0.14); }
#profile .music-hint, #profile .music-link { color: #7a5a3a; }
#profile .deck-screen, #profile .deck-button, #profile .deck-video, #profile .deck-num { color: #8a1c1c; }
#profile .deck-shell { border-color: #b8893a; }
#profile .online-now { background: rgba(255, 250, 236, 0.6); color: #3b2512; }
#profile .interests, #profile .details, #profile .extended-network, #profile .friends-block, #profile .blurbs, #profile .profile-mail, #profile .friend-space, #profile .comments, #profile .games, #profile .music-player, #profile .profile-panel { border: 2px solid #b8893a; border-radius: 6px; box-shadow: 0 0 0 3px #4a2a17, 0 0 0 4px #b8893a, 0 14px 30px rgba(0, 0, 0, 0.55), inset 0 0 30px rgba(122, 80, 30, 0.25); }
#profile { font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif; }
#profile .profile-name, #profile .profile-facts, #profile .headline, #profile .last-login, #profile .mood, #profile .view-my { color: #f3d98a; text-shadow: 0 1px 4px #000000; }
#profile .last-login { color: #c9a46a; }
#profile .section-title { font-variant: small-caps; letter-spacing: 2px; border-radius: 3px; }
#profile .section-title::before { content: "\2726  "; color: #f3d98a; }
#profile .comment-body { font-style: italic; }
#profile .profile-name { color: #f3d98a; font-style: italic; letter-spacing: 1px; text-shadow: 0 0 10px rgba(255, 190, 90, 0.7), 0 2px 4px #000000; }
#profile .profile-pic { border: 3px double #b8893a; border-radius: 6px; box-shadow: 0 0 0 3px #4a2a17, 0 0 22px rgba(255, 180, 70, 0.4); }