:root {
    --bg: #d5efe8;
    --text: #1a2730;
    --muted: #7a8a92;
    --accent: #ff7a60;
    --accent-deep: #ef644c;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: "Segoe UI", "Trebuchet MS", sans-serif;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.24), transparent 34%),
        var(--bg);
    color: var(--text);
}

.page-blocked {
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
}

.blocked-screen {
    min-height: 100dvh;
    width: min(100%, 860px);
    margin: 0 auto;
    padding: 1.3rem 1rem 1.3rem;
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;
    gap: 0.9rem;
    position: relative;
    isolation: isolate;
}

.blocked-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(24px);
    pointer-events: none;
    z-index: 0;
}

.blocked-glow-a {
    width: min(44vw, 260px);
    height: min(44vw, 260px);
    top: 8%;
    left: -8%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 72%);
}

.blocked-glow-b {
    width: min(48vw, 320px);
    height: min(48vw, 320px);
    right: -10%;
    bottom: 12%;
    background: radial-gradient(circle, rgba(255, 113, 94, 0.16), transparent 72%);
}

.blocked-head,
.blocked-intro,
.blocked-list,
.blocked-empty,
.blocked-credit {
    position: relative;
    z-index: 1;
}

.blocked-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.75rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    box-sizing: border-box;
    z-index: 100;
    background: rgba(213, 239, 232, 0.92);
    backdrop-filter: blur(10px);
    padding: 1.8rem clamp(1rem, 5vw, 2.5rem);
    border-bottom: 1px solid rgba(160, 200, 190, 0.35);
}

.blocked-nav-group {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.blocked-nav-group-start {
    justify-self: start;
}

.blocked-nav-group-end {
    justify-self: end;
}

.blocked-icon {
    width: clamp(28px, 8vw, 46px);
    height: auto;
    filter: drop-shadow(0 8px 14px rgba(24, 39, 48, 0.18));
}

.blocked-icon.is-active {
    width: clamp(40px, 11vw, 58px);
}

.blocked-notifications-link .blocked-icon {
    filter: brightness(0) saturate(100%) invert(68%) sepia(64%) saturate(4642%) hue-rotate(321deg) brightness(103%) contrast(102%);
    margin-left: 0.35rem;
}

.blocked-message-link .blocked-icon {
    filter: brightness(0) saturate(100%) invert(68%) sepia(64%) saturate(4642%) hue-rotate(321deg) brightness(103%) contrast(102%);
}

.blocked-center {
    justify-self: center;
    display: grid;
    justify-items: center;
    gap: 0.2rem;
}

.blocked-title {
    text-align: center;
    font-size: clamp(1.3rem, 4.6vw, 2rem);
    font-weight: 800;
}

.blocked-explore {
    width: clamp(30px, 7.8vw, 46px);
    height: auto;
    filter: drop-shadow(0 6px 12px rgba(25, 25, 40, 0.2));
    margin-right: 0.35rem;
}

.blocked-explore-link,
.blocked-message-link,
.blocked-notifications-link,
.blocked-profile-link {
    display: inline-flex;
}

.blocked-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.6rem;
}

.blocked-back {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 0;
    background: rgba(255, 255, 255, 0.72);
    color: var(--accent);
    font-size: 1.1rem;
    cursor: pointer;
}

.blocked-label {
    justify-self: center;
    font-size: clamp(0.9rem, 2.6vw, 1rem);
    color: var(--muted);
    font-weight: 700;
}

.blocked-intro {
    background: rgba(255, 255, 255, 0.34);
    border-radius: 22px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 14px 24px rgba(24, 39, 48, 0.08);
    backdrop-filter: blur(8px);
    display: grid;
    gap: 0.2rem;
}

.blocked-kicker {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(26, 39, 48, 0.62);
}

.blocked-heading {
    font-size: clamp(1.25rem, 4.4vw, 1.6rem);
    font-weight: 800;
    line-height: 1.1;
}

.blocked-copy {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.35;
    max-width: 52ch;
}

.blocked-list {
    display: grid;
    gap: 0.75rem;
}

.blocked-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
    padding: 0.8rem;
    border-radius: 20px;
    transition: opacity 0.25s ease, transform 0.25s ease, height 0.25s ease, margin 0.25s ease, padding 0.25s ease;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(235, 249, 244, 0.9));
    align-items: center;
    border: 1px solid rgba(150, 200, 190, 0.65);
    box-shadow: 0 12px 20px rgba(24, 39, 48, 0.08);
}

.blocked-card.is-exiting {
    opacity: 0;
    transform: translateY(8px);
}

.blocked-avatar {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, #2f2f3a, #5b5b66);
    box-shadow: 0 10px 18px rgba(24, 39, 48, 0.12);
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.08em;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.blocked-avatar span {
    position: relative;
    z-index: 1;
}

.blocked-avatar.has-photo span {
    opacity: 0;
}

.blocked-info {
    display: grid;
    gap: 0.18rem;
}

.blocked-info h3 {
    font-size: clamp(0.98rem, 2.8vw, 1.08rem);
    font-weight: 800;
}

.blocked-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.blocked-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.18rem 0.52rem;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
}

.blocked-chip-status {
    background: rgba(255, 122, 96, 0.14);
    color: #a24839;
}

.blocked-chip-report {
    background: rgba(26, 39, 48, 0.08);
    color: #41515a;
}

.blocked-date {
    font-size: 0.74rem;
    color: rgba(26, 39, 48, 0.56);
    font-weight: 700;
}

.blocked-info p {
    color: var(--muted);
    font-size: 0.84rem;
}

.blocked-unblock {
    border: 0;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: #1a1b23;
    font-weight: 800;
    font-size: 0.82rem;
    cursor: pointer;
    box-shadow: 0 10px 16px rgba(255, 122, 96, 0.16);
}

.blocked-empty[hidden] {
    display: none !important;
}

.blocked-empty {
    display: grid;
    justify-items: center;
    align-content: center;
    text-align: center;
    gap: 0.45rem;
    min-height: 240px;
    background: rgba(255, 255, 255, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 24px;
    padding: 1.2rem;
    box-shadow: 0 14px 24px rgba(24, 39, 48, 0.08);
    backdrop-filter: blur(8px);
}

.blocked-empty-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(168, 240, 212, 0.48);
    color: #2f6b4f;
    font-size: 1.5rem;
    font-weight: 800;
}

.blocked-empty-title {
    font-size: 1.12rem;
    font-weight: 800;
}

.blocked-empty-copy {
    max-width: 34ch;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.35;
}

.blocked-toast {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    transform: translate(-50%, 12px);
    background: rgba(26, 39, 48, 0.78);
    color: #fff;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
    z-index: 1000;
}

.blocked-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.blocked-credit {
    text-align: center;
    color: rgba(255, 113, 94, 0.85);
    font-size: clamp(0.72rem, 2vw, 0.9rem);
}

body.theme-super-admin .blocked-screen,
body.theme-super-admin .blocked-top,
body.theme-super-admin .blocked-head,
body.theme-super-admin .blocked-intro,
body.theme-super-admin .blocked-card,
body.theme-super-admin .blocked-empty {
    background: linear-gradient(160deg, rgba(12, 18, 25, 0.96), rgba(18, 26, 34, 0.9)) !important;
    border-color: rgba(160, 200, 190, 0.16) !important;
    color: var(--text) !important;
    box-shadow: 0 18px 40px rgba(2, 8, 12, 0.24) !important;
}

body.theme-super-admin .blocked-back,
body.theme-super-admin .blocked-unblock,
body.theme-super-admin .blocked-chip,
body.theme-super-admin .blocked-avatar {
    border-color: rgba(160, 200, 190, 0.16) !important;
    box-shadow: 0 14px 24px rgba(2, 8, 12, 0.18) !important;
}

body.theme-super-admin .blocked-back {
    background: rgba(18, 26, 34, 0.92) !important;
    color: var(--text) !important;
}

body.theme-super-admin .blocked-label,
body.theme-super-admin .blocked-kicker,
body.theme-super-admin .blocked-copy,
body.theme-super-admin .blocked-date,
body.theme-super-admin .blocked-info p,
body.theme-super-admin .blocked-empty-copy,
body.theme-super-admin .blocked-empty-title,
body.theme-super-admin .blocked-info h3 {
    color: var(--text) !important;
}

body.theme-super-admin .blocked-chip-status {
    background: rgba(255, 122, 96, 0.16) !important;
    color: #ffcabd !important;
}

body.theme-super-admin .blocked-chip-report {
    background: rgba(160, 200, 190, 0.08) !important;
    color: #d9f3ec !important;
}

body.theme-super-admin .blocked-unblock {
    background: linear-gradient(135deg, #ff7a60, #ff5f47) !important;
    color: #fff7f3 !important;
}

body.theme-super-admin .blocked-empty-icon {
    background: rgba(44, 151, 118, 0.16) !important;
    color: #8fe2c8 !important;
}

body.theme-super-admin .blocked-toast {
    background: rgba(12, 18, 25, 0.96) !important;
    color: #f2fbff !important;
    border: 1px solid rgba(160, 200, 190, 0.16) !important;
}

@media (min-width: 1024px) {
    .blocked-screen {
        width: min(100%, 1200px);
        padding: 9.8rem 2rem 1.4rem;
    }
}

/* ── Touch optimizations ── */
.blocked-back,
.blocked-unblock { touch-action: manipulation; }
