body {
    font-family: 'Montserrat';
    margin: 0;
    min-height: 100dvh;
    position: relative;
    background: #eef2ff;
    color: #f7f9ff;
    letter-spacing: 0.02em;
}

a {
    text-decoration: none;
}

a:link, a:visited {
    color: inherit;
}

a:hover {
    text-decoration: underline;
}

header a.home-img-logo img {
    pointer-events: all;
}

ul {
    margin: 0;
}

.noscript {
    display: flex;
    font-size: 2.5rem;
    font-weight: bold;
    justify-content: center;
    border-bottom: 1rem solid black;
    padding: 10px;
}

.custom-check-or-radio {
    opacity: 0.0;
    position: absolute;
}

.advanced-section {
    grid-column-start: 1;
    grid-column-end: 3;
}

[data-tip] {
    position: relative;
}

[data-tip]::before {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: linear-gradient(135deg, #8100ff 0%, #1199c5 100%);
    color: #f0e6ff;
    font-size: 0.76rem;
    font-weight: 500;
    line-height: 1.45;
    padding: 7px 11px;
    border-radius: 8px;
    border: 1px solid transparent;
    background-clip: padding-box;
    white-space: normal;
    max-width: 320px;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 100;
    box-shadow:
        0 0 0 1px rgba(129,0,255,0.45),
        0 0 12px rgba(129,0,255,0.2),
        0 4px 16px rgba(0,0,0,0.5);
}

[data-tip]::after {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    border: 5px solid transparent;
    border-top-color: rgba(129,0,255,0.5);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 100;
}

[data-tip]:hover::before,
[data-tip]:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

[data-tip-right]::before {
    content: attr(data-tip-right);
    bottom: auto;
    top: 50%;
    left: calc(100% + 10px);
    transform: translateY(-50%) translateX(-4px);
}
[data-tip-right]::after {
    bottom: auto;
    top: 50%;
    left: calc(100% + 2px);
    transform: translateY(-50%) translateX(-4px);
    border-top-color: transparent;
    border-right-color: rgba(129,0,255,0.5);
}
[data-tip-right]:hover::before { transform: translateY(-50%) translateX(0); }
[data-tip-right]:hover::after  { transform: translateY(-50%) translateX(0); }

@keyframes tooltip-border-glow {
    0%   { box-shadow: 0 0 0 1px rgba(129,0,255,0.5), 0 0 12px rgba(129,0,255,0.2), 0 4px 16px rgba(0,0,0,0.5); }
    50%  { box-shadow: 0 0 0 1px rgba(0,192,255,0.5), 0 0 16px rgba(0,192,255,0.25), 0 4px 16px rgba(0,0,0,0.5); }
    100% { box-shadow: 0 0 0 1px rgba(129,0,255,0.5), 0 0 12px rgba(129,0,255,0.2), 0 4px 16px rgba(0,0,0,0.5); }
}
[data-tip]:hover::before,
[data-tip-right]:hover::before {
    animation: tooltip-border-glow 2.5s ease infinite;
}

.pr0m0-area {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ban-slot1 {
    width: 970px;
    height: 91px;
    border: 2px dashed rgba(255,255,255,0.3);
    background: rgb(91 91 91 / 20%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    margin: 10px;
}

.slot-text {
    color: #fff;
    font-weight: bold;
}

.ban-slot1:hover {
    opacity: 1;
}

.ban-slot2 {
    width: 300px;
    height: 250px;
    border: 2px dashed rgba(255,255,255,0.3);
    background: rgb(91 91 91 / 20%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    margin: 10px;
}

.slot-text {
    color: #fff;
    font-weight: bold;
}

.ban-slot2:hover {
    opacity: 1;
}

.profile-main {
    position: relative;
    animation: profileFadeIn 0.5s ease both;
}
@keyframes profileFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.profile-main .content-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

#main-content-column-1 {
    border-radius: 10px;
    margin: 10px;
    margin-right: 25px;
    display: flex;
    flex-direction: column;
    height: auto;
    width: 100%;
}

.profile-hero {
    position: relative;
    border-radius: 32px;
    background: linear-gradient(135deg, #ffffff 50%, #9dcdff 100%);
    border: 6px solid #00c8ff;
    box-shadow: 0 24px 60px rgb(155 203 225 / 60%);
    padding: 20px 35px;
    margin-top: 20px;
}

.profile-avatar-wrap {
    position: relative;
    flex-shrink: 0;
    width: 150px;
    height: 150px;
}

.profile-avatar-ring {
    position: absolute;
    inset: -4px;
    border-radius: 30%;
    background: conic-gradient(#864dff, #00c8ff 35%, #7636e4 65%, #375dd9 100%);
    z-index: 0;
    opacity: 0.7;
}

.profile-avatar-img {
    position: relative;
    z-index: 1;
    width: 150px;
    height: 150px;
    border-radius: 30%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.profile-avatar-editable:hover .profile-avatar-img { transform: scale(1.03); }

.profile-avatar-edit-btn {
    position: absolute;
    bottom: 6px;
    right: 6px;
    z-index: 2;
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 2px solid #85d5ff;
    background-color: rgb(0, 200, 255);
    color: #fff;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.2s, background 0.2s;
    padding: 0;
}
.profile-avatar-edit-btn svg { width: 14px; height: 14px; }
.profile-avatar-edit-btn:hover { transform: scale(1.15); background: #4da3e0; }

.profile-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-edit-name-btn {
    background: none;
    border: none;
    color: #4a5568;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    display: flex; align-items: center;
}
.profile-edit-name-btn svg { width: 15px; height: 15px; }
.profile-edit-name-btn:hover { color: #63b3ed; background: rgba(99,179,237,0.1); }

.cyber-btn:disabled {
    opacity: 0.70;
    cursor: not-allowed;
    pointer-events: none;
}

.profile-delete-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid #e53e3e;
    color: #e53e3e;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 0.85rem;
    cursor: pointer;
    margin-top: 8px;
    opacity: 0.7;
    transition: opacity 0.2s, background 0.2s;
}

.profile-delete-btn:hover {
    opacity: 1;
    background: rgba(229, 62, 62, 0.08);
}

.profile-bio-readonly {
    color: #464646;
    font-style: italic;
    margin: 8px 16px 8px 25px;
    line-height: 1.3;
}

.profile-achievements-section {
    max-width: 720px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    color: #4a5568;
}

.achievements-block {
    background: linear-gradient(135deg, #edf6ff 50%, #9dcdff 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    border: 4px solid #00c8ff;
    border-radius: 30px;
    box-sizing: border-box;
    position: relative;
    margin-top: 30px;
    padding: 60px 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 30px;
}

.achievements-block-title {
    color: #fff;
}

.achievements-block-hint {
    font-size: 0.8rem;
    color: #4299e1;
    margin: -0.25rem 0 0.75rem;
}

.level-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    border-radius: 14px;
    border: 1px solid  #94a3b8;
    background: rgba(255,255,255,0.04);
    transition: box-shadow 0.3s;
}

.level-badge--loaded {
    box-shadow: 0 0 18px transparent;
}

.level-badge-icon {
    font-size: 2rem;
    line-height: 1;
}

.level-badge-name {
    font-size: 1.2rem;
    font-weight: 700;
}

.level-badge-rank {
    display: block;
    font-size: 0.78rem;
    color: #4299e1;
    margin-top: 2px;
}

.level-badge-next {
    font-size: 0.72rem;
    color: #4299e1;
    margin-top: 3px;
    font-style: italic;
}

.veteran-badges-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.veteran-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 80px;
    opacity: 0.4;
    filter: grayscale(1);
    transition: opacity 0.2s, filter 0.2s, transform 0.2s;
    cursor: default;
}

.veteran-badge--unlocked {
    opacity: 1;
    filter: none;
}

.veteran-badge:hover { transform: translateY(-2px); }

.veteran-badge-icon-wrap {
    position: relative;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.veteran-badge-icon {
    font-size: 2rem;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.veteran-badge-check {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #48bb78;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    z-index: 2;
}

.veteran-badge-progress-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: rgba(255,255,255,0.1);
    stroke-width: 3;
}

.ring-fill {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dasharray 0.4s ease;
}

.veteran-badge-name {
    font-size: 0.72rem;
    color: #4299e1;
    text-align: center;
}

.veteran-badge-progress-text {
    font-size: 0.68rem;
    color: #4299e1;
}

.favorite-room-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}

.favorite-room-icon { font-size: 1.6rem; }

.favorite-room-name {
    font-size: 1rem;
    font-weight: 600;
}

.favorite-room-score {
    display: block;
    font-size: 0.75rem;
    color: #4299e1;
    margin-top: 1px;
}

.cyber-btn--add-friend {
    background: rgb(0 200 100 / 72%);
    color: #fff;
}

.cyber-btn--add-friend:hover,
.cyber-btn--add-friend:focus {
    animation: glitch-btn-green 0.22s forwards;
    background: #00c864;
    color: #fff;
    border-color: #00c864;
    box-shadow: 0 0 18px rgba(0,200,100,0.55), 0 0 40px rgba(0,200,100,0.2);
}

.cyber-btn--add-friend:hover svg,
.cyber-btn--add-friend:focus svg { animation: blink-glitch 0.1s infinite; }

.cyber-btn--add-friend:hover::before {
    content: " ";
    width: 12px;
    border: 1px solid #fff;
    position: absolute;
    right: 22%;
    bottom: 3px;
    transform: rotate(35deg);
}

.cyber-btn--add-friend:hover::after {
    animation: shrink-line 0.5s forwards;
    content: " ";
    width: 70%;
    border: 1px solid #fff;
    position: absolute;
    left: 0;
    bottom: 4px;
}

.cyber-btn--add-friend:active { background: none; color: #00c864; box-shadow: none; }
.cyber-btn--add-friend:active::before,
.cyber-btn--add-friend:active::after { display: none; }
.cyber-btn--add-friend:active svg { animation: none; }

.cyber-btn--pending-friend {
    background: rgb(251 191 36 / 86%);
    color: #fff;
}

.cyber-btn--pending-friend:hover,
.cyber-btn--pending-friend:focus {
    animation: glitch-btn-yellow 0.22s forwards;
    background: #fbbf24;
    color: #fff;
    border-color: #fbbf24;
    box-shadow: 0 0 18px rgba(251,191,36,0.55), 0 0 40px rgba(251,191,36,0.2);
}

.cyber-btn--pending-friend:hover svg,
.cyber-btn--pending-friend:focus svg { animation: blink-glitch 0.1s infinite; }

.cyber-btn--pending-friend:hover::before {
    content: " ";
    width: 12px;
    border: 1px solid #fff;
    position: absolute;
    right: 22%;
    bottom: 3px;
    transform: rotate(35deg);
}

.cyber-btn--pending-friend:hover::after {
    animation: shrink-line 0.5s forwards;
    content: " ";
    width: 70%;
    border: 1px solid #fff;
    position: absolute;
    left: 0;
    bottom: 4px;
}

.cyber-btn--pending-friend:active { background: none; color: #fbbf24; box-shadow: none; }
.cyber-btn--pending-friend:active::before,
.cyber-btn--pending-friend:active::after { display: none; }
.cyber-btn--pending-friend:active svg { animation: none; }

.cyber-btn--incoming-friend {
    background: rgb(251, 191, 36);
    color: #fff;
    cursor: default !important;
}
.cyber-btn--incoming-friend:hover,
.cyber-btn--incoming-friend:focus {
    animation: glitch-btn-yellow 0.22s forwards;
    background: #fbbf24;
    color: #fff;
    border-color: #fbbf24;
    box-shadow: 0 0 18px rgba(251,191,36,0.55), 0 0 40px rgba(251,191,36,0.2);
}
.cyber-btn--incoming-friend:hover svg,
.cyber-btn--incoming-friend:focus svg { animation: blink-glitch 0.1s infinite; }
.cyber-btn--incoming-friend:hover::before {
    content: " ";
    width: 12px;
    border: 1px solid #fff;
    position: absolute;
    right: 22%;
    bottom: 3px;
    transform: rotate(35deg);
}
.cyber-btn--incoming-friend:hover::after {
    animation: shrink-line 0.5s forwards;
    content: " ";
    width: 70%;
    border: 1px solid #fff;
    position: absolute;
    left: 0;
    bottom: 4px;
}
.cyber-btn--incoming-friend:active { background: none; color: #fbbf24; box-shadow: none; }
.cyber-btn--incoming-friend:active::before,
.cyber-btn--incoming-friend:active::after { display: none; }
.cyber-btn--incoming-friend:active svg { animation: none; }

.cyber-btn--remove-friend {
    background: rgb(24 157 239 / 81%);
    color: #fff;
}

.cyber-btn--remove-friend:hover,
.cyber-btn--remove-friend:focus {
    animation: glitch-btn-red 0.22s forwards;
    background: #fc8181;
    color: #fff;
    border-color: #fc8181;
    box-shadow: 0 0 18px rgba(252,129,129,0.55), 0 0 40px rgba(252,129,129,0.2);
}

.cyber-btn--remove-friend:hover svg,
.cyber-btn--remove-friend:focus svg { animation: blink-glitch 0.1s infinite; }

.cyber-btn--remove-friend:hover::before {
    content: " ";
    width: 12px;
    border: 1px solid #fff;
    position: absolute;
    right: 22%;
    bottom: 3px;
    transform: rotate(35deg);
}

.cyber-btn--remove-friend:hover::after {
    animation: shrink-line 0.5s forwards;
    content: " ";
    width: 70%;
    border: 1px solid #fff;
    position: absolute;
    left: 0;
    bottom: 4px;
}

.cyber-btn--remove-friend:active { background: none; color: #fc8181; box-shadow: none; }
.cyber-btn--remove-friend:active::before,
.cyber-btn--remove-friend:active::after { display: none; }
.cyber-btn--remove-friend:active svg { animation: none; }

@keyframes glitch-btn-green {
    20%  { background: #ff2d78; transform: translateX(-6px); letter-spacing: 6px; border-color: #ff2d78; }
    35%  { background: #00c8ff; transform: translateX(6px);  border-color: #00c8ff; }
    55%  { opacity: 0.6; }
    65%  { background: #8100ff; transform: translateX(-5px); filter: blur(3px); border-color: #8100ff; }
    100% { background: #00c864; color: #fff; filter: blur(0); transform: translateX(0); border-color: #00c864;
           box-shadow: 0 0 18px rgba(0,200,100,0.55); }
}

@keyframes glitch-btn-yellow {
    20%  { background: #ff2d78; transform: translateX(-6px); letter-spacing: 6px; border-color: #ff2d78; }
    35%  { background: #00c8ff; transform: translateX(6px);  border-color: #00c8ff; }
    55%  { opacity: 0.6; }
    65%  { background: #4d77ff; transform: translateX(-5px); filter: blur(3px); border-color: #4d77ff; }
    100% { background: #fbbf24; color: #fff; filter: blur(0); transform: translateX(0); border-color: #fbbf24;
           box-shadow: 0 0 18px rgba(251,191,36,0.55); }
}

.profile-hero-title-bar {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    background: linear-gradient(45deg, #4d77ff, #00c8ff);
    color: white;
    margin: 0;
    position: absolute;
    top: -11px;
    left: 40px;
    transform: none;
    text-shadow: 0 0 10px rgba(0, 200, 255, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 2px solid #00c8ff;
    padding: 7px 12px 7px 12px;
    white-space: nowrap;
    cursor: default;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.profile-hero-title-nick {
    font-weight: 900;
    letter-spacing: 0.02em;

    max-width: 145px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-hero {
    padding-top: 44px !important;
}

.profile-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.profile-hero-top {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-top: 20px;
}

.profile-hero-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.profile-hero-bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-hero-data-grid {
    display: flex;
    gap: 0;
    background: rgba(255,255,255,0.55);
    border: 1.5px solid rgba(0,200,255,0.35);
    border-radius: 8px;
    padding: 0;
    margin-top: 14px;
}

.profile-data-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 7px 11px;

    height: 114px;
    justify-content: center;
}

.profile-data-divider {
    width: 1.5px;
    background: linear-gradient(to bottom, transparent, rgba(0,200,255,0.4), transparent);
    margin: 10px 0;
    flex-shrink: 0;
}

.profile-data-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(0,200,255,0.08);
}
.profile-data-row:last-child { border-bottom: none; }

.profile-data-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #4299e1;
    flex-shrink: 0;
}

.profile-display-name {
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    color: #464646;
}

.profile-nickname {
    font-size: 0.95rem;
    color: #464646;
    display: flex;
    align-items: center;
    gap: 5px;
}

.profile-nickname {
    font-size: 0.95rem;
    color: #ffffff;
}

.profile-status {
    display: flex;
    align-items: center;
    gap: 5px;
}

.profile-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.profile-status-dot.status-online  { background: #48bb78; box-shadow: 0 0 5px #48bb7888; }
.profile-status-dot.status-playing { background: #48bb78; box-shadow: 0 0 5px #48bb7888; }
.profile-status-dot.status-offline { background: #a0aec0; }

.profile-data-value {
    font-size: 0.95rem;
    color: #464646;
}

.profile-since {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #464646;
}

.profile-owner-actions {
    position: absolute;
    top: 14px;
    right: 36px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cyber-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    padding: 8px 16px;
    min-width: 110px;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    white-space: nowrap;
    transition: all 0.3s ease;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    border: none;
}

.cyber-btn--action {
    background-color: rgb(0, 200, 255);
    color: #ffffff;
}

.cyber-btn--action:hover,
.cyber-btn--action:focus {
    animation: glitch-btn-cyan 0.22s forwards;
    background: #00c8ff;
    color: #ffffff;
    border-color: #00c8ff;
    box-shadow: 0 0 18px rgba(0,200,255,0.55), 0 0 40px rgba(0,200,255,0.2);
    transform: translateY(-3px);
}

.cyber-btn--action:hover svg,
.cyber-btn--action:focus svg {
    animation: blink-glitch 0.1s infinite;
}

.center-profile-btns {
    flex: 1;
    margin-top: 5px;
    justify-content: center;
}

.center-profile-btns:hover,
.center-profile-btns:focus {
    animation: glitch-btn-cyan 0.22s forwards;
    background: #00c8ff;
    color: #ffffff !important;
    text-decoration: none !important;
    border-color: #00c8ff;
    box-shadow: 0 0 18px rgba(0,200,255,0.55), 0 0 40px rgba(0,200,255,0.2);
    transform: translateY(-3px);
}

.cyber-btn--action:hover img,
.cyber-btn--action:focus img {
    animation: blink-glitch 0.1s infinite;
}

.cyber-btn--action:hover::before {
    content: " ";
    width: 12px;
    border: 1px solid #7013ef;
    position: absolute;
    right: 12%;
    bottom: 1px;
    transform: rotate(35deg);
}

.cyber-btn--action:hover::after {
    animation: shrink-line 0.5s forwards;
    content: " ";
    width: 70%;
    border: 1px solid #7013ef;
    position: absolute;
    left: 0;
    bottom: 4px;
}

.cyber-btn--action:active {
    background: none;
    color: #00c8ff;
    box-shadow: none;
}
.cyber-btn--action:active::before,
.cyber-btn--action:active::after { display: none; }
.cyber-btn--action:active svg { animation: none; }

.cyber-btn--danger {
    background: rgb(236 94 94 / 91%);
    color: #ffffff;
}

.cyber-btn--danger:hover,
.cyber-btn--danger:focus {
    animation: glitch-btn-red 0.22s forwards;
    color: #ffffff;
    box-shadow: 0 0 18px rgba(252,129,129,0.55), 0 0 40px rgba(252,129,129,0.2);
    background: rgb(255 18 18 / 74%);
    border-color: rgb(255 35 35 / 87%);
    transform: translateY(-3px);
}

.cyber-btn--danger:hover svg,
.cyber-btn--danger:focus svg {
    animation: blink-glitch 0.1s infinite;
}

.cyber-btn--danger:hover::before {
    content: " ";
    width: 12px;
    border: 1px solid #7013ef;
    position: absolute;
    right: 10%;
    bottom: 1px;
    transform: rotate(35deg);
}

.cyber-btn--danger:hover::after {
    animation: shrink-line 0.5s forwards;
    content: " ";
    width: 70%;
    border: 1px solid #7013ef;
    position: absolute;
    left: 0;
    bottom: 4px;
}

.cyber-btn--danger:active {
    background: none;
    color: #fc8181;
    box-shadow: none;
}
.cyber-btn--danger:active::before,
.cyber-btn--danger:active::after { display: none; }
.cyber-btn--danger:active svg { animation: none; }

.cyber-btn-wrap {
    position: relative;
    display: inline-flex;
}

.cyber-notif-badge {
    position: absolute;
    top: -8px;
    right: -3px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    background: #8100ff;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(129,0,255,0.8), 0 0 20px rgba(129,0,255,0.4);
    pointer-events: none;
    border-radius: 0;
    clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 5px 100%, 0 calc(100% - 5px));
    animation: badge-glitch 2s ease infinite;
}

.cyber-btn-wrap:hover .cyber-notif-badge {
    transform: translateY(-3px) !important;
    transition: transform 0.3s ease;
}

@keyframes badge-glitch {
    0%   { transform: translate(0, 0);      box-shadow: 0 0 10px rgba(129,0,255,0.8), 0 0 20px rgba(129,0,255,0.4); filter: none; }
    90%  { transform: translate(0, 0);      box-shadow: 0 0 10px rgba(129,0,255,0.8), 0 0 20px rgba(129,0,255,0.4); filter: none; }
    91%  { transform: translate(-2px, 1px); box-shadow: 2px 0 0 #ff2d78, -2px 0 0 #00c8ff; filter: brightness(1.4); }
    92%  { transform: translate(2px, -1px); box-shadow: -2px 0 0 #ff2d78, 2px 0 0 #00c8ff; filter: brightness(0.8); }
    93%  { transform: translate(-1px, 2px); box-shadow: 2px 0 0 #00ff88, -2px 0 0 #b4ff00; filter: brightness(1.6); }
    94%  { transform: translate(0, 0);      box-shadow: 0 0 10px rgba(129,0,255,0.8), 0 0 20px rgba(129,0,255,0.4); filter: none; }
    96%  { transform: translate(1px, -2px); box-shadow: -1px 0 0 #00c8ff, 1px 0 0 #ff2d78; filter: brightness(1.3); }
    97%  { transform: translate(0, 0);      box-shadow: 0 0 10px rgba(129,0,255,0.8), 0 0 20px rgba(129,0,255,0.4); filter: none; }
    100% { transform: translate(0, 0);      box-shadow: 0 0 10px rgba(129,0,255,0.8), 0 0 20px rgba(129,0,255,0.4); filter: none; }
}

@keyframes glitch-btn-cyan {
    20%  { background: #ff2d78; transform: translateX(-6px); letter-spacing: 6px; border-color: #ff2d78; }
    35%  { background: #00ff88; transform: translateX(6px);  border-color: #00ff88; }
    55%  { opacity: 0.6; }
    65%  { background: #4d77ff; transform: translateX(-5px); filter: blur(3px); border-color: #4d77ff; }
    100% { background: #00c8ff; color: #464646; filter: blur(0); transform: translateY(-3px); border-color: #00c8ff;
           box-shadow: 0 0 18px rgba(0,200,255,0.55); }
}

@keyframes glitch-btn-red {
    20%  { background: #00c8ff; transform: translateX(-6px); letter-spacing: 6px; border-color: #00c8ff; }
    35%  { background: #b4ff00; transform: translateX(6px);  border-color: #b4ff00; }
    55%  { opacity: 0.6; }
    65%  { background: #8100ff; transform: translateX(-5px); filter: blur(3px); border-color: #8100ff; }
    100% { background: #fc8181; color: #464646; filter: blur(0); transform: translateY(-3px); border-color: #fc8181;
           box-shadow: 0 0 18px rgba(252,129,129,0.55); }
}

@keyframes blink-glitch {
    50% { opacity: 0; }
}

@keyframes shrink-line {
    100% { width: 8%; }
}

.profile-hero-achievements {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.55);
    border: 1.5px solid rgba(0,200,255,0.35);
    border-radius: 8px;
    flex-wrap: wrap;
}

.hero-ach-item {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 8px 12px;
    flex-shrink: 0;
}

.hero-ach-item--vets {
    flex: 1;
    min-width: 0;
}

.hero-ach-sep {
    width: 1.5px;
    height: 32px;
    background: linear-gradient(to bottom, transparent, rgba(0,200,255,0.4), transparent);
    flex-shrink: 0;
}

.hero-ach-label {
    font-weight: 700;
    color: #4299e1;
    flex-shrink: 0;
    cursor: default;
    font-size: 0.95rem;
    padding: 3px;
}

.hero-ach-value {
    font-size: 0.95rem;
    color: #1a365d;
    cursor: default;
    display: flex;
    align-items: center;
    gap: 5px;
    padding-bottom: 4px;
    text-align: right;
}

.hero-vet-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-left: 12px;
}

.hero-vet-badge {
    position: relative;
    width: 26px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.75;
    filter: grayscale(1);
    transition: opacity 0.2s, filter 0.2s, transform 0.2s;
    cursor: default;
}

.hero-vet-badge--unlocked {
    opacity: 1;
    filter: none;
}

.hero-vet-badge:hover { transform: translateY(-2px) scale(1.1); }

.hero-vet-badge-icon {
    line-height: 1; 
    position: relative; 
    z-index: 1; 
    font-size: 0.95rem;
}

.hero-vet-check {
    position: absolute;
    bottom: -1px;
    right: -1px;
    background: #48bb78;
    color: #fff;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    font-size: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    z-index: 2;
}

.hero-vet-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}
.hero-vet-ring .ring-bg   { fill: none; stroke: rgba(0,0,0,0.08); stroke-width: 3; }
.hero-vet-ring .ring-fill { fill: none; stroke-width: 3; stroke-linecap: round; transition: stroke-dasharray 0.4s; }


.profile-gallery-btns-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.profile-gallery-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 10px;
    background: linear-gradient(135deg, #4d77ff, #00c8ff);
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: opacity 0.15s, transform 0.1s;
    box-shadow: 0 3px 12px rgba(77,119,255,0.3);
    flex: 1;
}

.profile-gallery-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.profile-gallery-btn-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.25);
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
}

#main-content-column-2 {
    margin: 10px;
}

.profile-friends-section {
    width: 100%;
}

#main-content-column-2 .achievements-block {
    width: 100%;
    box-sizing: border-box;
}

#main-content-column-2 .friends-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.friends-count {
    font-weight: 400;
    color: #4299e1;
    margin-left: 6px;
}

.friends-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.friends-loading,
.friends-empty {
    color: #4299e1;
    font-size: 0.88rem;
    font-style: italic;
}

.friend-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 10px;
    width: 90px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    text-decoration: none;
    color: #4a5568;
    position: relative;
    transition: background 0.2s, transform 0.15s;
}
.friend-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.friend-card-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.friend-card-name {
    font-size: 0.75rem;
    text-align: center;
    word-break: break-all;
    color: #4299e1;
}

.friends-ranking-container {
    width: 310px;
    min-height: 485px;
    height: auto;
    border: 6px solid #00c8ff;
    background: rgba(255, 255, 255, 0.9);
    box-sizing: border-box;
    border-radius: 30px;
    position: relative;
    margin-top: 20px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    padding-bottom: 8px;
    justify-self: center;
}

.friends-ranking-title {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    background: linear-gradient(45deg, #4d77ff, #00c8ff);
    color: white;
    margin: 0;
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    text-shadow: 0 0 10px rgba(0, 200, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 6px;
    border: 2px solid #00c8ff;
    padding: 7px 12px 7px 12px;
    white-space: nowrap;
    cursor: default;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.friends-count-badge {
    font-size: 0.85em;
    font-weight: bold;
}

.icon-container {
    position: relative;
    display: flex;
}

.icon-profile-hero-title {
    width: 24px;
    height: 24px;
    margin-top: 2px;
}

h1 {
    font-size: 18px;
    margin: 0;
}

h2 {
    font-size: 18px;
    margin: 0;
}

.icon-profile-posts-title {
    width: 24px;
    height: 24px;
    margin-top: 2px;
}

.icon-profile-friends-title {
    width: 24px;
    height: 24px;
    margin-top: 2px;
}

.friends-search-wrap {
    margin: 56px 12px 12px;
}

.friends-search-input {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 12px;
    border-radius: 5px;
    border: 1.5px solid rgb(0 200 255);
    background: linear-gradient(135deg, rgb(0 115 255 / 48%) 0%, rgb(58 204 252 / 42%) 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: 'Montserrat', sans-serif;
}
.friends-search-input:focus {
    border-color: #00c8ff;
    box-shadow: 0 0 0 2px rgba(0,200,255,0.15);
}
.friends-search-input::placeholder { 
    color: #ffffff;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.friends-ranking-content {
    flex: 1;
    padding: 4px 10px 6px;
    min-height: 335px;
    display: flex;
    flex-direction: column;
}

.friends-rank-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
    width: 100%;
}

.friend-rank-card {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    border-radius: 3px;
    text-decoration: none !important;
    color: #2d3748;
    border: 1px solid rgb(0 123 255 / 18%);
    transition: background 0.2s, transform 0.15s, border-color 0.2s;
    cursor: pointer;
    min-height: 80px;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

.friend-rank-card:hover {
    background: linear-gradient(135deg, rgba(0,200,255,0.18), rgba(77,119,255,0.14));
    border-color: rgba(0,200,255,0.4);
    transform: translateY(-2px);
    overflow: visible;
    z-index: 10;
}

.friend-rank-card--empty {
    background: rgba(0,0,0,0.03);
    border: 1px dashed rgba(0,200,255,0.12);
    cursor: default;
    pointer-events: none;
    min-height: 80px;
}

.friend-rank-top {
    display: flex;
    align-items: center;
    gap: 4px;
    width: 100%;
    padding: 5px 5px 5px 5px;
    box-sizing: border-box;
    min-width: 0;
    text-align: center;
}

.friend-rank-avatar-wrap {
    display: flex;
    position: relative;
    width: 70px;
    height: 70px;
    flex-shrink: 0;

    margin-bottom: 5px;
}

.friend-rank-avatar {
    width: 70px;
    height: 70px;
    border-radius: 10%;
    object-fit: cover;
    display: block;
}

.friend-rank-status-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 12px;
    height: 12px;
    border-radius: 30%;
    border: 2px solid #fff;
    box-sizing: border-box;
}
.friend-rank-status-dot.status-online  { background: #1be41c; box-shadow: 0 0 4px #01ff6b; }
.friend-rank-status-dot.status-playing { background: #1be41c; box-shadow: 0 0 4px #01ff6b; }
.friend-rank-status-dot.status-offline { background: #c5c7ca; }

.friend-rank-status-dot[data-tip] {
    position: absolute;
}

.friend-rank-name {
    font-size: 0.75rem;
    color: #1b1b1b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1;
    letter-spacing: 0.05em;
}

.friends-rank-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 2rem 1rem;
    flex: 1;
    text-align: center;
}
.friends-rank-empty-icon { font-size: 2.2rem; opacity: 0.45; }
.friends-rank-empty-text {
    font-size: 0.82rem;
    color: #4a5568;
    line-height: 1.5;
}
.friends-rank-empty-text strong { color: #4299e1; }

.friends-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 15px 8px 4px;
    border-top: 1px solid rgba(0,200,255,0.15);
    flex-wrap: wrap;
}

.friends-page-btn {
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border-radius: 6px;
    border: 1px solid rgba(77,119,255,0.3);
    background: rgba(255,255,255,0.7);
    color: #4d77ff;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    line-height: 1;
}
.friends-page-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(0,200,255,0.2), rgba(77,119,255,0.15));
    border-color: #00c8ff;
    color: #2b4db3;
}
.friends-page-btn--active {
    background: linear-gradient(135deg, #4d77ff, #00c8ff);
    border-color: #00c8ff;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(0,200,255,0.3);
}
.friends-page-btn:disabled { 
    cursor: default; 
}

.ban-slot2 {
    width: 285px;
    height: 250px;
    border: 2px dashed rgba(255,255,255,0.3);
    background: rgb(91 91 91 / 20%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.ban-slot2:hover { opacity: 1; }

.profile-notifications-wrap {
    position: relative;
    display: inline-block;
    margin-top: 10px;
}

.profile-notifications-btn {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 7px 10px;
    color: #4a5568;
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
}
.profile-notifications-btn:hover { background: rgba(255,255,255,0.14); }

.notif-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #e53e3e;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.request-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    gap: 10px;
}
.request-item:last-child { border-bottom: none; }

.request-item-user {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    flex: 1;
}
.request-item-user:hover { text-decoration: underline; }

.request-item-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.wall-header {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    background: linear-gradient(45deg, #4d77ff, #00c8ff);
    color: white;
    margin: 0;
    position: absolute;
    top: -11px;
    left: 40px;
    transform: none;
    text-shadow: 0 0 10px rgba(0, 200, 255, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 2px solid #00c8ff;
    padding: 7px 12px 7px 12px;
    white-space: nowrap;
    cursor: default;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.wall-compose {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding-bottom: 1rem;
}

.wall-textarea {
    width: 100%;
    min-height: 70px;
    resize: vertical;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(0,200,255,0.2);
    border-radius: 8px;
    padding: 8px 10px;
    color: #4a5568;
    font-size: 0.9rem;
    font-family: inherit;
    line-height: 1.5;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.wall-textarea:focus {
    outline: none;
    border-color: #63b3ed;
}

.wall-compose-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
    padding: 2px 20px;
}

.wall-compose-counter {
    font-size: 0.75rem;
    color: #4299e1;
}

.wall-compose-actions {
    display: flex;
    gap: 8px;
}

.wall-privacy-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #4299e1;
    cursor: pointer;
    user-select: none;
}

.wall-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wall-post {
    background: rgba(255,255,255,0.5);
    border: 1.5px solid rgba(0,200,255,0.2);
    border-radius: 12px;
    padding: 12px 14px;
    transition: background 0.15s, border-color 0.15s;
    position: relative;
}

.wall-post:hover {
    background: rgba(255,255,255,0.65);
    border-color: rgba(0,200,255,0.4);
    z-index: 10;
}

.wall-post--new {
    border-color: rgba(0,200,255,0.5);
    background: rgba(0,200,255,0.07);
    box-shadow: 0 0 0 1px rgba(0,200,255,0.2);
}

.wall-post-inner {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.wall-post-avatar-col {
    flex-shrink: 0;
}

.wall-post-avatar {
    width: 50px;
    height: 50px;
    border-radius: 30%;
    object-fit: cover;
    display: block;
    border: 1.5px solid rgba(0,200,255,0.3);
    box-shadow: 0 0 10px rgba(0,200,255,0.15);
    transition: box-shadow 0.2s;
}

.wall-post:hover .wall-post-avatar {
    box-shadow: 0 0 16px rgba(0,200,255,0.3);
}

.wall-post-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.wall-post-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    margin: 5px 2px;
}

.wall-post-author {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #4a5568 !important;
    font-size: 0.88rem;
    font-weight: 600;
}
.wall-post-author:hover { text-decoration: underline; }

.wall-post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wall-post-date {
    font-size: 0.72rem;
    color: #4299e1;
    letter-spacing: 0.03em;
}

.wall-badge {
    font-size: 0.7rem;
    padding: 2px 7px;
    border-radius: 20px;
    font-weight: 500;
}
.wall-badge--public  { background: rgba(72,187,120,0.15); color: #48bb78; }
.wall-badge--private { background: rgba(251,191,36,0.12); color: #fbbf24; }
.wall-badge--locked  { background: rgba(148,163,184,0.12); color: #94a3b8; }

.wall-post-content {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #4a5568;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
    padding: 4px;
}

.wall-post-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.wall-action-btn {
    background: none;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 0.78rem;
    color: #4299e1;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.wall-action-btn:hover { 
    background: #63b3ed;
    color: #ffffff; 
    opacity: 0.85;
    transform: translateY(-1px);
}
.wall-action-btn--delete:hover { background: rgba(229,62,62,0.1); color: red; border-color: red; }

.wall-post--new {
    border-color: rgba(99,179,237,0.45);
    background: rgba(99,179,237,0.07);
    box-shadow: 0 0 0 1px rgba(99,179,237,0.2);
}

.wall-post--new::before {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #63b3ed;
    background: rgba(99,179,237,0.15);
    border-radius: 4px;
    padding: 1px 6px;
    margin-bottom: 6px;
}

.wall-post-new-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #63b3ed;
    background: rgba(99,179,237,0.15);
    border-radius: 4px;
    padding: 1px 6px;
    margin-bottom: 6px;
    margin-left: 5px;
}

.wall-seen-badge {
    font-size: 0.85rem;
    cursor: default;
    transition: filter 0.2s;
}

.wall-seen-badge--seen {
    filter: none;
    opacity: 1;
}

.wall-seen-badge--unseen {
    filter: grayscale(1);
    opacity: 0.4;
}

.wall-post-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.wall-action-icon {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 2px 4px;
    border-radius: 4px;
    opacity: 0.5;
    transition: opacity 0.15s, background 0.15s;
    line-height: 1;
}

.wall-action-icon:hover         { opacity: 1; background: rgba(255,255,255,0.08); }
.wall-action-icon--delete:hover { background: rgba(229,62,62,0.1); }

.wall-post .wall-post-actions   { opacity: 0; transition: opacity 0.15s; }
.wall-post:hover .wall-post-actions { opacity: 1; }

.wall-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.wall-page-btn {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 6px 14px;
    color: #63b3ed;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.15s;
}

.wall-page-btn:hover:not(:disabled) { background: rgba(255,255,255,0.12); }
.wall-page-btn:disabled             { opacity: 0.35; cursor: default; }

.wall-page-info {
    font-size: 0.82rem;
    color: #63b3ed;
}

.wall-not-friend-msg {
    color: #4299e1;
    font-size: 0.88rem;
    font-style: italic;
    padding: 10px 0;
    text-align: center;
}

.notif-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 220px;
    background: #1a202c;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    overflow: hidden;
    z-index: 200;
}

.notif-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    cursor: pointer;
    transition: background 0.15s;
    font-size: 0.88rem;
}
.notif-dropdown-item:hover { background: rgba(255,255,255,0.07); }

.notif-item--unread { background: rgba(99,179,237,0.07); }
.notif-item--unread:hover { background: rgba(99,179,237,0.12); }

.notif-item-icon  { font-size: 1rem; flex-shrink: 0; }
.notif-item-label { flex: 1; }

.notif-item-count {
    background: #e53e3e;
    color: #fff;
    border-radius: 20px;
    min-width: 20px;
    height: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

.wall-gear-wrap {
    position: relative;
    display: inline-flex;
}

.wall-gear-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 3px 5px;
    border-radius: 5px;
    color: #4299e1;
    opacity: 0;
    transition: opacity 0.15s, background 0.15s, color 0.15s;
    display: flex;
    align-items: center;
    transition: background 0.2s, transform 0.15s, border-color 0.2s;
}

.wall-post:hover .wall-gear-btn { opacity: 1; }
.wall-gear-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #0b8ffa;
    transform: translateY(-2px);
}

.wall-gear-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 170px;
    background-color: rgb(0, 200, 255);
    border: 1px solid rgba(129,0,255,0.25);
    border-radius: 5px;
    box-shadow:
        0 0 0 1px rgba(0,192,255,0.08),
        0 6px 12px rgba(0,0,0,0.6),
        0 0 20px rgba(129,0,255,0.08);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px) scale(0.97);
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 100;
    border: 1px solid rgb(129 0 255 / 90%);
}

.wall-gear-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 4px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 14px solid #00c8ff;
    z-index: -1;
}

.wall-gear-menu--open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.wall-gear-item {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 10px 14px;
    background: none;
    border: none;
    color: #fff;
    font-size: 0.83rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
    justify-content: center;
}

.wall-gear-item:first-child:hover {
    background: rgb(0 81 255 / 49%);
    color: #e2e8f0;
    border-radius: 5px 5px 0 0;
}

.wall-gear-item:not(:first-child):not(.wall-gear-item--danger):hover {
    background: rgb(0 81 255 / 49%);
    color: #e2e8f0;
}

.wall-gear-item--danger { color: rgb(236,94,94,0.91); }
.wall-gear-item--danger:hover {
    background: rgb(236,94,94,0.91);
    color: #ffffff;
    border-radius: 0 0 5px 5px;
}

.delete-post-text {
    color: #fff;
}

.modal-post-text-description {
    font-size: 0.88rem;
    color: #2d3748;
    line-height: 1.6;
    text-align: center;
    padding: 0 4px;
}

.notif-section-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #4299e1;
    padding: 10px 16px 6px;

    background: rgba(0, 200, 255, 0.04);
    border-bottom: 1px solid rgba(0, 200, 255, 0.1);
    margin: 0;
}

.notif-section-sep {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 4px 0;
    display: none;
}

.notif-wall-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(0,192,255,0.06);
    border-top: 1px solid rgba(0,192,255,0.1);
}
.notif-wall-alert-icon { font-size: 1.4rem; flex-shrink: 0; line-height: 1.3; }
.notif-wall-alert-text { font-size: 0.84rem; color: #94a3b8; line-height: 1.5; }
.notif-wall-alert-text strong { color: #38bdf8; }

.profile-options-wrap {
    position: relative;
    display: flex;
    gap: 5px;
}

.notif-request-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0,200,255,0.1);
    transition: background 0.15s;
}
.notif-request-item:hover { background: rgba(0,200,255,0.05); }
.notif-request-item:last-child { border-bottom: none; }

.notif-request-avatar {
    width: 40px;
    height: 40px;
    border-radius: 30%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1.5px solid rgba(0,200,255,0.3);
}

.notif-request-info {
    flex: 1;
    min-width: 0;
}

.notif-request-name {
    font-size: 0.86rem;
    font-weight: 600;
    color: #1a365d !important;
    text-decoration: none;
    display: block;
}
.notif-request-name:hover { color: #00c8ff; }

.notif-request-time {
    font-size: 0.72rem;
    color: #718096;
    margin-top: 2px;
    display: block;
}

.notif-request-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.notif-accept-btn {
    padding: 5px 12px;
    background: rgba(0,200,255,0.1);
    border: 1.5px solid rgba(0,200,255,0.4);
    color: #2b6cb0;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 4px, 100% 100%, 4px 100%, 0 calc(100% - 4px));
}
.notif-accept-btn:hover {
    background: #00c8ff;
    color: #0a0e1a;
    box-shadow: 0 0 10px rgba(0,200,255,0.3);
}

.notif-decline-btn {
    padding: 5px 10px;
    background: rgba(0,0,0,0.03);
    border: 1.5px solid rgba(0,200,255,0.2);
    color: #718096;
    font-size: 0.76rem;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 4px, 100% 100%, 4px 100%, 0 calc(100% - 4px));
}
.notif-decline-btn:hover {
    background: rgba(229,62,62,0.1);
    border-color: rgba(229,62,62,0.4);
    color: #c53030;
}

#notif-requests-list {
    max-height: 180px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,200,255,0.3) transparent;
}

#notif-requests-list::-webkit-scrollbar {
    width: 4px;
}
#notif-requests-list::-webkit-scrollbar-track { background: transparent; }
#notif-requests-list::-webkit-scrollbar-thumb {
    background: rgba(0,200,255,0.3);
    border-radius: 4px;
}

.notif-artcomments-list {
    max-height: 220px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(124,58,237,0.3) transparent;
}

.notif-artcomments-list::-webkit-scrollbar {
    width: 4px;
}
.notif-artcomments-list::-webkit-scrollbar-track { background: transparent; }
.notif-artcomments-list::-webkit-scrollbar-thumb {
    background: rgba(124,58,237,0.3);
    border-radius: 4px;
}

.notif-artcomment-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(124, 58, 237, 0.08);
    transition: background 0.15s;
}
.notif-artcomment-item:last-child { border-bottom: none; }
.notif-artcomment-item:hover { background: rgba(124,58,237,0.04); }

.notif-artcomment-icon {
    font-size: 0.9rem;
    flex-shrink: 0;
}

.notif-artcomment-text {
    font-size: 0.78rem;
    color: #2d3748;
    line-height: 1.45;
    flex: 1;
    min-width: 0;
}

.notif-artcomment-text strong {
    color: #7c3aed;
}

.notif-artcomment-link {
    color: #7c3aed !important;
    font-weight: 700;
    text-decoration: none;
}
.notif-artcomment-link:hover { text-decoration: underline; }

.notif-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
    color: #718096;
    font-size: 0.86rem;
    gap: 10px;
    text-align: center;
}
.notif-empty-icon { font-size: 2rem; opacity: 0.4; }

.notif-likes-list {
	max-height: 220px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 0;
	scrollbar-width: thin;
	scrollbar-color: rgba(236, 72, 153, 0.3) transparent;
}

.notif-likes-list::-webkit-scrollbar { width: 4px; }
.notif-likes-list::-webkit-scrollbar-track { background: transparent; }
.notif-likes-list::-webkit-scrollbar-thumb {
	background: rgba(236, 72, 153, 0.3);
	border-radius: 4px;
}

.notif-like-item {
	display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(236, 72, 153, 0.08);
    transition: background 0.15s;
}
.notif-like-item:last-child { border-bottom: none; }
.notif-like-item:hover { background: rgba(236, 72, 153, 0.04); }

.notif-like-avatar {
	width: 32px;
    height: 32px;
    border-radius: 30%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1.5px solid rgba(236, 72, 153, 0.35);
}

.notif-like-text {
	font-size: 0.78rem;
    color: #2d3748;
    line-height: 1.45;
    flex: 1;
    min-width: 0;
}

.notif-like-liker-link {
	color: #be185d !important;
	font-weight: 700;
	text-decoration: none;
}
.notif-like-liker-link:hover { text-decoration: underline; }

.notif-like-drawing-link {
	color: #be185d !important;
	font-weight: 700;
	text-decoration: none;
}
.notif-like-drawing-link:hover { text-decoration: underline; }

#notif-modal {
    max-width: 660px;
}

#notif-modal .picture-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0;
    padding: 0;
    width: 100%;
    align-items: start;
}

#notif-section-requests {
    grid-column: 1 / -1;
    border-bottom: 1px solid rgba(0, 200, 255, 0.15);
}

#notif-section-likes {
    grid-column: 1;
    border-right: 1px solid rgba(0, 200, 255, 0.15);
}

#notif-section-artcomments {
    grid-column: 2;
}

.notif-ok-btn {
    flex-shrink: 0;
    padding: 3px 10px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 200, 255, 0.35);
    color: #4299e1;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 4px, 100% 100%, 4px 100%, 0 calc(100% - 4px));
    white-space: nowrap;
    align-self: center;
}
.notif-ok-btn:hover {
    background: rgba(0, 200, 255, 0.12);
    border-color: #00c8ff;
    color: #2b6cb0;
}

.notif-ok-btn--like {
    border-color: rgba(236, 72, 153, 0.35);
    color: #be185d;
}
.notif-ok-btn--like:hover {
    background: rgba(236, 72, 153, 0.1);
    border-color: #ec4899;
    color: #be185d;
}
.notif-ok-btn--comment {
    border-color: rgba(124, 58, 237, 0.35);
    color: #7c3aed;
}
.notif-ok-btn--comment:hover {
    background: rgba(124, 58, 237, 0.1);
    border-color: #a78bfa;
    color: #6d28d9;
}

@media (max-width: 620px) {
    #notif-modal .picture-modal-body {
        grid-template-columns: 1fr;
    }
    #notif-section-likes {
        grid-column: 1;
        border-right: none;
        border-bottom: 1px solid rgba(0, 200, 255, 0.15);
    }
    #notif-section-artcomments {
        grid-column: 1;
    }
}

.admin-reports-list {
    display: flex;
    flex-direction: column;
    max-height: 420px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(229, 62, 62, 0.3) transparent;
}
.admin-reports-list::-webkit-scrollbar { width: 4px; }
.admin-reports-list::-webkit-scrollbar-thumb {
    background: rgba(229, 62, 62, 0.3);
    border-radius: 4px;
}

.admin-report-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(229, 62, 62, 0.1);
    transition: background 0.15s;
}
.admin-report-item:last-child { border-bottom: none; }
.admin-report-item:hover { background: rgba(229, 62, 62, 0.03); }

.admin-report-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-report-avatar {
    width: 34px;
    height: 34px;
    border-radius: 30%;
    object-fit: cover;
    border: 1.5px solid rgba(229, 62, 62, 0.3);
    flex-shrink: 0;
}

.admin-report-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.admin-report-nick {
    font-size: 0.84rem;
    font-weight: 700;
    color: #c53030 !important;
    text-decoration: none;
}
.admin-report-nick:hover { text-decoration: underline; }

.admin-report-date {
    font-size: 0.7rem;
    color: #718096;
}

.admin-report-type-badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    flex-shrink: 0;
}
.admin-report-type-badge--lobby {
    background: rgba(77, 119, 255, 0.12);
    color: #2b4db3;
}
.admin-report-type-badge--art {
    background: rgba(124, 58, 237, 0.12);
    color: #6d28d9;
}

.admin-report-reason {
    font-size: 0.84rem;
    color: #4a5568;
    line-height: 1.5;
    background: rgba(229, 62, 62, 0.05);
    border-left: 3px solid rgba(229, 62, 62, 0.3);
    padding: 6px 10px;
    border-radius: 0 6px 6px 0;
    white-space: pre-wrap;
    word-break: break-word;
}

.admin-report-footer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-report-drawing-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: #4d77ff !important;
    text-decoration: none;
    cursor: pointer;
}
.admin-report-drawing-link:hover { text-decoration: underline; }

#admin-reports-bar {
    margin-top: 8px;
}




.profile-options-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 190px;
    background-color: rgb(0, 200, 255);
    border: 1px solid rgba(129, 0, 255, 0.25);
    border-radius: 12px;
    box-shadow:
        0 0 0 1px rgba(0, 192, 255, 0.08),
        0 12px 32px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(129, 0, 255, 0.08);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px) scale(0.97);
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 100;
}

.profile-options-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 45px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #00c8ff;
}

.profile-options-dropdown--open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.profile-options-item {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 10px 14px;
    background: none;
    border: none;
    border-top: 1px solid rgb(39 64 205 / 41%);
    color: #fff;
    font-size: 0.83rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.profile-options-item:first-child {
    border-top: none;
}

.profile-options-item:first-child:hover {
    background: rgb(0 81 255 / 49%);
    color: #e2e8f0;
    border-radius: 12px 12px 0 0;
}

.profile-options-item:not(:first-child):not(.profile-options-item--danger):hover {
    background: rgb(0 81 255 / 49%);
    color: #e2e8f0;
}

.profile-options-item--danger {
    color: #fff;
}

.profile-options-item--danger:hover {
    background: rgb(236, 94, 94, 0.91);
    color: #ffffff;
    border-radius: 0 0 12px 12px;
}

.profile-options-item--logout-mobile {
    display: none;
}

.profile-options-item--logout-mobile:hover {
    border-radius: 0 0 12px 12px;
}

.profile-hero { position: relative; }

.profile-flag {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
    vertical-align: middle;
    margin-left: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.edit-profile-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.edit-profile-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4299e1;
}

.edit-profile-input {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 12px;
    border: 1.5px solid rgba(0,200,255,0.4);
    background: rgba(255,255,255,0.6);
    color: #1a365d;
    font-size: 0.88rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}
.edit-profile-input:focus {
    border-color: #00c8ff;
    box-shadow: 0 0 0 2px rgba(0,200,255,0.15);
}
.edit-profile-input::placeholder { color: #718096; }

.edit-profile-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 12px;
    border: 1.5px solid rgba(0,200,255,0.4);
    background: rgba(255,255,255,0.6);
    color: #1a365d;
    font-size: 0.88rem;
    font-family: inherit;
    outline: none;
    resize: vertical;
    min-height: 72px;
    transition: border-color 0.2s, box-shadow 0.2s;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}
.edit-profile-textarea:focus {
    border-color: #00c8ff;
    box-shadow: 0 0 0 2px rgba(0,200,255,0.15);
}
.edit-profile-textarea::placeholder { color: #718096; }

.edit-profile-hint {
    font-size: 0.72rem;
    color: #4a5568;
    text-align: right;
}

.edit-country-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.edit-country-selected {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border: 1.5px solid rgba(0,200,255,0.4);
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    font-size: 0.88rem;
    color: #1a365d;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
    user-select: none;
}
.edit-country-selected:hover {
    border-color: #00c8ff;
    background: rgba(0,200,255,0.06);
    box-shadow: 0 0 0 2px rgba(0,200,255,0.1);
}

.edit-country-selected-flag {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    flex-shrink: 0;
}

.edit-country-picker {
    display: flex;
    flex-direction: column;
    gap: 6px;
    animation: fadeIn 0.15s ease;
    background: rgba(220,240,255,0.97);
    border: 1.5px solid rgba(0,200,255,0.35);
    padding: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.edit-country-picker .edit-profile-input {
    background: rgba(255,255,255,0.06);
    border-color: rgba(0,200,255,0.3);
    color: #1a365d;
    font-size: 0.85rem;
    padding: 7px 10px;
}
.edit-country-picker .edit-profile-input::placeholder { color: #4a5568; }
.edit-country-picker .edit-profile-input:focus { border-color: #00c8ff; }

.edit-country-selected-name {
    flex: 1;
    font-weight: 600;
    color: #1a365d;
}

.edit-country-selected-name--empty {
    color: #4a5568;
    font-style: italic;
    font-weight: 400;
}

.edit-country-chevron {
    transition: transform 0.2s;
    opacity: 0.5;
    flex-shrink: 0;
}
.edit-country-chevron--open {
    transform: rotate(180deg);
    opacity: 1;
}

.edit-country-list {
    max-height: 100px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,200,255,0.3) transparent;
}

.edit-country-list::-webkit-scrollbar {
    width: 4px;
}
.edit-country-list::-webkit-scrollbar-track { background: transparent; }
.edit-country-list::-webkit-scrollbar-thumb {
    background: rgba(0,200,255,0.3);
    border-radius: 4px;
}
.edit-country-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0,200,255,0.55);
}

.edit-country-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    background: none;
    border: none;
    color: #2d3748;
    font-size: 0.84rem;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background 0.12s, color 0.12s;
    width: 100%;
    clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 4px, 100% 100%, 4px 100%, 0 calc(100% - 4px));
}
.edit-country-item:hover {
    background: rgba(0,200,255,0.12);
    color: #1a365d;
}
.edit-country-item.selected {
    background: rgba(0,200,255,0.18);
    color: #0a2540;
    font-weight: 700;
}

.edit-country-item-flag {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    flex-shrink: 0;
}

.edit-country-item-name {
    flex: 1;
}

.edit-country-item-code {
    font-size: 0.72rem;
    color: #4a5568;
    font-family: monospace;
    letter-spacing: 0.05em;
}
.edit-country-item.selected .edit-country-item-code {
    color: rgba(0,200,255,0.6);
}

.edit-country-clear {
    background: none;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: #4a5568;
    font-size: 0.75rem;
    cursor: pointer;
    text-align: center;
    padding: 7px 4px 2px;
    font-family: inherit;
    width: 100%;
    transition: color 0.2s;
    letter-spacing: 0.04em;
}
.edit-country-clear:hover { color: #fc8181; }

.edit-country-list-empty {
    text-align: center;
    color: #4a5568;
    padding: 1.2rem;
    font-size: 0.84rem;
    font-style: italic;
}

.profile-stats-section { animation: profileFadeIn 0.5s ease 0.15s both; }

.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.profile-stat-card {
    background: #c6d4eb;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 22px;
    padding: 28px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
}
.profile-stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}
.profile-stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.13);
}

.profile-stat-card--highlight {
    background: #c6d4eb;
}

.profile-stat-icon {
    font-size: 2rem;
    line-height: 1;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.2));
}

.profile-stat-value {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #eef2ff;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.profile-stat-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4a5568;
}

.profile-feedback {
    padding: 14px 20px;
    border-radius: 14px;
    font-size: 0.88rem;
    font-weight: 700;
    text-align: center;
    animation: feedbackPop 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes feedbackPop {
    from { transform: scale(0.9); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}
.profile-feedback.success {
    background: rgba(104,211,145,0.12);
    border: 1px solid rgba(104,211,145,0.3);
    color: #68d391;
}
.profile-feedback.error {
    background: rgba(252,129,129,0.1);
    border: 1px solid rgba(252,129,129,0.3);
    color: #fc8181;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 20, 40, 0.55);
    backdrop-filter: blur(1px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: overlayIn 0.2s ease;
}
@keyframes overlayIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.picture-modal {
    background: linear-gradient(160deg, #dbeeff 0%, #eef6ff 60%, #d8f0ff 100%);
    border: 2px solid #00c8ff;
    border-radius: 0;
    width: 100%;
    max-width: 420px;
    box-shadow:
        0 0 0 1px rgba(0,200,255,0.3),
        0 0 40px rgba(0,200,255,0.15),
        0 24px 60px rgba(0,0,0,0.4);
    animation: modalSlideIn 0.25s cubic-bezier(0.34,1.56,0.64,1);
    overflow: visible;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
    position: relative;
}

.picture-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00c8ff, #8100ff, #00c8ff, transparent);
    animation: modal-scanline 3s linear infinite;
    z-index: 1;
}

.picture-modal::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,200,255,0.5), transparent);
    z-index: 1;
}

@keyframes modal-scanline {
    0%   { background-position: -200% center; opacity: 0.6; }
    50%  { opacity: 1; }
    100% { background-position: 200% center; opacity: 0.6; }
}

@keyframes modalSlideIn {
    from { opacity:0; transform: scale(0.9) translateY(20px); }
    to   { opacity:1; transform: scale(1)   translateY(0); }
}


.picture-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px 14px;
    border-bottom: 1px solid rgba(0,200,255,0.25);
    position: relative;
}

.picture-modal-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: #0a2540;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.picture-modal-title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 16px;
    background: linear-gradient(to bottom, #00c8ff, #8100ff);
    border-radius: 2px;
    flex-shrink: 0;
}

.picture-modal-close {
    background: rgba(0,200,255,0.08);
    border: 1.5px solid rgba(0,200,255,0.35);
    color: #2b6cb0;
    cursor: pointer;
    padding: 5px;
    border-radius: 0;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    display: flex;
    clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 5px 100%, 0 calc(100% - 5px));
}
.picture-modal-close svg { width: 14px; height: 14px; }
.picture-modal-close:hover {
    background: rgba(229,62,62,0.12);
    border-color: #fc8181;
    color: #c53030;
}


.picture-modal-body {
    padding: 22px 22px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.picture-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 14px 22px 18px;
    border-top: 1px solid rgba(0,200,255,0.2);
}

.modal-cancel-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 18px;
    background: rgba(0,0,0,0.04);
    border: 1.5px solid rgba(0,200,255,0.3);
    color: #4a5568;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
    text-decoration: none;
    text-align: center;
}
.modal-cancel-btn:hover {
    background: rgba(0,200,255,0.08);
    border-color: #00c8ff;
    color: #2b6cb0;
}

.modal-confirm-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 18px;
    background: rgba(0,200,255,0.12);
    border: 1.5px solid #00c8ff;
    color: #0a2540 !important;
    font-size: 0.8rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all 0.2s;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
    text-decoration: none;
    text-align: center;
    box-shadow: 0 0 12px rgba(0,200,255,0.2);
}
.modal-confirm-btn:hover {
    background: #00c8ff;
    color: #0a0e1a;
    box-shadow: 0 0 20px rgba(0,200,255,0.45);
    transform: translateY(-1px);
}
.modal-confirm-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.modal-nick-warning {
    font-size: 0.88rem;
    color: #2d3748;
    line-height: 1.6;
    text-align: center;
    padding: 0 4px;
}

.setup-input {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 12px;
    border-radius: 0;
    border: 1.5px solid rgba(0,200,255,0.4);
    background: rgba(255,255,255,0.6);
    color: #1a365d;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}
.setup-input:focus {
    border-color: #00c8ff;
    box-shadow: 0 0 0 2px rgba(0,200,255,0.15);
}

.visibility-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.visibility-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px 14px;
    border: 1.5px solid rgba(0,200,255,0.2);
    background: rgba(255,255,255,0.4);
    transition: background 0.15s, border-color 0.15s;
    font-size: 0.88rem;
    color: #2d3748;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}
.visibility-option:hover {
    background: rgba(0,200,255,0.1);
    border-color: #00c8ff;
}
.visibility-option input[type="radio"] { accent-color: #00c8ff; }



.modal-preview-wrap {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 30%;
    overflow: hidden;
    box-shadow:
        0 0 0 2px #dbeeff,
        0 0 0 4px rgba(0,200,255,0.5),
        0 0 30px rgba(0,200,255,0.2);
}

.modal-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s, transform 0.3s;
}

.modal-preview-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 55%);
    border-radius: 30%;
    pointer-events: none;
}

.modal-locked-overlay {
    position: absolute;
    inset: 0;
    background: rgba(220,240,255,0.82);
    border-radius: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    backdrop-filter: blur(1px);
}

.lock-text {
    color: #303030;
    text-align: center;
}

.modal-pic-nav {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pic-nav-btn {
    width: 34px;
    height: 34px;
    border: 1.5px solid rgba(0,200,255,0.4);
    background: rgba(0,200,255,0.08);
    color: #2b6cb0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
    padding: 0;
    clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 5px 100%, 0 calc(100% - 5px));
}

.pic-nav-btn svg { width: 14px; height: 14px; }
.pic-nav-btn:hover {
    background: #00c8ff;
    color: #0a0e1a;
    border-color: #00c8ff;
    transform: scale(1.08);
    box-shadow: 0 0 12px rgba(0,200,255,0.4);
}
.pic-nav-btn:active { transform: scale(0.95); }

.pic-nav-counter {
    font-size: 0.78rem;
    font-weight: 700;
    color: #4a5568;
    min-width: 70px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.05em;
}

.google-pic-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    border: 1.5px solid rgba(0,200,255,0.3);
    background: rgba(255,255,255,0.5);
    color: #2d3748;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    width: 100%;
    justify-content: center;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}
.google-icon-svg { width: 18px; height: 18px; flex-shrink: 0; }
.google-pic-btn:hover {
    background: rgba(0,200,255,0.1);
    border-color: #00c8ff;
    transform: translateY(-1px);
    box-shadow: 0 0 14px rgba(0,200,255,0.2);
}
.google-pic-btn.selected {
    background: rgba(0,200,255,0.15);
    border-color: #00c8ff;
    box-shadow: 0 0 16px rgba(0,200,255,0.25);
}

.modal-preview-img.changing {
    animation: modalPicChange 0.3s ease;
}
@keyframes modalPicChange {
    0%  { opacity: 1; transform: scale(1); }
    40% { opacity: 0; transform: scale(0.9); }
    100%{ opacity: 1; transform: scale(1); }
}


@media only screen and (orientation: portrait), (max-aspect-ratio: 4/3) {
    * {
        box-sizing: border-box !important;
    }

    .profile-main {
        animation: none !important;
        transform: none !important;
    }

    .cyber-btn--action:hover,
    .cyber-btn--action:focus {
        animation: none !important;
        background: #00c8ff !important;
        color: #ffffff !important;
        border-color: rgba(0, 160, 210, 0.85) !important;
        box-shadow: none !important;
        transform: none !important;
        letter-spacing: normal !important;
        filter: none !important;
        opacity: 1 !important;
    }

    .cyber-btn--action:hover::before,
    .cyber-btn--action:hover::after,
    .cyber-btn--action:focus::before,
    .cyber-btn--action:focus::after {
        content: none !important;
        animation: none !important;
    }

    .cyber-btn--action:hover span,
    .cyber-btn--action:focus span,
    .cyber-btn--action:hover img,
    .cyber-btn--action:focus img,
    .cyber-btn--action:hover svg,
    .cyber-btn--action:focus svg {
        animation: none !important;
    }

    .container, .profile-main {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }
    
    .profile-main .content-container {
        flex-direction: column !important;
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #main-content-column-1, #main-content-column-2 {
        width: 100% !important;
        padding: 0 5px 30px !important;
        margin: 0 !important;
    }

    .pr0m0-area {
        width: 100%;
    }
    .ban-slot1 {
        width: 100%;
        max-width: 320px;
        height: 50px;
        font-size: 11px;
        margin: 15px auto;
    }

    .profile-hero {
        padding: 40px 15px 20px;
        margin-top: 20px;
        border-radius: 20px;
        border-width: 4px;
    }

    .profile-hero-title-bar {
        font-size: 16px;
        padding: 5px 10px;

        left: 50%;
        transform: translateX(-50%);
        min-width: 80%;
        max-width: 90%;
        justify-content: center;
    }

    .profile-owner-actions {
        position: relative;
        top: auto;
        right: auto;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        margin: 10px;
    }

    .profile-owner-actions .cyber-btn {
        padding: 8px 11px;

        min-width: 0;
        flex: 1 1 auto;
        justify-content: center;
        text-align: center;
    }

    .cyber-btn--danger {
        max-width: 100px;
    }

    .profile-owner-actions > a.cyber-btn--danger {
        display: none !important;
    }

    .profile-options-item--logout-mobile {
        display: flex !important;
    }

    .profile-options-item--danger:not(.profile-options-item--logout-mobile):hover {
        border-radius: 0 !important;
    }

    .profile-owner-actions > .cyber-btn-wrap,
    .profile-owner-actions > .profile-options-wrap {
        flex: 1 1 auto;
        min-width: 0;
    }

    .profile-owner-actions .cyber-btn {
        width: 100%;
    }

    .profile-hero-content {
        padding: 10px;

        display: grid !important;
        grid-template-columns: auto 1fr;
        gap: 12px;
    }

    .profile-hero-top, .profile-hero-right, .profile-hero-data-grid, .profile-hero-bottom {
        display: contents;
    }

    .profile-avatar-wrap, .profile-avatar-img {
        width: 85px;
        height: 85px;
        grid-row: 1;
        grid-column: 1;
        align-self: center;
    }

    .profile-avatar-img {
        border-radius: 20% !important;
    }

    .profile-avatar-ring {
        border-radius: 20% !important;
    }

    .profile-avatar-edit-btn {
        bottom: 0px;
        right: 0px;
    }

    .profile-data-col:first-of-type {
        grid-row: 1;
        grid-column: 2;
        border: none !important;
        padding: 0 !important;
        margin-left: 5px;
        min-width: 0;
    }

    .profile-data-row {
        gap: 5px !important;
        min-width: 0;
    }

    .profile-name-row,
    .profile-display-name {
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .profile-nickname {
        min-width: 0;
        display: flex;
        align-items: center;
        cursor: pointer;
    }

    .profile-nickname-text {
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .profile-data-divider {
        display: none;
    }

    .profile-bio-wrap {
        grid-row: 2;
        grid-column: 1 / -1;
        margin: 0;
    }
    .profile-bio-readonly {
        margin: 0;
    }

    .profile-data-col:last-of-type {
        grid-row: 3;
        grid-column: 1 / -1;
        background: rgba(255,255,255,0.55);
        border: 1.5px solid rgba(0,200,255,0.35);
        border-radius: 8px;
        padding: 7px 11px;
        height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4px 15px;
        margin-top: 10px;
    }

    .profile-data-col:last-of-type .profile-data-row {
        border-bottom: none;
        padding: 4px 0;
    }

    .profile-data-col:last-of-type .profile-data-row:nth-child(3) {
        grid-column: 1 / -1;
    }

    .profile-data-col {
        background: rgba(255,255,255,0.55);
        border: 1.5px solid rgba(0,200,255,0.35);
        border-radius: 8px;
        padding: 7px 11px;
        height: auto;
    }

    .profile-data-label, .profile-data-value {
        font-size: 0.95rem;
    }

    .profile-display-name {
        font-size: 0.95rem;
    }

    .profile-data-value {
        min-width: 0;
        display: flex;
        align-items: center;
        cursor: pointer;
    }

    .profile-data-value-text {
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .profile-hero-data-grid {
        flex-direction: column;
        gap: 0;
        padding: 5px;
    }

    .profile-data-col {
        height: auto;
        padding: 5px 10px;
    }

    .profile-hero-achievements {
        grid-row: 4;
        grid-column: 1 / -1;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding: 10px;
    }

    .hero-ach-sep {
        width: 100%;
        height: 1px;
    }

    .hero-ach-item {
        width: 100%;
        justify-content: space-between;
        padding: initial !important;
    }

    .profile-gallery-btns-row {
        grid-row: 5;
        grid-column: 1 / -1;
        flex-direction: column;
        gap: 8px;
    }
    
    .profile-gallery-btns-row .center-profile-btns {
        width: 100%;
        justify-content: center;
    }

    .achievements-block {
        padding: 40px 15px 20px;
        margin-top: 25px;
        border-radius: 20px;
        border-width: 4px;
        margin-bottom: initial;
    }

    .wall-header {
        font-size: 16px;

        left: 50%;
        transform: translateX(-50%);
        min-width: 80%;
        max-width: 90%;
        justify-content: center;
    }
    
    .wall-compose {
        margin-top: 13px;
    }

    .wall-compose-footer {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .wall-compose-actions {
        justify-content: center;
    }

    .wall-post-inner {
        gap: 8px;
    }
    
    .wall-post-avatar {
        width: 36px;
        height: 36px;
    }

    #main-content-column-2 {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        padding: 0 5px 30px !important;
        margin: 0 !important;
    }

    #main-content-column-2 .profile-friends-section {
        order: 2;
    }

    #main-content-column-2 .pr0m0-area {
        order: 3;
        
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 50px !important;
        background: #ffffff !important;
        border-top: 1.5px dashed rgba(77, 119, 255, 0.25) !important;
        z-index: 50 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .friends-ranking-container {
        width: 100%;
        margin-top: initial;
        border-radius: 20px;
        border-width: 4px;
        padding: 0px 8px 16px;
    }

    .friends-search-input {
        padding: 12px 12px;
    }

    .ban-slot2 {
        width: 100% !important;
        max-width: 100% !important;
        height: 50px !important;
        border: none !important;
        background: transparent !important;
        border-radius: 0 !important;
        margin: 0 !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 6px !important;
        font-size: 0.65rem !important;
        color: #a0aec0 !important;
        font-weight: normal !important;
        opacity: 1 !important;
    }

    .ban-slot2 .slot-text {
        color: #a0aec0 !important;
        font-weight: normal !important;
    }

    .picture-modal {
        max-width: 95%;
        margin: 10px;
    }

    #notif-modal .picture-modal-body {
        grid-template-columns: 1fr;
    }
    #notif-section-likes {
        grid-column: 1;
        border-right: none;
        border-bottom: 1px solid rgba(0, 200, 255, 0.15);
    }
    #notif-section-artcomments {
        grid-column: 1;
    }

    .picture-modal {
        max-width: 95% !important;
        width: 100% !important;
        max-height: 90vh !important;
        overflow-y: auto !important;
        margin: 0 auto;
    }

    .picture-modal-footer {
        flex-wrap: wrap;
        justify-content: stretch;
        gap: 10px;
        padding: 14px 16px;
    }

    .modal-cancel-btn,
    .modal-confirm-btn {
        flex: 1 1 45%;
        min-width: 0;
        padding: 10px 8px;
        font-size: 0.8rem;
        justify-content: center;
        text-align: center;
    }

    #notif-requests-list,
    .notif-artcomments-list,
    .notif-likes-list {
        max-height: 30vh !important;
    }

    .edit-country-list {
        max-height: 150px !important;
    }
    
    .modal-pic-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    .pic-nav-counter {
        width: 100%;
        order: -1;
    }
}

@media only screen and (max-width: 1024px) and (orientation: landscape) {
    * {
        box-sizing: border-box !important;
    }

    .profile-main {
        animation: none !important;
        transform: none !important;
    }

    .cyber-btn--action:hover,
    .cyber-btn--action:focus {
        animation: none !important;
        background: #00c8ff !important;
        color: #ffffff !important;
        border-color: rgba(0, 160, 210, 0.85) !important;
        box-shadow: none !important;
        transform: none !important;
        letter-spacing: normal !important;
        filter: none !important;
        opacity: 1 !important;
    }

    .cyber-btn--action:hover::before,
    .cyber-btn--action:hover::after,
    .cyber-btn--action:focus::before,
    .cyber-btn--action:focus::after {
        content: none !important;
        animation: none !important;
    }

    .cyber-btn--action:hover span,
    .cyber-btn--action:focus span,
    .cyber-btn--action:hover img,
    .cyber-btn--action:focus img,
    .cyber-btn--action:hover svg,
    .cyber-btn--action:focus svg {
        animation: none !important;
    }

    .container, .profile-main {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .profile-main .content-container {
        flex-direction: column !important;
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #main-content-column-1, #main-content-column-2 {
        width: 100% !important;
        padding: 0 20px 30px !important;
        margin: 0 !important;
    }

    .pr0m0-area {
        width: 100%;
    }
    .ban-slot1 {
        width: 100%;
        max-width: 728px;
        height: 90px;
        font-size: 11px;
        margin: 15px auto;
    }

    .profile-hero {
        padding: 40px 20px 20px;
        margin-top: 20px;
        border-radius: 20px;
        border-width: 4px;
    }

    .profile-hero-title-bar {
        left: 50%;
        transform: translateX(-50%);
        min-width: 80%;
        max-width: 90%;
        justify-content: center;
    }

    .profile-owner-actions {
        position: relative;
        top: auto;
        right: auto;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        margin: 10px;
    }

    .profile-owner-actions .cyber-btn {
        padding: 8px 11px;

        min-width: 0;
        flex: 1 1 auto;
        justify-content: center;
        text-align: center;
    }

    .cyber-btn--danger {
        max-width: 100px;
    }

    .profile-owner-actions > a.cyber-btn--danger {
        display: none !important;
    }

    .profile-options-item--logout-mobile {
        display: flex !important;
    }

    .profile-options-item--danger:not(.profile-options-item--logout-mobile):hover {
        border-radius: 0 !important;
    }

    .profile-owner-actions > .cyber-btn-wrap,
    .profile-owner-actions > .profile-options-wrap {
        flex: 1 1 auto;
        min-width: 0;
    }

    .profile-owner-actions .cyber-btn {
        width: 100%;
    }

    .profile-hero-content {
        padding: 10px;

        display: grid !important;
        grid-template-columns: 110px 1fr;
        column-gap: 10px;
        row-gap: 12px;
        align-items: start;
    }

    .profile-hero-top, .profile-hero-right, .profile-hero-data-grid, .profile-hero-bottom {
        display: contents !important;
        margin: 0 !important;
        padding: 0 !important;
        background: none !important;
        border: none !important;
        gap: 0 !important;
    }

    .profile-data-value {
        min-width: 0;
        display: flex;
        align-items: center;
        cursor: pointer;
    }

    .profile-data-value-text {
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .profile-avatar-wrap, .profile-avatar-img {
        width: 85px;
        height: 85px;
        grid-row: 1;
        grid-column: 1;
        justify-self: start;
        align-self: center;
        margin: 0 !important;
        padding: 0 !important;
    }

    .profile-avatar-img {
        border-radius: 20% !important;
    }

    .profile-avatar-ring {
        border-radius: 20% !important;
    }

    .profile-avatar-edit-btn {
        bottom: 0px;
        right: 0px;
    }

    .profile-data-col:first-of-type {
        grid-row: 1;
        grid-column: 2;
        border: none !important;
        padding: 0 !important;
        min-width: 0;
    }

    .profile-data-row {
        gap: 5px !important;
        min-width: 0;
    }

    .profile-name-row,
    .profile-display-name {
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .profile-nickname {
        min-width: 0;
        display: flex;
        align-items: center;
        cursor: pointer;
    }

    .profile-nickname-text {
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .profile-data-divider {
        display: none;
    }

    .profile-bio-wrap {
        grid-row: 2;
        grid-column: 1 / -1;
        margin: 0;
    }
    .profile-bio-readonly {
        margin: 0;
    }

    .profile-data-col:last-of-type {
        grid-row: 3;
        grid-column: 1 / -1;
        background: rgba(255,255,255,0.55);
        border: 1.5px solid rgba(0,200,255,0.35);
        border-radius: 8px;
        padding: 7px 11px;
        height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4px 15px;
        margin-top: 10px;
    }

    .profile-data-col:last-of-type .profile-data-row {
        border-bottom: none;
        padding: 4px 0;
    }

    .profile-data-col:last-of-type .profile-data-row:nth-child(3) {
        grid-column: 1 / -1;
    }

    .profile-data-col {
        background: rgba(255,255,255,0.55);
        border: 1.5px solid rgba(0,200,255,0.35);
        border-radius: 8px;
        padding: 7px 11px;
        height: auto;
    }

    .profile-hero-achievements {
        grid-row: 4;
        grid-column: 1 / -1;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding: 10px;
    }

    .profile-gallery-btns-row {
        grid-row: 5;
        grid-column: 1 / -1;
        flex-direction: column;
        gap: 8px;
    }

    .profile-gallery-btns-row .center-profile-btns {
        width: 100%;
        justify-content: center;
    }

    .hero-ach-sep {
        width: 100%;
        height: 1px;
    }

    .hero-ach-item {
        width: 100%;
        justify-content: space-between;
        padding: initial !important;
    }

    .achievements-block {
        padding: 40px 15px 20px;
        margin-top: 25px;
        border-radius: 20px;
        border-width: 4px;
        margin-bottom: initial;
    }

    .wall-header {
        left: 50%;
        transform: translateX(-50%);
        min-width: 80%;
        max-width: 90%;
        justify-content: center;
    }

    .wall-compose {
        margin-top: 13px;
    }

    #main-content-column-2 {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        padding: 0 20px 30px !important;
        margin: 0 !important;
    }

    #main-content-column-2 .profile-friends-section {
        order: 2;
    }

    #main-content-column-2 .pr0m0-area {
        order: 3;
        
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 50px !important;
        background: #ffffff !important;
        border-top: 1.5px dashed rgba(77, 119, 255, 0.25) !important;
        z-index: 50 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .friends-ranking-container {
        width: 100%;
        margin-top: initial;
        border-radius: 20px;
        border-width: 4px;
        padding: 0px 8px 16px;
    }

    .friends-search-input {
        padding: 12px 12px;
    }

    .ban-slot2 {
        width: 100% !important;
        max-width: 100% !important;
        height: 50px !important;
        border: none !important;
        background: transparent !important;
        border-radius: 0 !important;
        margin: 0 !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 6px !important;
        font-size: 0.65rem !important;
        color: #a0aec0 !important;
        font-weight: normal !important;
        opacity: 1 !important;
    }

    .ban-slot2 .slot-text {
        color: #a0aec0 !important;
        font-weight: normal !important;
    }

    .picture-modal {
        max-width: 95% !important;
        width: 100% !important;
        max-height: 90vh !important;
        overflow-y: auto !important;
        margin: 0 auto;
    }

    .picture-modal-footer {
        flex-wrap: wrap;
        justify-content: stretch;
        gap: 10px;
        padding: 14px 16px;
    }

    .modal-cancel-btn,
    .modal-confirm-btn {
        flex: 1 1 45%;
        min-width: 0;
        padding: 10px 8px;
        font-size: 0.8rem;
        justify-content: center;
        text-align: center;
    }

    #notif-requests-list,
    .notif-artcomments-list,
    .notif-likes-list {
        max-height: 30vh !important;
    }

    .edit-country-list {
        max-height: 150px !important;
    }
    
    .modal-pic-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    .pic-nav-counter {
        width: 100%;
        order: -1;
    }
}