:root {
    --bg: rgba(232, 232, 232, 0.5);
    --bg-2: rgba(213, 213, 213, 0.46);
    --primary: #000000;
    --primary-dark: #000000;
    --primary-soft: #000000;
    --text: #000000;
    --muted: #a6a6a6;
    --white: rgba(255,255,255,0.82);
    --border: rgba(0, 0, 0, 0.18);
    --shadow: 0 18px 45px rgba(149, 149, 149, 0.16);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 16px;
    --max: 1100px;
    --max-header: 1400px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Rubik", Assistan, sans-serif !important;
    background: url(../images/sc.jpg);
    color: var(--text);
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none !important; }
img { display: block; max-width: 100%; }

.sky-glow,
.sky-glow::before,
.sky-glow::after {
    position: fixed;
    inset: auto;
    pointer-events: none;
    z-index: 0;
    content: "";
    filter: blur(40px);
    opacity: .45;
}

.sky-glow {
    width: 320px;
    height: 320px;
    top: -70px;
    right: -90px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 50%;
}

.sky-glow::before {
    width: 220px;
    height: 220px;
    top: 180px;
    right: 980px;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    position: fixed;
}

.sky-glow::after {
    width: 260px;
    height: 260px;
    bottom: 60px;
    left: -40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    position: fixed;
}

.container {
    width: min(calc(100% - 32px), var(--max));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.head-container {
    width: min(calc(100% - 32px), var(--max-header));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.foot-container {
    width: min(calc(100% - 32px), var(--max-header));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.site-header {
    position: sticky;
    top: 12px;
    z-index: 50;
    padding: 14px 0 0;
    max-width: 1300px;
    margin: 0 auto;
}

.logo-header {
    position: relative;
    top: 0;
    z-index: 50;
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between !important;
    gap: 18px;
    padding: 14px 18px;
    border: 1px solid rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(16px);
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transition: .3s ease;
}

.nav-shell-logo > .logo-stage > .main-logo-img {
    border: 1px solid rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 30px rgba(151, 151, 151, 0.12);
    border-radius: 30px;
}

.nav-shell-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 10px 10px 10px;
    border: 1px solid rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 30px rgba(156, 156, 156, 0.12);
    transition: .3s ease;
    margin-bottom: 5px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

.logo-stage {
    position: relative;
    display: block;
    overflow: hidden;
    isolation: isolate;
    animation: logoFloat 7s ease-in-out infinite;
}

.main-logo-img {
    display: block;
    height: auto;
    object-fit: cover;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 8px 20px rgba(251, 251, 251, 0.12));
}

.logo-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
            radial-gradient(circle at 50% 50%, rgba(255,255,255,0.10), transparent 38%),
            radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.18), transparent 18%),
            radial-gradient(circle at 80% 25%, rgba(255, 255, 255, 0.15), transparent 18%);
    mix-blend-mode: screen;
}

.logo-shine {
    position: absolute;
    top: -20%;
    bottom: -20%;
    left: -18%;
    width: 22%;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(
            90deg,
            rgba(255,255,255,0) 0%,
            rgba(255,255,255,0.08) 25%,
            rgba(255,255,255,0.45),
            rgba(255,255,255,0.08) 75%,
            rgba(255,255,255,0) 100%
    );
    transform: skewX(-18deg) translateX(-220%);
    filter: blur(2px);
}

.logo-shine-main {
    animation: logoShineMain 4.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.logo-shine-secondary {
    width: 14%;
    opacity: 0;
    filter: blur(3px);
    background: linear-gradient(
            90deg,
            rgba(255,255,255,0) 0%,
            rgba(255,255,255,0.05) 25%,
            rgba(255, 255, 255, 0.32) 50%,
            rgba(255,255,255,0.05) 75%,
            rgba(255,255,255,0) 100%
    );
    animation: logoShineSecondary 4.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;

}

.logo-particles {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    overflow: hidden;
    border-radius: inherit;
}

.logo-particle {
    position: absolute;
    width: var(--size, 6px);
    height: var(--size, 6px);
    border-radius: 50%;
    background: radial-gradient(
            circle,
            rgba(255,255,255,1) 0%,
            rgba(255, 255, 255, 0.95) 30%,
            rgba(255, 255, 255, 0.82) 52%,
            rgba(173,220,255,0) 78%
    );
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.55);
    animation: logoSparkle var(--dur, 5s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    filter: blur(0.15px);
    box-shadow:
            0 0 10px rgba(255,255,255,0.72),
            0 0 18px rgba(255, 255, 255, 0.42),
            0 0 28px rgba(255, 255, 255, 0.22);
}

.logo-particle.twinkle::before,
.logo-particle.twinkle::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: rgba(255,255,255,0.82);
    border-radius: 999px;
    transform: translate(-50%, -50%);
}

.logo-particle.twinkle::before {
    width: 1.5px;
    height: calc(var(--size, 6px) * 2.2);
}

.logo-particle.twinkle::after {
    width: calc(var(--size, 6px) * 2.2);
    height: 1.5px;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes logoShineMain {
    0%, 18%, 100% {
        transform: skewX(-18deg) translateX(-220%);
        opacity: 0;
    }
    22% {
        opacity: 1;
    }
    32% {
        transform: skewX(-18deg) translateX(520%);
        opacity: 1;
    }
    36% {
        opacity: 0;
    }
}

@keyframes logoShineSecondary {
    0%, 24%, 100% {
        transform: skewX(-18deg) translateX(-220%);
        opacity: 0;
    }
    27% {
        opacity: 0.78;
    }
    35% {
        transform: skewX(-18deg) translateX(520%);
        opacity: 0.68;
    }
    39% {
        opacity: 0;
    }
}

@keyframes logoSparkle {
    0%, 100% {
        opacity: 0;
        transform: translate3d(0, 10px, 0) scale(0.45);
    }
    12% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1.05);
    }
    42% {
        opacity: .92;
        transform: translate3d(0, -5px, 0) scale(1.15);
    }
    68% {
        opacity: .45;
        transform: translate3d(0, -10px, 0) scale(0.95);
    }
    82% {
        opacity: 0;
        transform: translate3d(0, -16px, 0) scale(0.7);
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo-stage,
    .logo-shine,
    .logo-particle {
        animation: none !important;
    }

    .logo-particle {
        display: none;
    }
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-badge {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(180deg, #8fbae4, #5380b5);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 8px 20px rgba(49, 91, 145, .25);
    position: relative;
    overflow: hidden;
}

.brand-badge::before,
.brand-badge::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255,255,255,.9);
}

.brand-badge::before {
    width: 28px;
    height: 28px;
    left: 10px;
    top: 8px;
    opacity: .85;
}

.brand-badge::after {
    width: 100%;
    height: 3px;
    left: 0;
    top: 22px;
    background: rgba(42, 70, 104, .85);
    box-shadow: 0 -1px 0 rgba(255,255,255,.35);
}

.brand-text strong {
    display: block;
    font-size: 1.1rem;
    letter-spacing: .02em;
}

.brand-text span {
    color: var(--muted);
    font-size: .92rem;
}

.nav-links {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    min-height: 48px;
}

.nav-links a {
    position: relative;
    z-index: 2;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--text);
    font-weight: 600;
    font-size: .95rem;
    transition: .22s ease;
}

.nav-highlight {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: 0;
    height: 40px;
    border-radius: 999px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-50%);
    transition:
            right .32s cubic-bezier(0.22, 1, 0.36, 1),
            width .32s cubic-bezier(0.22, 1, 0.36, 1),
            opacity .22s ease,
            box-shadow .25s ease,
            background .25s ease;
    background:
            linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.36));
    border: 1px solid rgba(255,255,255,0.65);
    box-shadow:
            0 10px 20px rgba(141, 57, 57, 0.1),
            inset 0 1px 0 rgba(255,255,255,0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-highlight.visible {
    opacity: 1;
}

.nav-links a:hover,
.nav-links a.active,
.nav-links a.menu-open {
    background: transparent;
    color: var(--primary-dark);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-mega-wrap {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: 0;
    z-index: 60;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.98);
    transform-origin: top center;
    transition:
            opacity .28s ease,
            transform .32s ease,
            visibility .32s ease;
    pointer-events: none;
    width: 100%;
}

.mega-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.mega-menu-inner {
    background: rgba(255,255,255,0.48);
    border: 1px solid rgba(255,255,255,0.68);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 26px 60px rgba(141, 57, 57, 0.18);
    border-radius: 34px;
    padding: 24px;
    overflow: hidden;
    position: relative;
    width: 100% !important;
}

.mega-menu-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
            radial-gradient(circle at 20% 18%, rgba(195, 195, 195, 0.52), transparent 20%),
            radial-gradient(circle at 82% 20%, rgba(165, 165, 165, 0.18), transparent 24%),
            linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
    pointer-events: none;
}

.mega-menu-inner::after {
    content: "";
    position: absolute;
    inset: auto auto -40px -40px;
    width: 100% !important;
    height: 160px;
    background: radial-gradient(circle, rgba(209, 209, 209, 0.22), transparent 70%);
    pointer-events: none;
    filter: blur(10px);
}

.mega-menu-inner > * {
    position: relative;
    z-index: 1;
}

.mega-menu-inner.is-switching {
    animation: megaPulse .22s ease;
}

.mega-menu-panel {
    display: none;
    justify-content: space-between;
    width: 100% !important;
    gap: 22px;
    align-items: stretch;
}

.mega-menu-panel.is-active {
    display: flex;
}

@keyframes megaPulse {
    0% { transform: scale(1); }
    50% { transform: scale(0.996); }
    100% { transform: scale(1); }
}

.mega-menu-inner.is-switching .mega-menu-main,
.mega-menu-inner.is-switching .mega-menu-side {
    animation: megaSwap .22s ease;
}

.mega-menu-main {
    width: 100%;
    max-width: 70%;
}

@keyframes megaSwap {
    0% {
        opacity: .65;
        transform: translateY(4px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.mega-menu-inner {
    display: flex;
}

.mega-menu-inner .mega-menu-main,
.mega-menu-inner .mega-menu-side {
    transition: opacity .2s ease, transform .2s ease;
}

.mega-menu-inner .mega-menu-side {
    min-width: 0;
}

.mega-menu-inner .mega-menu-main {
    min-width: 0;
}

.mega-menu-inner .mega-menu-links a,
.mega-menu-inner .mega-card {
    transition: .22s ease;
}

.mega-menu-inner .mega-menu-links a:hover {
    transform: translateY(-2px);
}

.mega-menu {
    width: 100%;
}

.mega-menu-inner {
    width: 100%;
}

.mega-menu-inner {
    display: flex;
}

.mega-menu-inner .mega-menu-main h3,
.mega-menu-inner .mega-card-content strong {
    letter-spacing: -0.02em;
}

.mega-menu-inner .mega-menu-main p {
    margin: 0;
}

.mega-menu-inner {
    position: relative;
}

.mega-menu-inner {
    isolation: isolate;
}

.mega-menu-inner .mega-menu-main,
.mega-menu-inner .mega-menu-side {
    position: relative;
    z-index: 2;
}

.mega-menu-inner {
    padding: 26px;
}

.mega-menu-inner {
    border-radius: 30px;
}

.mega-menu-inner {
    box-shadow: 0 24px 55px rgba(141, 57, 57, 0.16);
}

.mega-menu-inner {
    border: 1px solid rgba(255,255,255,.64);
}

.mega-menu-inner {
    background: rgba(255,255,255,.44);
}

.mega-menu-inner {
    backdrop-filter: blur(18px);
}

.mega-menu-inner {
    -webkit-backdrop-filter: blur(18px);
}

.mega-menu-inner {
    display: flex;
}

.mega-menu-inner {
    grid-template-columns: 1.05fr .95fr;
    gap: 22px;
}

.mega-menu-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(165, 60, 60, 0.74);
    color: white;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 14px;
}


.mega-menu-main h3 {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 2.2vw, 2.15rem);
    line-height: 1.02;
    color: var(--primary-dark);
}


.mega-menu-main p {
    color: #834747;
    line-height: 1.8;
    max-width: 55ch;
    font-weight: 500;
    padding-bottom: 18px;
}

.mega-menu-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mega-menu-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.62);
    border: 1px solid rgba(255,255,255,.7);
    box-shadow: 0 10px 20px rgba(141, 57, 57, 0.08);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: .92rem;
}

.mega-menu-side {
    display: flex;
    gap: 14px;
}

.mega-card {
    display: block;
    background: rgba(255,255,255,.46);
    border: 1px solid rgba(255,255,255,.62);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(141, 57, 57, 0.1);
}

.mega-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 32px rgba(141, 57, 57, 0.14);
}

.mega-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.mega-card-content {
    padding: 14px;
}

.mega-card-content span {
    display: block;
    font-size: .8rem;
    font-weight: 800;
    color: #a86464;
    margin-bottom: 6px;
}

.mega-card-content strong {
    display: block;
    color: var(--primary-dark);
    line-height: 1.35;
    font-size: 1rem;
}

.nav-links a {
    position: relative;
}

.nav-links a.menu-open,
.nav-links a:hover {
    background: rgba(255, 255, 255, 0.27);
    color: var(--primary-dark);
}

@media (max-width: 980px) {
    .mega-menu {
        display: none;
    }
}

.btn {
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: .22s ease;
}

.btn-ghost {
    background: rgba(255,255,255,.62);
    color: var(--primary-dark);
    border: 1px solid rgba(185, 103, 103, 0.18);
}

.btn-primary {
    background: linear-gradient(180deg, #ca6969, #ab4a4a);
    color: white;
    box-shadow: 0 14px 24px rgba(136, 136, 136, 0.22);
}

.btn:hover { transform: translateY(-2px); }

.hero {
    padding: 20px 0 28px;
}

h2 a, h3 a {
    color: #750a0a;
    min-height: 40px;
    display: block;
}

.hero-card {
    position: relative;
    min-height: 720px;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 25px 55px rgba(135, 135, 135, 0.18);
    border: 1px solid rgba(255,255,255,.65);
    background: #ececec;
    isolation: isolate;
}

.hero-media {
    position: absolute;
    inset: 0;
    background-image:
            linear-gradient(180deg, rgba(232, 232, 232, 0.2) 0%, rgba(232, 232, 232, 0.35) 20%, rgba(220, 220, 220, 0.58) 78%, rgba(239, 239, 239, 0.85) 100%),
            url('/images/maplestory.jpg');
    background-size: cover;
    background-position: center center;
    transform: scale(1.04);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
            radial-gradient(circle at 50% 18%, rgba(255,255,255,.7), transparent 25%),
            linear-gradient(180deg, rgba(252, 244, 244, 0.28) 0%, rgba(230, 230, 230, 0.36) 40%, rgba(239, 239, 239, 0.8) 100%);
}

.cloud {
    position: absolute;
    background: rgba(255,255,255,.58);
    border-radius: 999px;
    filter: blur(2px);
    animation: floatCloud 24s linear infinite;
    opacity: .65;
}

.cloud::before,
.cloud::after {
    content: "";
    position: absolute;
    background: inherit;
    border-radius: inherit;
}

.cloud.one { width: 180px; height: 42px; top: 120px; left: -160px; animation-duration: 26s; }
.cloud.one::before { width: 80px; height: 60px; left: 18px; top: -24px; }
.cloud.one::after { width: 64px; height: 46px; right: 20px; top: -14px; }

.cloud.two { width: 150px; height: 36px; top: 180px; right: -170px; animation-duration: 30s; animation-direction: reverse; }
.cloud.two::before { width: 68px; height: 52px; left: 14px; top: -20px; }
.cloud.two::after { width: 52px; height: 40px; right: 18px; top: -12px; }

.cloud.three { width: 120px; height: 30px; top: 84px; left: 22%; animation-duration: 34s; }
.cloud.three::before { width: 58px; height: 40px; left: 10px; top: -16px; }
.cloud.three::after { width: 48px; height: 30px; right: 12px; top: -8px; }

@keyframes floatCloud {
    from { transform: translateX(0); }
    to { transform: translateX(calc(100vw + 300px)); }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 22px;
    min-height: 720px;
    padding: 60px;
    align-items: end;
}

.hero-copy {
    max-width: 640px;
    align-self: center;
}

.updates-container {
    width: 1100px;
    align-self: center;
    margin: 40px auto;
}



.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.52);
    border: 1px solid rgba(255,255,255,.55);
    box-shadow: 0 10px 24px rgba(66, 101, 138, .08);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 18px;
}

.hero-title {
    margin: 0;
    font-size: clamp(2.6rem, 5vw, 5rem);
    line-height: .95;
    letter-spacing: -0.04em;
    color: #000000;
    text-shadow: 0 12px 30px rgba(255,255,255,.35);
}

.hero-title small {
    display: block;
    margin-top: 10px;
    font-size: clamp(1rem, 1.7vw, 1.35rem);
    color: #000000;
    letter-spacing: .02em;
    font-weight: 700;
}

.hero-description {
    font-size: 16px;
    line-height: 1.8;
    color: #000000;
    margin: 18px 0 0;
    max-width: 58ch;
    font-weight: 400;
    min-width: 100%;
}

.update-overly {
    border-radius: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .65);
    box-shadow: var(--shadow);
    overflow-block: auto;
    max-height: 680px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.meta-pill {
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.54);
    border: 1px solid rgba(255,255,255,.55);
    box-shadow: 0 8px 18px rgba(162, 78, 78, 0.08);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: .92rem;
}

.hero-side {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 18px;
    align-self: stretch;
}

.logo-panel {
    justify-self: end;
    width: min(100%, 430px);
    padding: 26px;
    background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,.42));
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 30px;
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.logo-panel::after {
    content: "";
    position: absolute;
    inset: auto -30px -30px auto;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(219, 142, 142, 0.35), transparent 68%);
    pointer-events: none;
}

.logo-tag {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(159, 29, 29, 0.71);
    color: var(--white);
    font-weight: 700;
    font-size: .9rem;
    margin-bottom: 16px;
}

.update-title-tag {
    display: flex;
    justify-content: right;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
    border-radius: 30px;
    background: rgba(151, 35, 35, 0.71);
    color: #ffffff;
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, .65);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}

.update-flex-cell {
    display: flex; flex-direction: column;
}

.update-flex-cell span {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.61);
}

.logo-wordmark {
    margin: 0;
    font-size: clamp(2.8rem, 4.4vw, 4rem);
    line-height: .88;
    letter-spacing: -0.05em;
    color: #b04a4a;
    text-shadow:
            0 1px 0 rgba(255,255,255,.85),
            0 10px 30px rgba(167, 90, 90, 0.22);
}

.logo-wordmark span {
    display: block;
    color: #9a3434;
}

.pokeball-mark {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background:
            linear-gradient(180deg, #86aed9 0 47%, #27496d 47% 53%, #ffffff 53% 100%);
    border: 4px solid #2b4d72;
    position: relative;
    box-shadow: 0 12px 30px rgba(59, 92, 131, .18);
}

.logo-panel h2 {
    margin: 15px 0;
    padding: 0;
    font-size: 18px;
}

.logo-panel span {
    font-size: 14px;
}

.news-title img {
    border-radius: var(--radius-lg);
    border: 1px solid white;
    padding: 14px;
    box-shadow: 0 14px 28px rgba(136, 62, 62, 0.12);
    min-height: 200px;
    object-fit: cover;
}

.pokeball-mark::before,
.pokeball-mark::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.pokeball-mark::before {
    width: 15px;
    height: 15px;
    background: white;
    border: 4px solid #2b4d72;
    z-index: 2;
}

.pokeball-mark::after {
    width: 8px;
    height: 8px;
    background: #739ece;
    z-index: 3;
}

.trending-panel {
    justify-self: end;
    width: min(100%, 430px);
    display: grid;
    gap: 12px;
    align-content: end;
}

.mini-card {
    background: rgba(255,255,255,.66);
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 24px;
    padding: 14px;
    box-shadow: 0 14px 28px rgba(136, 62, 62, 0.12);
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
    align-items: center;
    backdrop-filter: blur(10px);
    min-height: 190px;
    max-height: 190px;
}

.mega-menu-side img {
    border-radius: 30px;
    box-shadow: 0 14px 28px rgba(136, 62, 62, 0.12);
    border: 1px solid rgba(255,255,255,.7);
    max-width: 300px;
    max-height: 250px;
    object-fit: cover;
}

{
    height: 92px;
    width: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.mini-card .label {
    font-size: .78rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-family: Rubik, Assistant;
    text-align: center;
    background: rgba(221, 105, 105, 0.81);
    width: fit-content;
    border-radius: 15px;
    padding: 5px;
}

.updates {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mini-card h3 {
    margin: 6px 0 4px;
    font-size: 1rem;
    line-height: 1.3;
}



.mini-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: .92rem;
}

.section {
    padding: 16px 0 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 22px;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(1.7rem, 2.6vw, 2.5rem);
    line-height: 1;
    color: var(--primary-dark);
}

.section-head p {
    margin: 8px 0 0;
    color: #955858;
    max-width: 60ch;
    line-height: 1.75;
    font-weight: 500;
}

.section-link {
    color: #a73f3f;
    font-weight: 800;
    background: rgba(255,255,255,.58);
    border: 1px solid rgba(255,255,255,.75);
    padding: 10px 14px;
    border-radius: 999px;
    white-space: nowrap;
}

.featured-grid {
    display: grid;
    gap: 18px;
    align-items: stretch;
}

.feature-main,
.card,
.wide-band,
.guide-card,
.community-card,
.footer-card {
    background: var(--white);
    border: 1px solid rgba(255,255,255,.7);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.footer-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: grid;
    grid-template-columns: 0.3fr .9fr;
    min-height: 390px;
}

.feature-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgb(200, 86, 86);
    color: white;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: .84rem;
    font-weight: 800;
    margin-bottom: 14px;
    width: fit-content;
}

.feature-content h3,
.card-content h3,
.guide-card h3,
.community-content h3,
.footer-card h3 {
    margin: 0;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.feature-content h3 {
    font-size: clamp(1.65rem, 2.2vw, 2.5rem);
    margin-bottom: 12px;
}

.feature-content p,
.card-content p,
.guide-card p,
.community-content p,
.footer-card p {
    color: #656565;
    line-height: 1.8;
    margin: 0;
}

.card-stack {
    display: grid;
    gap: 18px;
}

.card {
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 124px 1fr;
    min-height: 118px;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.card-content h3 { font-size: 1.1rem; }

.three-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.wide-band {
    margin-top: 18px;
    border-radius: 30px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    min-height: 280px;
}

.wide-band .text {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wide-band h3 {
    margin: 0 0 12px;
    font-size: clamp(1.6rem, 2.3vw, 2.3rem);
    color: var(--primary-dark);
    line-height: 1.1;
}

.wide-band img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.guide-card {
    border-radius: 24px;
    overflow: hidden;
    padding: 14px;
}

.guide-card img {
    border-radius: 18px;
    height: 170px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 14px;
}

.guide-card h3 {
    font-size: 1.08rem;
    margin-bottom: 10px;
}

.guide-meta {
    margin-top: 14px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.guide-meta span,
.community-tag {
    font-size: .8rem;
    font-weight: 700;
    color: #ffffff;
    background: rgba(126, 23, 23, 0.62);
    padding: 7px 10px;
    border-radius: 999px;
}

.community-grid {
    display: flex;
    align-items: start;
    gap: 18px;
    margin-top: 20px;
}

.community-card {
    border-radius: 28px;
    overflow: hidden;
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    min-height: 360px;
}

.community-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community-content {
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.community-content h3 { font-size: clamp(1.5rem, 2vw, 2.1rem); }

.community-list {
    display: grid;
    gap: 14px;
    width: 100%;
}

.community-item {
    background: rgba(255,255,255,.74);
    border: 1px solid rgba(255,255,255,.72);
    box-shadow: 0 12px 28px rgba(145, 145, 145, 0.1);
    border-radius: 22px;
    padding: 18px;
}

.community-item h4 {
    margin: 0 0 8px;
    font-size: 1.03rem;
    color: var(--primary-dark);
}

.community-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.site-footer {
    padding: 24px 0 34px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 18px;
    margin-top: 20px;
}

.footer-card {
    border-radius: 28px;
    padding: 28px;
}

.newsletter {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.newsletter input {
    flex: 1 1 260px;
    min-width: 0;
    padding: 14px 16px;
    border-radius: 999px;
    border: 1px solid rgba(178, 99, 99, 0.15);
    background: rgba(255,255,255,.9);
    font: inherit;
    color: var(--text);
    outline: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 18px;
    color: var(--muted);
    font-size: .95rem;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1120px) {
    .hero-content,
    .featured-grid,
    .wide-band,
    .community-grid,
    .footer-grid,
    .feature-main,
    .community-card {
        grid-template-columns: 1fr;
    }

    .hero-content {
        min-height: unset;
        padding: 42px 28px 28px;
    }

    .hero-copy,
    .logo-panel,
    .trending-panel {
        max-width: none;
        width: 100%;
        justify-self: stretch;
    }

    .hero-card { min-height: unset; }
    .trending-panel { align-content: start; }
    .guides-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .three-grid { grid-template-columns: 1fr; }
}

@media (max-width: 840px) {
    .site-header { position: static;
        padding: 0 !important;
    }

    .nav-shell {
        border-radius: 28px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .brand,
    .nav-actions { width: 100%; justify-content: center; }
    .hero-title { font-size: clamp(2.2rem, 9vw, 3.5rem); }
    .guides-grid,
    .community-grid,
    .footer-grid,
    .featured-grid { grid-template-columns: 1fr; }
    .mini-card,
    .card { grid-template-columns: 96px 1fr; }
    .hero-actions { width: 100%; }
    .hero-actions .btn { width: 100%; }
}

.brand img {
    width: 100%;
    max-width: 80px;
}

.logo-d {
    display: none;
}

.mini-card-img {
    width: 100% !important;
    height: 150px !important;
    object-fit: cover !important;
    border-radius: 18px !important;
}

@media (max-width: 560px) {
    .container { width: min(calc(100% - 20px), var(--max)); }
    .hero-content { padding: 26px 18px 5px; display: flex; flex-direction: column-reverse; }
    .hero-card { border-radius: 28px; }
    .logo-panel { padding: 18px; border-radius: 22px; }
    .section-head { align-items: start; }
    .feature-content,
    .wide-band .text,
    .community-content,
    .footer-card { padding: 20px; }
    .card-content { padding: 14px; }
    .guide-card { padding: 12px; }
    .guides-grid { grid-template-columns: 1fr; }
    .mini-card,
    .card { grid-template-columns: 1fr; }
,
.card img { height: 100px; }
    .newsletter { flex-direction: column; }
    .newsletter .btn { width: 100%; }
    .pallet_music_toggle {
        width: 70px !important;
        height: 65px !important;
    }

    .topic-post-author {
        font-size: 16px;
    }

    .topic-post-side small {
        display: none;
    }

    .community-grid {
        flex-direction: column;
    }

    .notifications_dropdown {
        left: 0 !important;
        right: auto !important;
    }

    .notifications_bell_btn {
        border-radius: 0 !important;
    }

    .mobile-userbar {
        display: flex !important;
        position: fixed !important;
        z-index: 999 !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
    }

    .mobile-userbar .mobile-menu-group {
        display: flex !important;
        justify-content: left !important;
        flex-direction: row-reverse !important;
    }

    .mobile-menu-group > .btn-primary {
        border-radius: 0 !important;
        background: transparent !important;
    }

    .mobile-menu-group > .btn-ghost {
        border-radius: 0 !important;
        background: transparent !important;
    }

    .article-poll {
        margin: 0 25px !important;
        margin-bottom: 40px !important;
    }

    .article-reactions {
        flex-direction: column !important;
        max-width: 100% !important;
        flex-wrap: wrap !important;
    }

    .reactions-buttons {
        flex-direction: row !important;
        max-width: 100% !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    .articles-page-shell {
        padding: 0 20px;
        text-align: center;
    }

    .articles-hero {
        padding-top: 0 !important;
    }

    .update-title-tag {
        justify-content: center !important;
    }

    .mini-card .label {
        display: none;
    }

    .mini-card h3,
    .mini-card .label {
        text-align: center;
    }

    .mini-card img {
        min-height: 100px !important;
        height: 100px !important;
        object-fit: cover !important;
    }

    .logo-panel {
        justify-items: center;
        display: grid;
    }

    .nav-shell-logo {
        padding: 0 !important;
        border-radius: 0 !important;
    }

    .logo-panel h2,
    .logo-panel span {
        text-align: center;
    }

    .trending-panel {
        display: flex;
        align-items: normal !important;
    }

    .mini-card div {
        min-height: 113px !important;
    }

    .section-head {
        align-items: center;
    }

    .mini-card p {
        display: none;
    }

    .three-grid {
        display: flex !important;
        max-width: 100% !important;
        flex-wrap: wrap !important;
        margin-top: 20px !important;
        gap: 7px !important;
        justify-content: center !important;
    }

    .status-secondary-actions {
        justify-content: center !important;
    }

    .newsletter input {
        flex: 0 !important;
    }

    .badge {
        width: 100% !important;
        justify-content: center !important;
    }

    .guide-card p,
    .guide-meta {
        display: none;
    }

    .guide-card img {
        height: 110px !important;
    }

    .guide-card {
        width: 48% !important;
    }

    .head-container {
        width: 100% !important;
        margin-bottom: 15px;
    }

    .nav-shell-logo img {
        margin-top: 25px ;
        border-radius: 0 !important;
    }

    .facebook-follow {
        width: 55px !important;
        height: 55px !important;
        bottom: 65px !important;
        left: 10px !important;
    }

    .hero {
        padding: 0;
        margin-bottom: 20px;
    }

    .pallet_music_playlist_items {
        max-height: 200px !important;
    }

    .pallet_music_playlist_special_btn_full {
        width: 100% !important;
    }

    .footer-bottom {
        display: flex;
        justify-content: center;
    }

    .article-hero-card h1 {
        font-size: 18px !important;
    }

    .article-hero {
        min-height: 200px !important;
        max-height: 300px !important;
    }

    .article-type-pill,
    .article-date-pill {
        font-size: 11px !important;
    }

    .article-hero-card {
        position: static !important;
        bottom: 5px;
        left: 0 !important;
        right: 0 !important;
        width: 90% !important;
        margin: 0 auto !important;
        text-align: center !important;
    }

    .article-page-section {
        padding-top: 0 !important;
    }

    .article-content-box {
        margin: 25px !important;
        padding: 15px !important;
        font-size: 12px !important;
    }

    .sidebar-news-card {
        text-align: right !important;
    }

    .sidebar-news-content strong {
        font-size: 0.84rem !important;
    }

    .community-forum-main {
        flex-direction: column !important;
    }

    .community-forum-main p {
        font-size: 11px !important;
    }

    .community-forum-stats {
        display: flex !important;
        justify-content: space-between !important;
        flex-direction: row !important;
    }

    .status-form-actions {
        justify-content: center !important;
    }

    .status-author,
    .status-reactions {
        width: 100% !important;
    }

    .comment-form {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .status-secondary-actions {
        margin: 0 auto !important;
    }

    .status-card {
        padding: 10px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: right !important;
    }

    .community-hub-topbar,
    .community-top-actions {
        display: flex !important;
        justify-content: center !important;
    }

    .community-topic-row,
    .community-topic-meta {
        align-items: center !important;
        justify-content: center !important;
    }

    .community-topic-main h3 a {
        font-size: 16px !important;
    }

    .community-box {
        text-align: center;
    }

    .community-forum-stats > .community-forum-mini-link {
        display: none;
    }

    .comments-wrap,
    .sidebar-box {
        text-align: center;
        margin: 0 25px !important;
        padding: 15px !important;
    }

    .community-forum-main h3 {
        text-align: center;
        font-size: 15px !important;
    }

    .article-content {
        font-size: 0.95rem !important;
    }

    .logo-m {
        display: none;
    }

    .logo-d {
        display: block;
    }

    .article-hero {
        margin: 30px !important;
    }

    .section-head h2 {
        text-align: center;
        margin: 0 auto;
        display: block;
        font-size: 22px !important;
    }

    .home-gallery-card {
        width: 46% !important;
    }



    .home-gallery-mini-grid {
        display: flex !important;
        max-width: 100% !important;
        flex-wrap: wrap !important;
    }

    .home-gallery-card-info strong {
        font-size: 0.82rem !important;
    }

    .home-gallery-card img {
        height: 100px !important;
    }

    .guide-card {
        text-align: center;
    }

    .site-footer {
        text-align: center;
    }

    .mobile-container {
        display: flex;
        flex-direction: column-reverse;
    }

    .mini-card {
        min-height: fit-content;
        max-height: fit-content;
        width: 100%;
    }

    .section-head {
        display: flex;
        justify-content: center;
    }

    .logo-tag {
        margin: 15px auto;
    }

    .min-height-com {
        min-height: fit-content !important;
    }

}

.article-hero {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: end;
    overflow: hidden;
    max-width: 1100px;
    margin: 40px auto auto auto;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 12px 30px rgba(147, 147, 147, 0.12);

}

.article-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.break {
    width: 100%;
    height: 5px;
    margin: 15px 0;
}

.article-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.05);
}

.article-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(40, 13, 13, 0.22) 0%, rgba(40, 13, 13, 0.1) 40%, rgba(113, 30, 30, 0.72) 100%), radial-gradient(circle at 20% 20%, rgba(255, 190, 190, 0.18), transparent 25%);
}

.article-hero-inner {
    position: relative;
    z-index: 3;
}

.article-hero-card {
    background: rgba(255,255,255,0.28);
    border: 1px solid rgba(255,255,255,0.42);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(90, 90, 90, 0.18);
    border-radius: 34px;
    padding: 28px;
    position: relative;
    right: 25px;
    bottom: 25px;
    width: 100%;
}

.section-kicker {
    font-weight: 700;
}

.article-top {
    max-width: 1100px !important;
}

.article-meta-top {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.article-type-pill,
.article-date-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.62);
    border: 1px solid rgba(255,255,255,0.7);
    color: var(--primary-dark);
    font-weight: 800;
    font-size: .88rem;
}

.article-hero-card h1 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 1.3rem);
    line-height: 1.02;
    text-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

.article-summary {
    margin: 0;
    color: rgba(255,255,255,0.96);
    line-height: 1.85;
    font-size: 1.05rem;
    max-width: 65ch;
}

.article-page-section {
    padding-top: 36px;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 380px);
    gap: 24px;
    align-items: start;
}

.article-main,
.article-sidebar {
    min-width: 0;
}

.article-content-box,
.sidebar-box {
    background: rgba(255,255,255,0.52);
    border: 1px solid rgba(255,255,255,0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 18px 40px rgba(152, 152, 152, 0.1);
    border-radius: 30px;
}

.article-content-box {
    padding: 28px;
}

.article-content {
    color: #000000;
    line-height: 2;
    font-size: 1.02rem;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    color: #a81212;
    margin-bottom: .6em;
    line-height: 1.2;
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content p {
    margin: 0 0 1.1em;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 22px;
    display: block;
    margin: 18px auto;
    box-shadow: 0 18px 40px rgba(138, 138, 138, 0.12);
}

.article-content figure {
    margin: 0 0 1.2em;
}

.article-content a {
    color: var(--primary-dark);
    text-decoration: underline;
}

.sidebar-box {
    padding: 22px;
    top: 110px;
}

.sidebar-news-list {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

.sidebar-news-card {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 20px;
    background: rgba(255,255,255,0.46);
    border: 1px solid rgba(255,255,255,0.55);
    transition: transform .22s ease, box-shadow .22s ease;
}

.sidebar-news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(141, 57, 57, 0.1);
}

.sidebar-news-card img {
    width: 100%;
    height: 78px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.sidebar-news-content span {
    display: block;
    color: #020000;
    font-size: .82rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.sidebar-news-content strong {
    display: block;
    color: var(--primary-dark);
    line-height: 1.35;
    font-size: .96rem;
}

@media (max-width: 980px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .sidebar-box {
        position: static;
    }

    .article-hero {
        min-height: 380px;
        padding: 130px 0 28px;
    }

    .article-hero-card {
        padding: 22px;
    }
}

.comments-section {
    padding-top: 0;
}

.comments-wrap {
    background: rgba(255,255,255,0.52);
    border: 1px solid rgba(255,255,255,0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 18px 40px rgba(140, 140, 140, 0.1);
    border-radius: 30px;
    padding: 28px;
}

.comment-form-box {
    background: rgba(255,255,255,.42);
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 26px;
}

.comment-form {
    display: grid;
    gap: 16px;
}

.comment-form-row {
    display: grid;
    gap: 8px;
}

.comment-label {
    font-weight: 800;
    color: var(--primary-dark);
    font-size: .95rem;
    padding: 15px 0;
}

.comment-input,
.comment-textarea {
    width: 100%;
    border: 1px solid rgba(226, 160, 160, 0.55);
    background: rgba(255,255,255,0.72);
    border-radius: 18px;
    padding: 14px 16px;
    font: inherit;
    color: #6c3535;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.comment-input:focus,
.comment-textarea:focus {
    border-color: rgba(196, 90, 90, 0.75);
    box-shadow: 0 0 0 4px rgba(236, 148, 148, 0.16);
    background: rgba(255,255,255,0.9);
}

.comment-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.8;
}

.comment-message {
    border-radius: 16px;
    padding: 12px 14px;
    margin-bottom: 14px;
    font-weight: 700;
}

.comment-message.error {
    background: rgba(255, 99, 99, 0.10);
    color: #a64848;
    border: 1px solid rgba(255, 99, 99, 0.18);
}

.comment-message.success {
    background: rgba(90, 181, 122, 0.10);
    color: #3f7b55;
    border: 1px solid rgba(90, 181, 122, 0.18);
}

.comment-logged-note {
    background: rgba(184, 79, 79, 0.1);
    color: var(--primary-dark);
    border: 1px solid rgba(184, 79, 79, 0.16);
    border-radius: 16px;
    padding: 12px 14px;
    font-weight: 700;
}

.comments-list {
    display: grid;
    gap: 16px;
}

.comment-card {
    background: rgba(232, 232, 232, 0.46);
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 24px;
    padding: 18px;
    box-shadow: 0 12px 24px rgba(143, 143, 143, 0.06);
    margin: 20px 0;
}

.comment-card-child {
    margin-top: 12px;
    margin-right: 24px;
    background: rgb(255, 255, 255);
}

.comment-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.comment-head strong {
    color: var(--primary-dark);
    font-size: 1rem;
}

.comment-head span {
    color: #000000;
    font-size: .84rem;
    font-weight: 700;
}

.comment-body {
    color: #000000;
    line-height: 1.9;
    font-size: .98rem;
}

.comment-reply-toggle {
    margin-top: 14px;
    border: 0;
    color: var(--primary-dark);
    font-weight: bolder !important;
    cursor: pointer;
    padding: 10px;
    border-radius: 15px;
    font: inherit;
    background: rgba(128, 128, 128, 0.16);
}

.comment-reply-toggle:hover {
    text-decoration: underline;
}

.reply-form {
    display: none;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(226, 160, 160, 0.24);
    gap: 14px;
}

.reply-form.open {
    display: grid;
}

.comment-children {
    margin-top: 14px;
}

.comments-empty {
    background: rgba(255,255,255,.42);
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 22px;
    padding: 18px;
    color: #000000;
    text-align: center;
    font-weight: 700;
    margin: 20px 0;
}

.ptn-community-hero {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 14px 24px rgba(163, 163, 163, 0.22);
    border: 1px solid rgba(255,255,255,.55);
}

@media (max-width: 680px) {
    .comments-wrap {
        padding: 20px;
    }

    .comment-card-child {
        margin-right: 12px;
    }
}

.comment-ajax-message {
    display: none;
    border-radius: 16px;
    padding: 12px 14px;
    margin-bottom: 14px;
    font-weight: 700;
}

.comment-ajax-message.is-visible {
    display: block;
}

.comment-ajax-message.is-error {
    background: rgba(255, 99, 99, 0.10);
    color: #a64848;
    border: 1px solid rgba(255, 99, 99, 0.18);
}

.comment-ajax-message.is-success {
    background: rgba(90, 181, 122, 0.10);
    color: #3f7b55;
    border: 1px solid rgba(90, 181, 122, 0.18);
}

.btn.is-loading {
    opacity: .72;
    pointer-events: none;
    position: relative;
}

.btn.is-loading::after {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.45);
    border-top-color: rgba(255,255,255,0.95);
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-inline-start: 8px;
    animation: commentSpin .65s linear infinite;
}

@keyframes commentSpin {
    to {
        transform: rotate(360deg);
    }
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.comment-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    flex: 0 0 42px;
    border: 2px solid rgba(255,255,255,0.7);
    box-shadow: 0 8px 18px rgba(145, 145, 145, 0.1);
    background: rgba(255,255,255,0.8);
}

.comment-logged-user {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.page-top-section {
    padding-top: 30px;
}

.page-intro-box {
    background: rgba(255,255,255,0.52);
    border: 1px solid rgba(255,255,255,0.62);
    box-shadow: 0 16px 40px rgba(151, 151, 151, 0.12);
    backdrop-filter: blur(14px);
    border-radius: 28px;
    padding: 30px;
}

.page-updated-at {
    margin-top: 14px;
    font-size: 14px;
    color: var(--muted);
}

.page-cover-box {
    overflow: hidden;
}

.page-inline-cover {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 18px;
}

.page-main-simple .article-content-box {
    max-width: 860px;
    margin-inline: auto;
}

.page-content > *:first-child {
    margin-top: 0;
}

.page-content > *:last-child {
    margin-bottom: 0;
}

.page-top-section {
    padding-top: 30px;
}

.page-intro-box {
    background: rgba(255,255,255,0.52);
    border: 1px solid rgba(255,255,255,0.62);
    box-shadow: 0 16px 40px rgba(165, 165, 165, 0.12);
    backdrop-filter: blur(14px);
    border-radius: 28px;
    padding: 30px;
}

.page-updated-at {
    margin-top: 14px;
    font-size: 14px;
    color: var(--muted);
}

.page-cover-box {
    overflow: hidden;
}

.page-inline-cover {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 18px;
}

.page-main-simple .article-content-box {
    max-width: 860px;
    margin-inline: auto;
}

.page-content > *:first-child {
    margin-top: 0;
}

.page-content > *:last-child {
    margin-bottom: 0;
}

.community-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

.community-box {
    background: rgba(255,255,255,0.56);
    border: 1px solid rgba(255,255,255,0.68);
    backdrop-filter: blur(14px);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 16px 40px rgba(161, 161, 161, 0.1);
    margin-bottom: 24px;
}

.pallet-bg {
}

.status-form-message {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 14px;
}

.status-form-message.success {
    background: rgba(46, 125, 50, 0.10);
    color: #2e7d32;
}

.status-form-message.error {
    background: rgba(198, 40, 40, 0.10);
    color: #c62828;
}

.status-textarea {
    width: 100%;
    min-height: 110px;
    border: 1px solid rgba(190, 120, 120, 0.28);
    border-radius: 18px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.78);
    resize: vertical;
    font: inherit;
}

.status-form-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 14px;
}

.status-feed {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.status-card {
    background: rgb(255, 255, 255);
    border: 1px solid rgba(255,255,255,0.68);
    border-radius: 24px;
    padding: 18px;
    box-shadow: 0 10px 26px rgba(182, 182, 182, 0.08);
}

.status-head {
    margin-bottom: 14px;
}

.status-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-avatar {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.9);
}

.status-date {
    font-size: 13px;
    color: var(--muted);
    margin-top: 4px;
}

.status-body {
    font-size: 15px;
    line-height: 1.8;
    color: #23384e;
    margin-bottom: 16px;
}

.status-reactions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.reaction-btn {
    border: 1px solid rgba(190, 120, 120, 0.25);
    background: rgba(255,255,255,0.72);
    border-radius: 999px;
    padding: 8px 14px;
    cursor: pointer;
    font: inherit;
    transition: .2s ease;
}

.reaction-btn:hover {
    transform: translateY(-2px);
}

.reaction-btn.is-active {
    background: rgba(255, 125, 125, 0.18);
    border-color: rgba(220, 90, 90, 0.35);
}

.reaction-count {
    display: inline-block;
    margin-inline-start: 6px;
    font-weight: 700;
}

.status-comments {
    margin-top: 10px;
}

@media (max-width: 980px) {
    .community-layout {
        grid-template-columns: 1fr;
    }
}

.forums-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.forum-row {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: right;
    background: rgba(255,255,255,0.56);
    border: 1px solid rgba(255,255,255,0.68);
    backdrop-filter: blur(14px);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 16px 40px rgba(149, 149, 149, 0.1);
}

.forum-row-main {
    max-width: 600px;
    min-width: 600px;
    width: 100%;
}

.forum-row-title {
    margin: 0 0 8px;
    font-size: 20px;
}

.forum-row-title a {
    color: var(--heading);
    text-decoration: none;
}

.forum-row-title a:hover {
    text-decoration: underline;
}

.forum-row-desc {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.forum-row-stats {
    display: flex;
    gap: 14px;
    justify-content: center;
}

.forum-stat {
    min-width: 78px;
    text-align: center;
    background: rgba(255,255,255,0.52);
    border: 1px solid rgba(190, 120, 120, 0.18);
    border-radius: 18px;
    padding: 12px 10px;
}

.forum-stat strong {
    display: block;
    font-size: 24px;
    line-height: 1;
    margin-bottom: 6px;
    color: var(--heading);
}

.forum-stat span {
    font-size: 13px;
    color: var(--muted);
}

.forum-row-last {
    text-align: right;
}

.forum-last-label {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 6px;
}

.forum-last-topic {
    color: var(--heading);
    text-decoration: none;
    font-weight: 700;
    line-height: 1.6;
}

.forum-last-topic:hover {
    text-decoration: underline;
}

.forum-last-meta,
.forum-last-empty {
    margin-top: 8px;
    font-size: 13px;
    color: var(--muted);
}

@media (max-width: 980px) {
    .forum-row {
        grid-template-columns: 1fr;
        text-align: right;
    }

    .forum-row-stats {
        justify-content: flex-start;
    }

    .forum-row-last {
        text-align: right;
    }
}

.forum-single-intro {
    background: rgba(255,255,255,0.52);
    border: 1px solid rgba(255,255,255,0.62);
    box-shadow: 0 16px 40px rgba(159, 159, 159, 0.12);
    backdrop-filter: blur(14px);
    border-radius: 28px;
    padding: 30px;
    margin: 30px 0;
}

.forum-single-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 18px;
}

.forum-topics-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.forum-topic-row {
    display: grid;
    grid-template-columns: 74px minmax(0, 1.4fr) 180px 220px;
    gap: 18px;
    align-items: center;
    background: rgba(255,255,255,0.56);
    border: 1px solid rgba(255,255,255,0.68);
    backdrop-filter: blur(14px);
    border-radius: 28px;
    padding: 22px;
    box-shadow: 0 16px 40px rgba(161, 161, 161, 0.1);
    margin: 5px 0;
}

.forum-topic-icon-col {
    display: flex;
    justify-content: center;
}

.forum-topic-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: rgba(255,255,255,0.65);
    border: 1px solid rgba(191, 191, 191, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.forum-topic-title {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.4;
}

.forum-topic-title a {
    color: var(--heading);
    text-decoration: none;
}

.forum-topic-title a:hover {
    text-decoration: underline;
}

.forum-topic-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.forum-topic-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(255, 125, 125, 0.16);
    color: var(--heading);
    font-weight: 700;
}

.forum-topic-stats {
    display: flex;
    gap: 14px;
    justify-content: center;
}

.forum-topic-stat {
    min-width: 78px;
    text-align: center;
    background: rgba(255,255,255,0.52);
    border: 1px solid rgba(190, 120, 120, 0.18);
    border-radius: 18px;
    padding: 12px 10px;
}

.forum-topic-stat strong {
    display: block;
    font-size: 24px;
    line-height: 1;
    margin-bottom: 6px;
    color: var(--heading);
}

.forum-topic-stat span {
    font-size: 13px;
    color: var(--muted);
}

.forum-topic-last {
    text-align: right;
}

.forum-last-user {
    margin-top: 6px;
    font-weight: 700;
    color: var(--heading);
}

@media (max-width: 1100px) {
    .forum-topic-row {
        grid-template-columns: 60px minmax(0, 1fr);
    }

    .forum-topic-stats,
    .forum-topic-last {
        grid-column: 2 / 3;
    }
}

@media (max-width: 700px) {
    .forum-topic-row {
        grid-template-columns: 1fr;
        text-align: right;
    }

    .forum-topic-icon-col {
        justify-content: flex-start;
    }

    .forum-topic-stats {
        justify-content: flex-start;
    }

    .forum-topic-last {
        text-align: right;
    }
}

.topic-header {
    padding: 20px 0;
}

.topic-header-top {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.topic-back-link {
    color: var(--heading);
    text-decoration: none;
    font-weight: 700;
}

.topic-back-link:hover {
    text-decoration: underline;
}

.topic-header-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    margin-top: 12px;
}

.topic-posts-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.topic-post-card {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    background: rgba(255,255,255,0.56);
    border: 1px solid rgba(255,255,255,0.68);
    backdrop-filter: blur(14px);
    border-radius: 28px;
    padding: 22px;
    box-shadow: 0 16px 40px rgba(159, 159, 159, 0.1);
}

.topic-post-main {
    border: 1px solid rgba(220, 90, 90, 0.22);
}

.topic-post-side {
    text-align: center;
    background: rgb(164, 78, 78);
    border-radius: 30px;
    padding: 30px;
    color: white;
    border: 1px solid rgba(220, 90, 90, 0.22);
    box-shadow: 0 16px 40px rgba(138, 138, 138, 0.12);
    height: stretch;
}

.topic-post-avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.9);
    margin: 0 auto 10px;
}

.topic-post-author {
    font-weight: 700;
    color: var(--heading);
}

.topic-post-content-wrap {
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.topic-post-date {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(133, 133, 133, 0.16);
}

.topic-post-content {
    line-height: 1.9;
    color: #290a0a;
    white-space: normal;
    word-break: break-word;
}

.topic-reply-box,
.topic-locked-box {
    margin-top: 24px;
    background: rgba(255,255,255,0.56);
    border: 1px solid rgba(255,255,255,0.68);
    backdrop-filter: blur(14px);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 16px 40px rgba(57, 98, 141, .10);
}

.forum-reply-textarea {
    width: 100%;
    min-height: 170px;
    border: 1px solid rgba(190, 120, 120, 0.28);
    border-radius: 18px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.78);
    resize: vertical;
    font: inherit;
}

.forum-reply-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 14px;
}

.forum-form-message {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 14px;
}

.forum-form-message.success {
    background: rgba(46, 125, 50, 0.10);
    color: #2e7d32;
}

.forum-form-message.error {
    background: rgba(198, 40, 40, 0.10);
    color: #c62828;
}

.topic-login-note {
    color: var(--muted);
    line-height: 1.8;
}

.topic-login-note a {
    color: var(--heading);
    font-weight: 700;
    text-decoration: none;
}

.topic-login-note a:hover {
    text-decoration: underline;
}

@media (max-width: 760px) {
    .topic-post-card {
        grid-template-columns: 1fr;
    }

    .topic-post-side {
        text-align: right;
        justify-content: center;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .topic-post-avatar {
        width: 58px;
        height: 58px;
        margin: 0;
    }

    .topic-post-card {
        padding: 15px !important;
    }

}

.forum-new-topic-box {
    background: rgba(255,255,255,0.56);
    border: 1px solid rgba(255,255,255,0.68);
    backdrop-filter: blur(14px);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 16px 40px rgba(156, 156, 156, 0.1);
}

.topic-post-edited {
    color: var(--muted);
    font-size: 13px;
}

.topic-post-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
    justify-content: left;
}

.topic-post-action-link {
    color: var(--heading);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.topic-post-action-link:hover {
    text-decoration: underline;
}

.topic-post-action-delete {
    color: #b42318;
}

.community-hub-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) 360px;
    gap: 24px;
    align-items: start;
}

.community-hub-main,
.community-hub-side {
    min-width: 0;
}

.community-box-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.community-box-head h2,
.community-box-head h3 {
    margin: 0;
    color: #9a1616;
}

.community-mini-text {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.community-forums-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.community-forum-card {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border-radius: 22px;
    background: rgb(239, 239, 239);
    border: 1px solid rgba(190, 120, 120, 0.16);
    transition: background-color 0.2s ease;
}

.community-forum-card:nth-child(even) {
    background: rgb(236, 236, 236);
}

.community-forum-card:hover {
    background-color: rgba(255, 255, 255, 0.29);
}

.limit-width {
    width: fit-content !important;
}

.min-height-com {
    min-height: 142px;
}

.index-com {
    background: rgba(255, 255, 255, .74);
    border: 1px solid rgba(255, 255, 255, .72);
    box-shadow: 0 12px 28px rgba(145, 145, 145, 0.1);
}

.index-com-wrapper {
    padding: 18px;
    border-radius: 22px;
    background: rgb(255, 255, 255);
    border: 1px solid rgba(190, 120, 120, 0.16);
    box-shadow: 0 12px 28px rgba(152, 152, 152, 0.1);
    gap: 10px;
}

.force-spread {
    margin-bottom: 10px !important;
}

.community-forum-main h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.community-forum-main h3 a {
    text-decoration: none;
    color: var(--heading);
}

.community-forum-main h3 a:hover {
    text-decoration: underline;
}

.community-forum-main p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.community-forum-main {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.forum-main {
    width: 100%;
}

.forum-img img,
.forum-row img {
    width: 100%;
    max-width: 80px;
    min-width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 14px 24px rgba(128, 128, 128, 0.22);
    border: 1px solid rgba(255, 255, 255, .55);
}



.community-forum-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    white-space: nowrap;
    font-size: 14px;
    color: var(--muted);
}

.community-forum-stats strong {
    color: var(--heading);
}

.community-topic-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.community-topic-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border-radius: 22px;
    background: rgb(241 241 241 / 52%);
    border: 1px solid rgb(181 181 181 / 16%);
}

.community-topic-main h3 {
    margin: 0 0 8px;
    font-size: 21px;
}

.community-topic-main h3 a {
    text-decoration: none;
    color: #9e2727;
}

.community-topic-main h3 a:hover {
    text-decoration: underline;
}

.community-topic-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
}

.community-topic-meta a {
    color: var(--heading);
    text-decoration: none;
    font-weight: 700;
}

.community-topic-meta a:hover {
    text-decoration: underline;
}

.community-topic-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    white-space: nowrap;
    text-align: left;
    color: var(--muted);
    font-size: 14px;
}

.community-status-mini-list,
.community-activity-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.community-status-mini-card {
    padding: 16px;
}

.community-status-mini-link {
    margin-top: 10px;
}

.community-status-mini-link a {
    color: var(--heading);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.community-status-mini-link a:hover {
    text-decoration: underline;
}

.community-activity-item {
    padding: 16px;
    border-radius: 20px;
    background: rgba(255,255,255,0.52);
    border: 1px solid rgba(190, 120, 120, 0.16);
}

.community-activity-item h4 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.5;
}

.community-activity-item h4 a {
    color: var(--heading);
    text-decoration: none;
}

.community-activity-item h4 a:hover {
    text-decoration: underline;
}

.community-activity-meta {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 8px;
    line-height: 1.7;
}

.community-activity-item p {
    margin: 0;
    color: #4e2323;
    line-height: 1.7;
}

@media (max-width: 1080px) {
    .community-hub-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .community-box-head,
    .community-forum-card,
    .community-topic-row {
        flex-direction: column;
        align-items: stretch;
    }

    .community-forum-stats,
    .community-topic-stats {
        text-align: right;
    }
}

.community-hub-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 24px 0;
    flex-wrap: wrap;
}

.community-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.community-tab {
    border: 1px solid rgba(190, 120, 120, 0.2);
    background: rgba(255,255,255,0.58);
    color: var(--heading);
    border-radius: 999px;
    padding: 10px 16px;
    font: inherit;
    cursor: pointer;
    transition: .2s ease;
}

.community-tab:hover {
    transform: translateY(-2px);
}

.community-tab.is-active {
    background: rgba(255, 125, 125, 0.18);
    border-color: rgba(220, 90, 90, 0.34);
    font-weight: 700;
}

.community-top-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.community-forum-mini-link {
    display: inline-block;
    margin-top: 4px;
    color: var(--heading);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.community-forum-mini-link:hover {
    text-decoration: underline;
}

.community-section.is-hidden {
    display: none !important;
}

@media (max-width: 760px) {
    .community-hub-topbar {
        align-items: stretch;
    }

    .community-top-actions {
        width: 100%;
    }
}

.community-hub-layout.statuses-mode,
.community-hub-layout.forums-mode {
    grid-template-columns: minmax(0, 1fr);
}

.community-hub-layout.statuses-mode .community-hub-side,
.community-hub-layout.forums-mode .community-hub-side {
    display: none;
}

.community-statuses-full-section {
    margin-bottom: 24px;
}

.status-feed-full {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.community-section-all-only.is-hidden {
    display: none !important;
}

.pallet_music_player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999999;
    direction: rtl;
    font-family: inherit;
}

.pallet_music_toggle {
    width: 90px;
    height: 85px;
    border-radius: 50%;
    background: linear-gradient(180deg, #f67f7f 0%, #e84f4f 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(195, 195, 195, 0.28);
    border: 3px solid rgba(255,255,255,0.85);
    font-size: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pallet_music_toggle:hover {
    transform: scale(1.06);
    box-shadow: 0 14px 35px rgba(210, 80, 80, 0.35);
}

.facebook-follow {
    position: fixed;
    left: 15px;
    bottom: 100px;
    width: 65px;
    z-index: 99;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffffff 0%, #e4e4e4 100%);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(195, 195, 195, 0.28);
    border: 3px solid rgba(255,255,255,0.85);
    font-size: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.facebook-follow:hover {
    transform: scale(1.06);
    box-shadow: 0 14px 35px rgba(69, 69, 69, 0.35);
}

.pallet_music_panel {
    width: 340px;
    margin-top: 12px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(230, 160, 160, 0.5);
    border-radius: 28px;
    box-shadow: 0 20px 40px rgba(190, 120, 120, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px;
    overflow: hidden;
    transition: all 0.25s ease;
    height: fit-content;
}

.pallet_music_player.collapsed .pallet_music_panel {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
}

.pallet_music_player:not(.collapsed) .pallet_music_panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.pallet_music_top {
    margin-bottom: 14px;
}

.pallet_music_cover_wrap {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 20px;
    overflow: hidden;
    background: #ca8686;
    border: 2px solid rgba(255,255,255,0.9);
    box-shadow: 0 6px 18px rgba(220, 130, 130, 0.18);
}

.pallet_music_cover_wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pallet_music_meta {
    flex: 1;
    min-width: 0;
    text-align: center;
    padding: 10px;
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;
    background: linear-gradient(0deg,rgba(255, 255, 255, 0) 0%, rgba(198, 169, 169, 0.72) 100%);
}

.pallet_music_label {
    display: inline-block;
    font-size: 12px;
    color: #ffffff;
    background: #cf8484;
    padding: 5px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
    font-weight: 600;
}

.pallet_music_title {
    font-size: 16px;
    font-weight: 700;
    color: #913a3a;
    line-height: 1.2;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pallet_music_source {
    font-size: 14px;
    color: #986d6d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pallet_music_progress_wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    direction: ltr;
}

.pallet_music_progress_wrap span {
    font-size: 12px;
    color: #a36f6f;
    min-width: 34px;
    text-align: center;
}

.pallet_music_progress_wrap input[type="range"] {
    flex: 1;
}

.pallet_music_controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
}

.pallet_music_controls button {
    border: none;
    background: #ffffff;
    font-weight: 700;
    color: #aa4f4f;
    border-radius: 999px;
    min-width: 46px;
    height: 46px;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 6px 14px rgba(210, 120, 120, 0.16);
    transition: transform 0.2s ease, background 0.2s ease;
}

.pallet_music_controls button:hover {
    transform: translateY(-2px);
    background: #d6afaf;
}

#palletMusicPlayPause {
    width: 58px;
    height: 58px;
    font-size: 24px;
    background: linear-gradient(180deg, #f67f7f 0%, #ea5a5a 100%);
    color: white;
}

.pallet_music_volume_wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    direction: ltr;
}

.pallet_music_volume_icon {
    font-size: 16px;
}

.pallet_music_volume_wrap input[type="range"] {
    flex: 1;
}

.pallet_music_bottom {
    text-align: center;
}

.pallet_music_bottom a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: #b57272;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.pallet_music_bottom a:hover {
    background: #c68c8c;
}

@media (max-width: 640px) {
    .pallet_music_player {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .pallet_music_panel {
        width: auto;
    }
}

.pallet_music_playlist {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(230, 160, 160, 0.25);
    height: 50vh;
}

.pallet_music_playlist_title {
    font-size: 13px;
    font-weight: 700;
    color: #b85d5d;
    margin-bottom: 10px;
}

.pallet_music_playlist_items {
    max-height: 33vh;
    overflow-y: auto;
    padding-left: 4px;
}

.pallet_music_playlist_item {
    display: block;
    width: 100%;
    text-align: right;
    border: none;
    background: #b66969;
    border-radius: 18px;
    padding: 10px 12px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(210, 120, 120, 0.08);
}

.pallet_music_playlist_item a {
    color: white;
}

.pallet_music_playlist_item:hover {
    background: #c38080;
    transform: translateY(-1px);
}

.pallet_music_playlist_item.active {
    background: linear-gradient(180deg, #cc8282 0%, #c37676 100%);
    box-shadow: 0 6px 14px rgba(220, 100, 100, 0.14);
    border: 1px solid rgba(230, 135, 135, 0.35);
    position: relative;
}

.pallet_music_playlist_item.active::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #ea5a5a;
    font-weight: bold;
}

.pallet_music_playlist_item_title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pallet_music_playlist_item_source {
    font-size: 12px;
    color: #ffefef;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pallet_music_playlist_items::-webkit-scrollbar {
    width: 8px;
}

.pallet_music_playlist_items::-webkit-scrollbar-track {
    background: #fdeeee;
    border-radius: 999px;
}

.pallet_music_playlist_items::-webkit-scrollbar-thumb {
    background: #f6bfbf;
    border-radius: 999px;
}

.pallet_music_guest_popup {
    position: fixed;
    inset: 0;
    background: rgba(60, 20, 20, 0.42);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.pallet_music_guest_popup_box {
    width: 100%;
    max-width: 420px;
    background: rgba(245, 250, 255, 0.98);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 20px 45px rgba(110, 40, 40, 0.18);
    text-align: center;
    border: 1px solid rgba(230, 160, 160, 0.4);
}

.pallet_music_guest_popup_box h3 {
    margin: 0 0 10px;
    font-size: 24px;
    color: #913a3a;
}

.pallet_music_guest_popup_box p {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.6;
    color: #955f5f;
}

.pallet_music_guest_popup_actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pallet_music_guest_popup_actions a,
.pallet_music_guest_popup_actions button {
    border: none;
    border-radius: 999px;
    padding: 11px 18px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.pallet_music_guest_popup_actions a {
    background: linear-gradient(180deg, #f67f7f 0%, #ea5a5a 100%);
    color: #fff;
}

.pallet_music_guest_popup_actions button {
    background: #ffeded;
    color: #a44b4b;
}

@media (max-width: 640px) {
    .pallet_music_playlist_items {
        max-height: 140px;
    }

    .pallet_music_panel {
        border-radius: 24px;
        padding: 14px;
    }

    .pallet_music_title {
        font-size: 16px;
    }
}

.pallet_music_page {
    padding: 30px 0 50px;
}

.pallet_music_page_hero {
    text-align: center;
    margin-bottom: 28px;
    padding: 34px 24px;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255, 245, 245, 0.95) 0%, rgba(255, 235, 235, 0.92) 100%);
    border: 1px solid rgba(230, 160, 160, 0.35);
    box-shadow: 0 18px 40px rgba(190, 120, 120, 0.12);
}

.pallet_music_page_badge {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    background: #ffe8e8;
    color: #b85a5a;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.pallet_music_page_hero h1 {
    margin: 0 0 10px;
    font-size: 40px;
    color: #913a3a;
}

.pallet_music_page_hero p {
    margin: 0 auto;
    max-width: 700px;
    font-size: 17px;
    line-height: 1.7;
    color: #9d6666;
}

.pallet_music_page_list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pallet_music_page_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 10px 0;
    padding: 18px 20px;
    border-radius: 24px;
    background: rgba(255, 248, 248, 0.96);
    border: 1px solid rgba(235, 170, 170, 0.28);
    box-shadow: 0 10px 24px rgba(190, 120, 120, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.pallet_music_page_item:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(190, 120, 120, 0.12);
    background: rgba(255, 242, 242, 0.98);
}

.pallet_music_page_item_main {
    flex: 1;
    min-width: 0;
}

.pallet_music_page_item_title {
    font-size: 22px;
    font-weight: 700;
    color: #913a3a;
    margin-bottom: 6px;
    line-height: 1.25;
}

.pallet_music_page_item_meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    font-size: 14px;
    color: #a37171;
}

.pallet_music_dot {
    opacity: 0.5;
}

.pallet_music_page_item_actions {
    flex-shrink: 0;
}

.pallet_music_page_play_button,
.site_button {
    border: none;
    border-radius: 999px;
    padding: 12px 18px;
    background: linear-gradient(180deg, #f67f7f 0%, #ea5a5a 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(234, 90, 90, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pallet_music_page_play_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(234, 90, 90, 0.28);
}

.pallet_music_page_empty {
    text-align: center;
    padding: 30px 20px;
    border-radius: 24px;
    background: rgba(255, 248, 248, 0.96);
    color: #a16d6d;
    font-size: 16px;
}

@media (max-width: 640px) {
    .pallet_music_page_hero {
        padding: 26px 18px;
        border-radius: 26px;
    }

    .pallet_music_page_hero h1 {
        font-size: 30px;
    }

    .pallet_music_page_hero p {
        font-size: 15px;
    }

    .pallet_music_page_item {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        border-radius: 20px;
    }

    .pallet_music_page_item_title {
        font-size: 20px;
    }

    .pallet_music_page_play_button {
        width: 100%;
    }
}

.pallet_music_player_highlight .pallet_music_panel,
.pallet_music_player_highlight .pallet_music_toggle {
    animation: palletMusicPulse 1.2s ease;
}

@keyframes palletMusicPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(90, 150, 234, 0);
    }
    35% {
        transform: scale(1.03);
        box-shadow: 0 0 26px rgba(234, 90, 90, 0.22);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(90, 150, 234, 0);
    }
}

.pallet_song_page {
    padding: 30px 0 50px;
}

.pallet_song_hero {
    text-align: center;
    margin-bottom: 26px;
    padding: 34px 24px;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255, 245, 245, 0.95) 0%, rgba(255, 235, 235, 0.92) 100%);
    border: 1px solid rgba(230, 160, 160, 0.35);
    box-shadow: 0 18px 40px rgba(190, 120, 120, 0.12);
}

.pallet_song_badge {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    background: #ffe8e8;
    color: #b85a5a;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.pallet_song_hero h1 {
    margin: 0 0 10px;
    font-size: 40px;
    color: #913a3a;
}

.pallet_song_meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 15px;
    color: #a37171;
}

.pallet_song_dot {
    opacity: 0.5;
}

.pallet_song_layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
    margin-bottom: 24px;
}

.pallet_song_main,
.pallet_song_card,
.pallet_song_lyrics_box {
    background: rgba(255, 248, 248, 0.96);
    border: 1px solid rgba(235, 170, 170, 0.28);
    box-shadow: 0 10px 24px rgba(190, 120, 120, 0.08);
}

.pallet_song_main,
.pallet_song_card,
.pallet_song_lyrics_box {
    border-radius: 28px;
}

.pallet_song_player_box {
    padding: 18px;
}

.pallet_song_iframe_wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    border-radius: 22px;
    background: #ffdcdc;
}

.pallet_song_iframe_wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.pallet_song_side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pallet_song_card {
    padding: 18px;
}

.pallet_song_card_title {
    font-size: 18px;
    font-weight: 700;
    color: #913a3a;
    margin-bottom: 8px;
}

.pallet_song_card p {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.7;
    color: #9d6666;
}

.pallet_song_play_here_button,
.pallet_song_back_link {
    display: inline-block;
    border: none;
    border-radius: 999px;
    padding: 12px 18px;
    background: linear-gradient(180deg, #f67f7f 0%, #ea5a5a 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(234, 90, 90, 0.22);
}

.pallet_song_back_link {
    background: #ffeded;
    color: #a44b4b;
    box-shadow: none;
}

.pallet_song_lyrics_box {
    padding: 22px;
}

.pallet_song_lyrics_title {
    font-size: 24px;
    font-weight: 700;
    color: #913a3a;
    margin-bottom: 14px;
}

.pallet_song_lyrics_text {
    font-size: 16px;
    line-height: 2;
    color: #875050;
    white-space: normal;
}

.pallet_song_no_lyrics,
.pallet_song_no_player,
.pallet_song_page_empty {
    font-size: 16px;
    color: #a16d6d;
    text-align: center;
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 248, 248, 0.96);
}

@media (max-width: 900px) {
    .pallet_song_layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .pallet_song_hero {
        padding: 26px 18px;
        border-radius: 26px;
    }

    .pallet_song_hero h1 {
        font-size: 30px;
    }

    .pallet_song_lyrics_title {
        font-size: 21px;
    }

    .pallet_song_lyrics_text {
        font-size: 15px;
        line-height: 1.9;
    }
}

.pallet_music_page_item_title a {
    color: inherit;
    text-decoration: none;
}

.pallet_music_page_item_title a:hover {
    text-decoration: underline;
}

.pallet_music_autoplay_wrap {
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: space-between;
}

.pallet_music_autoplay_label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #955f5f;
    cursor: pointer;
    user-select: none;
    justify-content: center;
}

.pallet_music_autoplay_label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.pallet_music_toggle img {
    width: 100%;
    border-radius: 100%;
}

.section-intro h1 {
    font-size: 16px;
    margin: 40px 0;
}

.topic-post-side h3 {
    font-size: 14px;
}

.forum-sign {
    padding: 30px 0;
    border-top: 1px solid rgba(133, 133, 133, 0.16);
    font-size: 14px;
    color: #616161;
}

.seperate-sign-and-msg {
    display: flex;
    gap: 10px;
    flex-direction: column;
    min-height: 230px;
    justify-content: flex-start;
}

.page-content h2 {
    color: #aa2121;
    font-weight: 700;
    font-size: clamp(1.5rem, 2.5vw, 2.6rem);
}

.page-content h3 {
    color: #aa2121;
    font-weight: 500;
    font-size: clamp(1.5rem, 2.0vw, 2.0rem);
}

.mobile-site-menu-trigger-wrap,
.mobile-site-menu-backdrop,
.mobile-site-menu-sheet {
    display: none;
}

@media (max-width: 980px) {
    .site-header .nav-links,
    .site-header .nav-actions,
    .site-header .mega-menu {
        display: none !important;
    }

    .site-header {
    }

    .nav-shell {
        display: none;
        min-height: 72px;
        justify-content: center;
        border-radius: 26px;
    }

    .update-overly {
        max-height: 300px;
    }

    .hero-description {
        font-size: 14px;
    }

    .update-title-tag {
        font-size: 16px;
        text-align: center;
    }

    .btn {
        text-align: center;
    }

    .hero-actions .btn {
        width: 100% !important;
        width: fit-content !important;
        margin-bottom: 20px;
    }

    .mobile-site-menu-trigger-wrap {
        display: block;
        position: fixed;
        right: 25px;
        top: 70px;
        z-index: 150;
        pointer-events: none;
    }

    .mobile-site-menu-trigger {
        position: relative;
        z-index: 10051;
        pointer-events: auto;
        border: 1px solid rgba(255,255,255,0.68);
        background: rgba(255,255,255,0.82);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        box-shadow: 0 16px 34px rgba(111, 111, 111, 0.22);
        color: #7d2f2f;
        border-radius: 999px;
        min-width: 128px;
        padding: 14px 22px;
        font: inherit;
        font-weight: 800;
        font-size: 1rem;
        cursor: pointer;
        transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
    }

    .mobile-site-menu-trigger:hover,
    .mobile-site-menu-trigger:active {
        transform: translateY(-2px);
        box-shadow: 0 20px 38px rgba(111, 111, 111, 0.26);
    }

    .mobile-site-menu-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(34, 14, 14, 0.34);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .28s ease, visibility .28s ease;
        z-index: 10040;
    }

    .mobile-site-menu-backdrop.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-site-menu-sheet {
        display: block;
        position: fixed;
        right: 0;
        left: 0;
        bottom: 0;
        z-index: 10040;
        max-height: 84vh;
        padding: 10px 14px calc(18px + env(safe-area-inset-bottom));
        background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,255,255,0.62));
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
        border: 1px solid rgba(255,255,255,0.72);
        box-shadow: 0 -18px 48px rgba(95, 95, 95, 0.18);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        transform: translateY(104%);
        transition: transform .34s cubic-bezier(0.22, 1, 0.36, 1);
        overflow: hidden;
    }

    .mobile-site-menu-sheet.open {
        transform: translateY(0);
    }

    .mobile-site-menu-handle {
        width: 54px;
        height: 6px;
        border-radius: 999px;
        background: rgba(137, 93, 93, 0.34);
        margin: 4px auto 14px;
    }

    .mobile-site-menu-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 4px 4px 14px;
        border-bottom: 1px solid rgba(145, 91, 91, 0.12);
        margin-bottom: 12px;
    }

    .mobile-site-menu-head strong {
        font-size: 1.05rem;
        color: #7a2c2c;
    }

    .mobile-site-menu-close {
        border: 0;
        background: rgba(161, 80, 80, 0.12);
        color: #7a2c2c;
        border-radius: 999px;
        padding: 10px 14px;
        font: inherit;
        font-weight: 700;
        cursor: pointer;
    }

    .mobile-site-menu-body {
        overflow-y: auto;
        max-height: calc(84vh - 72px);
        padding-left: 4px;
        padding-right: 4px;
        padding-bottom: 110px;
    }

    .mobile-menu-group {
        margin-bottom: 12px;
        background: rgba(255,255,255,0.44);
        border: 1px solid rgba(255,255,255,0.72);
        border-radius: 22px;
        overflow: hidden;
        box-shadow: 0 10px 24px rgba(135, 135, 135, 0.08);
    }

    .add-top {
        background: rgba(133, 11, 11, 0.75) !important;
        display: flex !important;
        justify-content: space-between !important;
        flex-direction: row-reverse !important;
        width: 100% !important;
        border-radius: 0 !important;
        backdrop-filter: blur(16px) !important;
    }

    .add-top a {
        color: white !important;
    }

    .mobile-menu-group-toggle,
    .mobile-menu-direct-link {
        width: 100% !important;
        display: flex !important;
        align-items: center;
        justify-content: right;
        gap: 10px;
        padding: 16px 18px;
        background: transparent;
        border: 0;
        font: inherit;
        font-weight: 800;
        font-size: 1rem;
        text-align: right;
    }

    .mobile-menu-direct-link {
        justify-content: flex-start;
    }

    .mobile-menu-arrow {
        font-size: 1.1rem;
        line-height: 1;
        transition: transform .22s ease;
    }

    .mobile-menu-group.is-open .mobile-menu-arrow {
        transform: rotate(180deg);
    }

    .mobile-site-menu-sheet .mobile-menu-group-links {
        max-height: 0;
        overflow: hidden;
        padding: 0 14px;
        opacity: 0;
        transform: translateY(-5px);
        transition: all 0.3s ease;
    }

    .mobile-site-menu-sheet .mobile-menu-group.is-open .mobile-menu-group-links {
        max-height: 1000px; /* מספיק גדול */
        padding: 0 14px 14px;
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu-group-toggle .mobile-menu-arrow {
        transition: transform 0.3s ease;
    }

    .mobile-menu-group.is-open .mobile-menu-arrow {
        transform: rotate(180deg);
    }

    .mobile-menu-group-links a {
        display: block;
        padding: 12px 14px;
        border-radius: 16px;
        background: rgba(255,255,255,0.64);
        border: 1px solid rgba(255,255,255,0.72);
        color: #5f2222;
        font-weight: 600;
        line-height: 1.5;
        margin: 5px 0;
        transition: transform .18s ease, background .18s ease;
    }

    .mobile-menu-group-links a:hover,
    .mobile-menu-group-links a:active {
        transform: translateY(-1px);
        background: rgba(255,255,255,0.82);
    }

    body.mobile-menu-open {
        overflow: hidden;
    }
}

.fourzerofour {
    display: flex;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    flex-direction: column;ןםמ
}

.fourzerofour img {
    margin: 0 auto;
}

.fourzerofour h1 {
    font-size: 40px;
}

.nav-actions-guest {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.google-login-wrap {
    display: flex;
    align-items: center;
}

.btn-google {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.06);
    color: #000;
    transition: 0.25s ease;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(185, 103, 103, 0.18);
}

.btn-google:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-1px);
}

.google-g {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #db4437;
    font-weight: 800;
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    line-height: 1;
}

.google-login-slot {
    display: flex;
    align-items: center;
    min-height: 40px;
}

.btn-google a {
    color: #db4437;
}

#palletMusicRandom {
    font-size: 1rem;
}

.home-status-write-box {
    margin-bottom: 22px;
}

.status-secondary-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.status-comments-toggle,
.status-comment-open {
    background: #b54f4f;
    border: 0;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 15px;
    padding: 7px;
}

.status-comments-toggle:hover,
.status-comment-open:hover {
    opacity: 0.85;
}

.status-comments-collapsed {
    display: none;
}

.articles-page-shell {
    max-width: 1100px;
    margin: 0 auto;
}

.articles-hero {
    padding: 32px 0;
    margin-bottom: 32px;
}

.articles-hero h1 {
    margin: 0 0 8px;
    font-size: 2rem;
}

.articles-hero p {
    margin: 0 0 18px;
    color: #666;
}

.pro-hero {
    margin: 30px 0;
    padding: 0;
}

.pro-hero h1 {
    margin: 0 0 8px;
    font-size: 2rem;
}

.profile_identity_text h2 {
    font-size: 20px;
}

.pro-hero p {
    margin: 0 0 18px;
    color: #666;
}

.articles-filters-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.articles-select,
.articles-search {
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.8);
    border-radius: 16px;
    padding: 12px 14px;
    font-size: 0.95rem;
    min-height: 44px;
}

.articles-search {
    min-width: 240px;
    flex: 1;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.article-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: white;
    box-shadow: var(--shadow);
    border-radius: 30px;
}

.article-card-image-link {
    display: block;
}

.article-card-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    border-radius: 18px 18px 0 0;
}

.article-card-image-placeholder {
    background: rgba(0,0,0,0.05);
}

.article-card-content {
    padding: 18px;
}

.article-card-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.article-card-type,
.article-card-featured {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.82rem;
    font-weight: 700;
}

.article-card-type {
    background: rgba(180, 70, 70, 0.12);
    color: #9d3f3f;
}

.article-card-featured {
    background: rgba(0,0,0,0.07);
    color: #333;
}

.article-card-title {
    margin: 0 0 10px;
    font-size: 1.28rem;
    line-height: 1.35;
}

.article-card-title a {
    color: inherit;
    text-decoration: none;
}

.article-card-title a:hover {
    text-decoration: underline;
}

.article-card-date {
    font-size: 0.88rem;
    color: #888;
    margin-bottom: 12px;
}

.article-card-summary {
    margin: 0 0 14px;
    color: #555;
    line-height: 1.7;
}

.article-card-readmore {
    font-weight: 700;
    color: #9d3f3f;
    text-decoration: none;
}

.article-card-readmore:hover {
    text-decoration: underline;
}

.empty-state {
    padding: 24px;
    text-align: center;
}

@media (max-width: 980px) {
    .articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .articles-filters-row {
        flex-direction: column;
        align-items: stretch;
    }

    .articles-search,
    .articles-select {
        width: 100%;
        min-width: 0;
    }
}

#palletMusicRandom.active {
    background: rgba(180, 70, 70, 0.18);
    border-color: rgba(180, 70, 70, 0.45);
    color: #9d3f3f;
}

.footer-meta {
}

.footer-meta span {
    font-weight: 700;
}

.footer-card h3 {
    margin: 20px auto;
    text-align: center;
    color: #730e0e;
}

.newsletter-select {
    border: 1px solid rgba(185, 118, 118, 0.22);
    border-radius: 999px;
    padding: 0 16px;
    min-height: 52px;
    background: rgba(255,255,255,0.86);
    color: #5c4a4a;
    font: inherit;
    outline: none;
}

.newsletter-select:focus {
    border-color: rgba(200, 95, 95, 0.45);
    box-shadow: 0 0 0 4px rgba(200, 95, 95, 0.08);
}

.article-share-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
    background: #f1e3e3;
    padding: 30px;
    border-radius: 30px;
}

.article-share-btn {
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(193, 193, 193, 0.61);
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.2s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.article-share-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.54);
}

.article-share-btn.is-facebook {
    background: rgb(24, 119, 242);
    border-color: rgba(24, 119, 242, 0.7);
}

.article-share-btn.is-whatsapp {
    background: rgba(37, 211, 102, 0.7);
    border-color: rgba(37, 211, 102, 0.76);
}

.article-share-btn.is-copy {
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
}

@media (max-width: 640px) {
    .article-share-bar {
        gap: 8px;
    }

    .article-share-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

.article-reactions {
    margin-top: 40px;
    padding: 20px;
    background: #fafafa;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reactions-title {
    margin-bottom: 12px;
}

.reactions-buttons {
    display: flex;
    gap: 12px;
}

.reaction-btn {
    border: none;
    background: #fff;
    padding: 10px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    gap: 6px;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.reaction-btn img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    max-width: 60px;
    max-height: 60px;
}


.reaction-btn:hover {
    transform: translateY(-2px);
}

.reaction-btn:hover img {
    transform: scale(1.2) rotate(-3deg);
}

.reaction-count {
    font-size: 0.9rem;
    color: #666;
}

.reaction-btn.active {
    background: #ddbebe;
    color: #fff;
    transform: scale(1.08);
}

.reaction-btn.pop {
    animation: reactionPop 0.25s ease;
}

@keyframes reactionPop {
    0% { transform: scale(1); }
    40% { transform: scale(1.3) rotate(5deg); }
    70% { transform: scale(0.95); }
    100% { transform: scale(1.08); }
}

.article-poll {
    padding: 20px;
    background: #fff;
    border-radius: 30px;
    backdrop-filter: blur(16px);
    box-shadow: rgba(152, 152, 152, 0.1) 0px 18px 40px;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.65);
    border-image: initial;
    margin-bottom: 40px;
}

.poll-title {
    margin-bottom: 16px;
}

.poll-option {
    width: 100%;
    border: none;
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    text-align: right;
    position: relative;
    overflow: hidden;
}

.poll-text {
    position: relative;
    z-index: 2;
}

.poll-bar {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.04);
}

.poll-fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #ff6a6a, #ff9a9a);
    width: 0%;
    transition: width 0.4s ease;
}

.poll-count {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    border-radius: 15px;
    background: #a11414;
    color: white;
    padding: 5px 10px;
}

.poll-fill {
    transition: width 0.6s cubic-bezier(.34,1.56,.64,1);
}

.article-poll:not(.show-results) .poll-bar,
.article-poll:not(.show-results) .poll-count {
    display: none;
}

.article-poll.show-results .poll-bar,
.article-poll.show-results .poll-count {
    display: block;
}

.gallery_upload_box,
.gallery_login_note,
.gallery_side_section,
.gallery_topbar,
.gallery_content_area {
    background: rgba(255,255,255,0.88);
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 22px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.gallery_upload_grid {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 14px;
}

.gallery_field {
    margin-bottom: 14px;
}

.gallery_field label {
    display: block;
    font-weight: 700;
    margin-bottom: 7px;
}

.gallery_field input[type="text"],
.gallery_field input[type="file"],
.gallery_field select,
.gallery_field textarea,
.gallery_search_box input {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 14px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 15px;
    box-sizing: border-box;
}

.gallery_upload_actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.gallery_upload_message {
    font-weight: 700;
    color: #8f4040;
}

.gallery_topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.gallery_categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery_cat_btn {
    border: none;
    background: #f2f2f2;
    color: #333;
    border-radius: 999px;
    padding: 10px 16px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    transition: 0.2s ease;
}

.gallery_cat_btn.active,
.gallery_cat_btn:hover {
    background: #c96565;
    color: #fff;
}

.gallery_search_box {
    min-width: 260px;
    flex: 1;
    max-width: 340px;
}

.gallery_grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.gallery_card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery_card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0,0,0,0.12);
}

.gallery_card_image_wrap {
    aspect-ratio: 4 / 3;
    background: #f6f6f6;
    overflow: hidden;
}

.gallery_card_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery_card_body {
    padding: 15px;
}

.gallery_card_meta_top,
.gallery_card_meta_bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.gallery_card_category {
    background: #f3dede;
    color: #8f4040;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 700;
}

.gallery_card_author,
.gallery_views_count {
    font-size: 13px;
    color: #777;
}

.gallery_card_title {
    margin: 12px 0 8px;
    font-size: 20px;
    line-height: 1.3;
}

.gallery_card_desc {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 14px;
}

.gallery_like_btn {
    border: none;
    background: #f7f7f7;
    border-radius: 999px;
    padding: 8px 14px;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
}

.gallery_like_btn.liked {
    background: #f8d9df;
}

.gallery_small_grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.gallery_small_card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.07);
}

.gallery_small_card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.gallery_small_info {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gallery_small_info span {
    color: #777;
    font-size: 13px;
}

.gallery_loading,
.gallery_empty {
    padding: 40px 20px;
    text-align: center;
    font-weight: 700;
    color: #666;
}

.gallery_lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.86);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gallery_lightbox_inner {
    position: relative;
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

.gallery_lightbox_inner img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.gallery_lightbox_caption {
    color: #fff;
    margin-top: 16px;
    line-height: 1.7;
}

.gallery_lightbox_close {
    position: absolute;
    top: -14px;
    left: -14px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #fff;
    font-size: 28px;
    cursor: pointer;
}

@media (max-width: 980px) {
    .gallery_grid,
    .gallery_small_grid,
    .gallery_upload_grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    .gallery_grid,
    .gallery_small_grid,
    .gallery_upload_grid {
        grid-template-columns: 1fr;
    }

    .gallery_topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .gallery_search_box {
        max-width: none;
    }
}

.gallery_lightbox_inner_big {
    max-width: 1450px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, 420px);
    gap: 24px;
    align-items: start;
    background: rgba(0, 0, 0, 0.53);
    backdrop-filter: blur(16px);
    border-radius: 30px;
    padding: 40px;
}

.gallery_lightbox_media {
    min-width: 0;
}

.gallery_lightbox_comments {
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    max-height: 85vh;
    overflow-y: auto;
    text-align: right;
}

.gallery_lightbox_comments h3 {
    margin-top: 0;
    margin-bottom: 16px;
    color: #222;
}

.gallery_lightbox_comments .comment-card {
    box-shadow: none;
    border: 1px solid #ececec;
}

.gallery_lightbox_comments .comment-body,
.gallery_lightbox_comments .comment-head,
.gallery_lightbox_comments .comment-label,
.gallery_lightbox_comments .comment-logged-note,
.gallery_lightbox_comments .comments-empty {
    color: #222;
}

@media (max-width: 980px) {
    .gallery_lightbox_inner_big {
        grid-template-columns: 1fr;
        padding: 10px 5px !important;
        margin-top: 100px !important;
        overflow-y: scroll !important;
        border-radius: 0 !important;
    }

    .gallery_lightbox {
        padding: 300px 5px 0 5px !important;
        border-radius: 0 !important;
        overflow-y: scroll !important;
    }

    .gallery_toggle_comments_btn,
    .gallery_lightbox_toggle {
        display: none;
    }

    .gallery_lightbox_comments {
        max-height: none;
    }
}

.gallery_lightbox_toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background: rgb(195, 37, 37);
    color: #fff;
    border: none;
    font-weight: 700;
    border-radius: 30px;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.2s;
}

.gallery_lightbox_toggle:hover {
    background: rgba(0,0,0,0.8);
}

/* מצב ללא תגובות */
.gallery_lightbox_inner_big.hide-comments {
    grid-template-columns: 1fr;
}

.gallery_lightbox_inner_big.hide-comments .gallery_lightbox_comments {
    display: none;
}

.gallery_small_card {
    cursor: pointer;
}

.profile_page {
    padding-bottom: 40px;
}

.profile_hero {
    margin-bottom: 24px;
}

.profile_cover {
    border-radius: 28px;
    overflow: hidden;
    min-height: 240px;
    background: #f3f3f3;
    box-shadow: 0 14px 36px rgba(0,0,0,0.08);
}

.profile_cover img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.profile_identity_card {
    margin: -40px auto 0;
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.96);
    border-radius: 24px;
    padding: 20px;
    max-width: 940px;
    box-shadow: 0 18px 46px rgba(0,0,0,0.10);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.profile_identity_main {
    display: flex;
    align-items: center;
    gap: 18px;
}

.profile_avatar {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    background: #fff;
}

.profile_identity_text h1 {
    margin: 0 0 8px;
    font-size: 34px;
}

.profile_status {
    color: #8f4040;
    font-weight: 700;
    margin-bottom: 6px;
}

.profile_joined {
    color: #777;
    font-size: 14px;
}

.profile_layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 24px;
}

.profile_box {
    background: rgba(255,255,255,0.92);
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 22px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.profile_box h2,
.profile_box h3 {
    margin-top: 0;
}

.profile_info_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile_info_list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.profile_stats_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.profile_stat {
    background: #ae4040;
    border-radius: 18px;
    padding: 16px;
    text-align: center;
}

.community-topic-main h3 a {
    font-size: 22px;
}

.update-title-tag img {
    width: 30px;
    height: 30px;
}

.profile_stat strong {
    display: block;
    font-size: 24px;
    margin-bottom: 6px;
    color: #fff;
}

.profile_stat span {
    color: #fff;
    font-size: 14px;
}

.profile_bio_text {
    line-height: 1.9;
    color: #333;
}

.profile_gallery_grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.profile_gallery_card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    cursor: pointer;
}

.profile_gallery_card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.profile_gallery_card_info {
    padding: 12px;
}

.profile_gallery_card_info span {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: #777;
}

.profile_comments_list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.profile_comment_item {
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 18px;
    padding: 14px;
    background: #fff;
}

.profile_comment_meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
}

.profile_comment_body {
    line-height: 1.8;
    color: #333;
}

@media (max-width: 980px) {
    .profile_layout {
        grid-template-columns: 1fr;
    }

    .profile_gallery_grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    .profile_identity_card {
        margin-top: -24px;
    }

    .profile_identity_text h1 {
        font-size: 28px;
    }

    .profile_gallery_grid {
        grid-template-columns: 1fr;
    }
}

.notifications_bell_wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-inline-start: 10px;
}

.notifications_bell_btn {
    position: relative;
    border: none;
    background: rgba(255,255,255,0.12);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

.notifications_bell_btn:hover {
    background: rgba(255,255,255,0.2);
}

.notifications_bell_btn.has-new {
    transform: scale(1.08);
}

.notifications_bell_btn img {
    width: 20px;
    height: 30px;
}

.notifications_badge {
    position: absolute;
    top: -4px;
    left: -4px;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #e53935;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.notifications_dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 360px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-radius: 18px;
    box-shadow: 0 18px 46px rgba(0,0,0,0.14);
    overflow: hidden;
    z-index: 9999;
}

.notifications_dropdown_head {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    background: #fafafa;
}

.notifications_dropdown_body {
    max-height: 420px;
    overflow-y: auto;
}

.notifications_loading,
.notifications_empty {
    padding: 18px;
    color: #666;
    text-align: center;
}

.notifications_list {
    display: flex;
    flex-direction: column;
}

.notification_item {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: 0.2s ease;
}

.notification_item:hover {
    background: #faf7f7;
}

.notification_item.unread {
    background: #fff6f6;
}

.notification_item_avatar img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.notification_item_content {
    min-width: 0;
    flex: 1;
}

.notification_item_text {
    line-height: 1.5;
    color: #222;
    margin-bottom: 4px;
    font-size: 14px;
}

.notification_item_date {
    color: #888;
    font-size: 12px;
}

.notifications_footer {
    padding: 10px 14px;
    border-top: 1px solid rgba(0,0,0,0.05);
    background: #fafafa;
}

.notifications_mark_all_btn {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 10px 12px;
    background: #f3e5e5;
    color: #8f4040;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
}

.notifications_mark_all_btn:hover {
    background: #edd7d7;
}

@media (max-width: 640px) {
    .notifications_dropdown {
        width: 320px;
    }
}

.comments-highlight {
    animation: commentsPulse 2s ease;
}

@keyframes commentsPulse {
    0% {
        box-shadow: 0 0 0 rgba(201, 101, 101, 0);
        background: transparent;
    }
    20% {
        box-shadow: 0 0 0 6px rgba(201, 101, 101, 0.12);
        background: rgba(201, 101, 101, 0.06);
    }
    100% {
        box-shadow: 0 0 0 rgba(201, 101, 101, 0);
        background: transparent;
    }
}

.status-highlight {
    animation: statusPulse 2s ease;
}

@keyframes statusPulse {
    0% {
        box-shadow: 0 0 0 rgba(201, 101, 101, 0);
        transform: scale(1);
    }
    20% {
        box-shadow: 0 0 0 6px rgba(201, 101, 101, 0.12);
        transform: scale(1.01);
    }
    100% {
        box-shadow: 0 0 0 rgba(201, 101, 101, 0);
        transform: scale(1);
    }
}

.gallery_delete_btn,
.comment-delete-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.18);
    color: #ffb3b3;
    padding: 6px 10px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
    transition: 0.2s ease;
}

.gallery_delete_btn:hover,
.comment-delete-btn:hover {
    background: rgba(255, 80, 80, 0.12);
    border-color: rgba(255, 100, 100, 0.4);
}

.comment-deleted-text {
    opacity: 0.7;
    font-style: italic;
}

.status-delete-btn {
    background: #838383;
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    padding: 6px 10px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 13px;
    transition: 0.2s ease;
}

.status-delete-btn:hover {
    background: rgba(175, 175, 175, 0.34);
}

.comment-author-link {
    color: inherit;
    text-decoration: none;
}

.comment-author-link:hover strong {
    text-decoration: underline;
}

.gallery-author-link,
.notification-author-link {
    color: inherit;
    text-decoration: none;
}

.gallery-author-link:hover,
.notification-author-link:hover {
    text-decoration: underline;
}

.gallery_load_more_wrap {
    text-align: center;
    margin-top: 18px;
}

.gallery_load_more_btn {
    background: rgba(159, 39, 39, 0.7);
    border: 1px solid rgba(255,255,255,0.16);
    color: #fff;
    padding: 10px 18px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.2s ease;
}

.gallery_load_more_btn:hover {
    background: rgba(142, 58, 58, 0.45);
}

.set-head {
    background: rgba(159, 39, 39, 0.7);
    border: 1px solid rgba(255,255,255,0.16);
    color: #fff;
    padding: 10px 18px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 20px;
    margin: 20px 0;
}

.set-head:first-child {
    margin-top: 0;
}

.mobile-userbar {
    display: none;
}

.notifications_bell_wrap {
    position: relative;
}

.notifications_dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 9999;
}

.notifications_dropdown.is-open {
    display: block;
}

/* לא לגעת בתפריט עצמו */
.mobile-menu-group {
    overflow: hidden;
}

/* רק ההתראות יקבלו overflow פתוח */
.mobile-userbar .notifications_bell_wrap {
    position: relative;
    overflow: visible;
}

.mobile-userbar .notifications_dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 10060;
}

.mobile-site-menu-sheet .mobile-menu-group {
    overflow: hidden;
}

.mobile-userbar .mobile-menu-group {
    overflow: visible;
}

.mobile-userbar .notifications_bell_wrap {
    position: relative;
}

.mobile-userbar .notifications_dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 10060;
}

.profile-status-feed {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.home-highlights-section {
    margin-top: 30px;
}

.home-highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.home-highlight-box {
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(120, 40, 40, 0.08);
    border-radius: 28px;
    padding: 26px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.08);
    backdrop-filter: blur(8px);
}

.home-highlight-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(120, 40, 40, 0.08);
}

.home-highlight-head h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #a11f1f;
}

.home-highlight-head a {
    font-size: 0.70rem;
    font-weight: 700;
    color: #8f4343;
    text-decoration: none;
    transition: 0.2s ease;
}

.home-highlight-head a:hover {
    color: #c94f4f;
}

.home-song-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.home-song-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(120, 40, 40, 0.08);
    border-radius: 18px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home-song-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}

.home-song-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.home-song-main img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(0,0,0,0.10);
}

.home-song-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 4px;
    min-width: 270px;
}

.home-song-info strong {
    font-size: 1.08rem;
    color: #111;
    line-height: 1.2;
}

.home-song-info strong a {
    color: inherit;
    text-decoration: none;
}

.home-song-info span {
    font-size: 0.95rem;
    color: #666;
}

.home-song-info strong,
.home-song-info span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-song-meta {
    flex-shrink: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #8f4343;
    background: rgba(201, 79, 79, 0.08);
    padding: 9px 12px;
    border-radius: 999px;
}

.home-gallery-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.home-gallery-card {
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(120, 40, 40, 0.08);
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home-gallery-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(0,0,0,0.10);
}

.home-gallery-card img {
    width: 100%;
    height: 185px;
    object-fit: cover;
    display: block;
}

.home-gallery-card-info {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.home-gallery-card-info strong {
    font-size: 1.02rem;
    color: #111;
    line-height: 1.3;
}

.home-gallery-card-info span {
    font-size: 0.92rem;
    color: #777;
}

.home-highlight-empty {
    color: #666;
    font-size: 0.98rem;
}


@media (max-width: 560px) {
    .home-highlights-grid {
        display: flex !important;
        flex-direction: column !important;
    }

    .page-content h2 {
        margin: 0 auto;
        text-align: center;
        margin-bottom: 15px;
    }

    .page-main {
        margin: 0 !important;
    }

    .pallet_music_panel {
        margin: 0 auto;
        height: 83vh !important;
        max-width: 85% !important;
    }

    .pallet_music_playlist_special_btn {
        width: fit-content;
    }

    .home-song-info {
        min-width: auto !important;
    }

    .home-song-info strong, .home-song-info span {
        white-space: wrap !important;
        font-size: 13px !important;
    }

    .home-song-meta {
        font-size: 12px !important;
    }

    .home-song-card > .pallet_music_page_play_button {
        padding: 5px !important;
    }

    .home-song-list {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    .home-song-card {
        flex-direction: column;
        text-align: center;
        max-width: 46%;
        align-items: self-end !important;
    }


    .home-song-main {
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .home-highlight-box {
        padding: 18px;
        border-radius: 22px;
    }

    .home-highlight-head h3 {
        font-size: 1.05rem;
        font-weight: 500;
    }

    .home-gallery-mini-grid {
        grid-template-columns: 1fr;
    }

    .home-song-card {
        align-items: flex-start;
        flex-direction: column;
        text-align: center;
    }

    .home-song-meta {
        align-self: anchor-center;
    }
}

.join-community-box {
    position: sticky;
    top: 100px;

    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(120,40,40,0.08);
    border-radius: 20px;
    padding: 18px;

    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    backdrop-filter: blur(10px);

    margin-top: 20px;
}

.join-community-content h3 {
    margin: 0 0 8px;
    font-size: 1.3rem;
    font-weight: 800;
}

.join-community-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 14px;
}

.join-community-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-primary {
    background: #c94f4f;
    color: #fff;
    border-radius: 999px;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
}

.btn-chat-primary {
    background: #ffffff;
    color: #330303;
    border-radius: 999px;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    display: block;
}

.btn-secondary {
    background: rgba(0,0,0,0.05);
    border-radius: 999px;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    color: #333;
}

.btn-google-login {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 999px;
    padding: 10px;
    cursor: pointer;
}

.join-mini-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 18px 0 10px;
    padding: 10px 14px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(120, 40, 40, 0.08);
    box-shadow: 0 8px 22px rgba(0,0,0,0.04);
    backdrop-filter: blur(6px);
}

.join-mini-strip__text {
    font-size: 0.95rem;
    color: #851010;
    line-height: 1.4;
    text-align: right;
    font-weight: 500;
}

.join-mini-strip__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.join-mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    color: #5f4a4a;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(120, 40, 40, 0.08);
    transition: 0.18s ease;
}

.join-mini-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}

.join-mini-btn--primary {
    background: #cb5a5a;
    color: #fff;
    border-color: transparent;
}

.join-mini-btn--google {
    background: rgba(255,255,255,0.9);
}

@media (max-width: 900px) {
    .join-mini-strip {
        flex-direction: column;
        align-items: stretch;
    }

    .join-mini-strip__text {
        text-align: center;
    }

    .join-mini-strip__actions {
        justify-content: center;
        flex-wrap: wrap;
    }
}

.joinus {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.google-signin-slot {
    display: inline-flex !important;
    width: 40px !important;
    height: 40px !important;
    overflow: hidden !important;
    border-radius: 10px !important; /* פינות מעוגלות עדינות */
    justify-content: center !important;
    align-items: center !important;
    vertical-align: middle;
    margin-top: 3px;
    margin-right: 22px !important; /* המרווח שחיפשת */
    flex-shrink: 0;
}

.google-signin-slot iframe {
    /* נשאר אותו דבר כדי למנוע את חיתוך ה"ירח" */
    min-width: 50px !important;
    min-height: 50px !important;
    position: static !important;
}

.pad-me {
    padding: 8px !important;
}

.gallery_toggle_comments_btn {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 30;

    padding: 10px 16px;
    background: rgba(255,255,255,0.9);
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 700;
}

.pallet_music_title_row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 4px;
}

.pallet_music_favorite_button {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.55);
    border-radius: 12px;
    cursor: pointer;
    transition: 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.pallet_music_favorite_button:hover {
    transform: translateY(-1px) scale(1.03);
    color: #ffd54a;
    background: rgba(255,255,255,0.1);
}

.pallet_music_favorite_button.is-active {
    color: #ffd54a;
    border-color: rgba(255, 213, 74, 0.42);
    background: rgba(255, 213, 74, 0.12);
}

.pallet_music_favorite_button_main {
    margin-top: 2px;
}

.pallet_music_favorite_icon {
    font-size: 18px;
    line-height: 1;
    background: #cc5252;
    padding: 5px;
    border-radius: 100%;
}

.pallet_music_playlist_item {
    position: relative;
    display: block;
    width: 100%;
}

.pallet_music_playlist_star {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    line-height: 1;
    color: rgba(255,255,255,0.18);
    transition: 0.2s ease;
    pointer-events: auto;
}

.pallet_music_playlist_star:hover {
    color: #ffd54a;
    transform: translateY(-50%) scale(1.08);
}

.pallet_music_playlist_star.is-active {
    color: #ffd54a;
}

.pallet_music_search_wrap {
    position: relative;
    margin-bottom: 14px;
}

.pallet_music_search_input {
    width: 100%;
    height: 44px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.72);
    color: #7b3f42;
    border-radius: 14px;
    padding: 0 16px;
    font-size: 14px;
    outline: none;
    transition: 0.2s ease;
    box-sizing: border-box;
}

.pallet_music_search_input:focus {
    border-color: rgba(215, 120, 120, 0.48);
    background: rgba(255,255,255,0.92);
    box-shadow: 0 8px 20px rgba(180, 90, 90, 0.10);
}

.pallet_music_search_input::placeholder {
    color: rgba(123, 63, 66, 0.58);
}

.pallet_music_search_results {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(215, 120, 120, 0.18);
    border-radius: 16px;
    box-shadow: 0 16px 35px rgba(0,0,0,0.10);
    padding: 8px;
    z-index: 50;
    max-height: 280px;
    overflow-y: auto;
}

.pallet_music_search_result {
    width: 100%;
    border: none;
    background: transparent;
    text-align: right;
    padding: 12px 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.18s ease;
    display: block;
}

.pallet_music_search_result:hover {
    background: rgba(215, 120, 120, 0.10);
}

.pallet_music_search_result_title {
    font-weight: 700;
    color: #8f3f43;
    font-size: 15px;
    margin-bottom: 3px;
}

.pallet_music_search_result_source {
    font-size: 13px;
    color: rgba(123, 63, 66, 0.72);
}

.pallet_music_search_empty {
    padding: 14px;
    text-align: center;
    color: rgba(123, 63, 66, 0.72);
    font-size: 14px;
}

.pallet_music_playlist_tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.pallet_music_playlist_tab {
    border: 1px solid rgba(215, 120, 120, 0.16);
    background: rgba(255,255,255,0.55);
    color: #9a5659;
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.pallet_music_playlist_tab:hover {
    background: rgba(255,255,255,0.85);
    color: #8f3f43;
}

.pallet_music_playlist_tab.is-active {
    background: linear-gradient(180deg, #d98e8e 0%, #c17373 100%);
    color: #fff;
    border-color: rgba(193, 115, 115, 0.6);
    box-shadow: 0 10px 22px rgba(193, 115, 115, 0.18);
}

.pallet_music_playlist_empty {
    padding: 18px 14px;
    text-align: center;
    color: rgba(123, 63, 66, 0.72);
    font-size: 14px;
    background: rgba(255,255,255,0.45);
    border-radius: 16px;
}

.pallet_music_playlist_tabs_wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pallet_music_playlist_tabs {
    display: flex;
    gap: 8px;
    flex: 1 1 100%;
}

.pallet_music_playlist_tab {
    flex: 1 1 0;
    text-align: center;
    justify-content: center;
}

.pallet_music_playlist_special_btn {
    border: 1px solid rgba(215, 120, 120, 0.18);
    background: rgba(255,255,255,0.62);
    color: #9a5659;
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
    white-space: nowrap;
    flex: 0 0 auto;
}

.pallet_music_playlist_special_btn:hover {
    background: rgba(255,255,255,0.88);
    color: #8f3f43;
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .pallet_music_playlist_tabs {
        width: 100%;
    }

    .pallet_music_playlist_special_btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

.pallet_music_playlist_quick_tools {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.pallet_music_playlist_quick_tools .pallet_music_search_input {
    flex: 1;
}

.pallet_music_user_playlists_bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.pallet_music_user_playlist_chip {
    border: 1px solid rgba(215, 120, 120, 0.16);
    background: rgba(255,255,255,0.58);
    color: #9a5659;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.pallet_music_user_playlist_chip.is-active {
    background: linear-gradient(180deg, #d98e8e 0%, #c17373 100%);
    color: #fff;
}

.pallet_music_playlist_add {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    line-height: 1;
    color: rgba(123,63,66,0.42);
    transition: 0.2s ease;
}

.pallet_music_playlist_add:hover {
    color: #8f3f43;
    transform: translateY(-50%) scale(1.08);
}

.pallet_music_actions_row {
    margin-bottom: 12px;
}

.pallet_music_playlist_special_btn_full {
    width: 100%;
    text-align: center;
    justify-content: center;
    margin-top: 5px;
}

.page-main {
    margin-top: 30px;
}

figcaption {
    text-align: center;
    font-size: 14px;
    color: #c85454;
}

.wrap-page-type-a {
    background: rgba(255, 255, 255, 0) !important;
    padding: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
}

.wrap-page-type-a div {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: right;
    justify-content: right;
    gap: 10px;
}

.wrap-page-type-a {
    min-width:
}

.page-line {
    width: 100%;
    background: #c85454;
    padding: 15px;
    border-radius: 15px;
    color: white !important;
    font-weight: 500 !important;
    display: flex !important;
    justify-content: right !important;
}

.page-line-muted {
    background: #a89696 !important;
    color: white !important;
}

.wrap-page-type-a img {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 560px) {

    .wrap-page-type-a {
        flex-direction: column !important;
    }

    .page-line {
        padding: 15px;
    }

    .page-content h3 {
        text-align: center !important;
    }

}

.maple-live-subtitle {
    margin: 6px 0 0;
    color: #7a6a6a;
}

.maple-live-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: .04em;
    font-size: .9rem;
    border: 1px solid rgba(0,0,0,.08);
    background: rgba(255,255,255,.8);
}

.maple-live-status-w {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: 4px 7px;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: .04em;
    font-size: .9rem;
    border: 1px solid rgba(0,0,0,.08);
    background: rgba(255,255,255,.8);
}

.maple-live-status.is-live {
    color: #0e7a34;
    background: rgba(45, 204, 112, .14);
    border-color: rgba(45, 204, 112, .28);
}

.maple-live-status.is-closed {
    color: #9a3030;
    background: rgba(220, 80, 80, .12);
    border-color: rgba(220, 80, 80, .22);
}

.maple-live-status.is-live-w {
    color: #0e7a34;
    background: rgba(45, 204, 112, .14);
    border-color: rgba(45, 204, 112, .28);
}

.maple-live-status.is-closed-w {
    color: #9a3030;
    background: rgba(220, 80, 80, .12);
    border-color: rgba(220, 80, 80, .22);
}

.maple-live-shell,
.maple-live-widget {
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(255,255,255,.45);
    box-shadow: 0 18px 50px rgba(0,0,0,.08);
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.maple-live-widget {
    background: url(../images/chat-bg.jpg);
    background-size: cover;
    border: 1px solid rgba(255,255,255,.45);
    box-shadow: 0 18px 50px rgba(0,0,0,.08);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    color: #6a2929;
    height: -webkit-fill-available;
}

.maple-live-widget p {
    color: white;
    font-weight: 700;
}

.maple-tree-bg {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.maple-live-shell {
    padding: 20px;
}

.maple-live-info-box {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,.65);
    color: #6a5555;
    font-weight: 500;
}

.maple-live-messages {
    height: 480px;
    overflow-y: auto;
    padding: 12px;
    border-radius: 18px;
    background: url(../images/chat-bg.jpg);
    border: 1px solid rgba(255, 255, 255, 0.93);
    box-shadow: rgba(0, 0, 0, 0.12) 0px 12px 30px;
}

.maple-live-message {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(99, 23, 23, 0.59);
    margin-bottom: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.04);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
}

.maple-live-message-system {
    background: rgba(255, 255, 255, 0.38);
}

.maple-live-message-avatar img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.46);
}

.maple-live-message-body {
    flex: 1;
    min-width: 0;
}

.maple-live-message-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.maple-live-message-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.maple-live-message-name {
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
}

.maple-live-message-time {
    color: #f6e9e9;
    font-size: .88rem;
}

.maple-live-message-text {
    color: #ffffff;
    line-height: 1.7;
    word-break: break-word;
}

.maple-live-delete-btn {
    border: 0;
    background: transparent;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.maple-live-form {
    margin-top: 16px;
}

.maple-live-form textarea {
    width: 100%;
    min-height: 110px;
    resize: vertical;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.24);
    padding: 14px;
    font-family: inherit;
    font-size: 1rem;
    background: rgba(255,255,255,.96);
}

.maple-live-form-bottom {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.maple-live-form-hint {
    color: #a13d3d;
    font-size: .9rem;
}

.maple-live-guest-box {
    margin-top: 16px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,.7);
}

.maple-live-guest-actions,
.maple-live-widget-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.maple-live-widget {
    padding: 18px;
}

.maple-live-widget-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 170px;
}

.maple-live-widget-item {
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.13);
}

.maple-live-widget-item-name {
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.maple-live-widget-item-text {
    color: rgba(255, 255, 255, 0.73);
    line-height: 1.6;
}

.maple-live-widget-footer {
    margin-top: 14px;
    padding-top: 14px;
}

.maple-live-widget-guest-text {
    color: #ffffff;
    margin-bottom: 10px;
}

.maple-live-empty,
.maple-live-loading,
.maple-live-widget-empty {
    padding: 18px;
    text-align: center;
    color: #fff;
}

.maple-live-admin-box {
    margin-bottom: 16px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(205, 205, 205, 0.68);
}

.maple-live-admin-title {
    font-weight: 800;
    margin-bottom: 10px;
    color: #781b1b;
}

.maple-live-system-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.maple-live-system-form input {
    flex: 1;
    min-width: 240px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,.08);
    padding: 12px 14px;
    font-family: inherit;
    font-size: .98rem;
    background: rgba(255,255,255,.96);
}

.maple-live-input-wrap {
    position: relative;
}

.maple-live-emoji-toggle {
    position: absolute;
    left: 12px;
    bottom: 12px;
    width: 62px;
    height: 62px;
    border: 0;
    border-radius: 12px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    cursor: pointer;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.maple-live-form textarea {
    padding-left: 62px;
}

.maple-live-emoji-picker {
    position: absolute;
    bottom: 62px;
    left: 0;
    z-index: 30;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 300px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(0,0,0,.07);
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.maple-live-emoji-choice {
    width: 77px;
    height: 77px;
    border: 0;
    border-radius: 12px;
    background: rgba(247,244,244,.95);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .15s ease, background .15s ease;
}

.maple-live-emoji-choice:hover {
    transform: scale(1.06);
    background: rgba(240,235,235,.95);
}

.maple-live-emoji-choice img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    pointer-events: none;
}

.maple-live-emoji {
    width: 65px;
    height: 65px;
    object-fit: contain;
    vertical-align: middle;
    margin: 0 2px;
    background: #eee;
    border-radius: 100%;
}

.maple-live-presence-line {
    margin: 8px 0 0;
    color: #332b2b;
}

.maple-live-status-box {
    margin-top: 16px;
    margin-bottom: 16px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(230, 230, 230, 0.72);
}

.maple-live-status-box-title {
    font-weight: 800;
    margin-bottom: 10px;
    color: #483939;
}

.maple-live-status-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.maple-live-status-form input {
    flex: 1;
    min-width: 240px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,.08);
    padding: 12px 14px;
    font-family: inherit;
    font-size: .98rem;
    background: rgba(255,255,255,.96);
}

.maple-live-message-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    flex-wrap: nowrap;
}

.maple-live-message-meta > * {
    max-width: 100%;
}

.maple-live-message-meta-top {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.maple-live-message-status {
    color: #f8b8b8;
    font-size: .9rem;
    font-style: italic;
    line-height: 1.4;
}

.head-flex {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.maple-live,
.side-news {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.maple-live {
    width: 100%;
}

.top-card {
    background: var(--white);
    border: 1px solid rgba(255,255,255,.7);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    margin: 0;
    line-height: 1.12;
    letter-spacing: -0.02em;
    border-radius: 24px;
    overflow: hidden;
    padding: 14px;
}

.top-card img {
    border-radius: 18px;
    height: 128px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 14px;
}

@media (max-width: 560px) {
    .head-flex {
        flex-direction: column;
    }
}

.chat_notice_banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    max-width: 1100px;
    margin: 40px auto auto auto;
    padding: 16px 20px;
    border-radius: 50px;
    background: linear-gradient(135deg, #af5454, #cf6464);
    border: 2px solid rgba(255, 255, 255, 0.63);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    direction: rtl;
    position: relative;
    overflow: hidden;
    animation: bannerPulse 2.5s infinite;
}

.chat_notice_banner::before {
    content: "";
    position: absolute;
    top: 0;
    right: -60px;
    width: 180px;
    height: 100%;
    background: linear-gradient(
            120deg,
            rgba(255,255,255,0) 0%,
            rgba(255,255,255,0.28) 50%,
            rgba(255,255,255,0) 100%
    );
    transform: skewX(-20deg);
    animation: chatBannerShine 4.5s linear infinite;
    pointer-events: none;
}

.chat_notice_live {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 700;
    color: #c24e00;
    background: rgba(255,255,255,0.7);
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(184, 71, 71, 0.2);
    position: relative;
    z-index: 1;
}

.chat_notice_dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff4d4d;
    position: relative;
    flex-shrink: 0;
}

.chat_notice_dot::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 77, 77, 0.45);
    transform: translate(50%, -50%);
    animation: chatPulse 1.6s infinite;
}

.chat_notice_content {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.chat_notice_title {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
    line-height: 1.2;
}

.chat_notice_text {
    font-size: 14px;
    color: #fff;
    line-height: 1.5;
}

.chat_notice_button {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 50px;
    background: linear-gradient(135deg, #e1e1e1, #ffffff);
    color: #c84f4f;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 6px 18px rgba(255, 0, 0, 0.22);
    position: relative;
    z-index: 1;
}

.chat_notice_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 0, 0, 0.28);
}

@keyframes chatPulse {
    0% {
        transform: translate(50%, -50%) scale(1);
        opacity: 0.7;
    }
    70% {
        transform: translate(50%, -50%) scale(2.8);
        opacity: 0;
    }
    100% {
        transform: translate(50%, -50%) scale(2.8);
        opacity: 0;
    }
}

@keyframes chatBannerShine {
    0% {
        right: -200px;
    }
    100% {
        right: 120%;
    }
}

@media (max-width: 768px) {
    .chat_notice_banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 16px;
        max-width: 94%;
        border-radius: 25px;
    }

    .chat_notice_live {
        align-self: center;
    }

    .chat_notice_title {
        font-size: 18px;
    }

    .chat_notice_button {
        width: 100%;
    }
}

@keyframes bannerPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.35);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(255, 120, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 120, 0, 0);
    }
}

.comment-guest-note {
    margin-top: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.mega-menu-groups {
    display: grid;
    gap: 12px;
}

.mega-menu-group {
    background: rgba(255,255,255,.34);
    border: 1px solid rgba(255,255,255,.48);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 22px rgba(141, 57, 57, 0.06);
    min-width: 100%;
}

.mega-menu-group-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    border: 0;
    background: transparent;
    color: var(--primary-dark);
    font: inherit;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    text-align: right;
}

.mega-menu-group-arrow {
    font-size: 13px;
    transition: transform .22s ease;
}

.mega-menu-group-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 16px 16px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .26s ease, opacity .22s ease, padding .22s ease;
}

.mega-menu-group.is-open .mega-menu-group-links {
    max-height: 220px;
    opacity: 1;
    padding: 0 16px 16px;
}

.mega-menu-group.is-open .mega-menu-group-arrow {
    transform: rotate(180deg);
}

.mega-menu-group-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.62);
    border: 1px solid rgba(255,255,255,.7);
    box-shadow: 0 10px 20px rgba(141, 57, 57, 0.08);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: .92rem;
}

.mobile-submenu-group {
    margin: 6px 0;
}

.mobile-submenu-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border: 0;
    border-radius: 16px;
    background: rgba(255,255,255,0.5);
    color: #5f2222;
    font: inherit;
    font-weight: 700;
    text-align: right;
    cursor: pointer;
}

.mobile-submenu-links {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-4px);
    padding: 0 8px;
    transition: all .26s ease;
}

.mobile-submenu-group.is-open .mobile-submenu-links {
    max-height: 700px;
    opacity: 1;
    transform: translateY(0);
    padding-top: 8px;
    padding-bottom: 4px;
}

.mobile-submenu-links a {
    display: block;
    margin: 5px 0;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.76);
    border: 1px solid rgba(255,255,255,0.72);
    color: #5f2222;
    font-weight: 600;
}

.mobile-submenu-group.is-open > .mobile-submenu-toggle .mobile-menu-arrow {
    transform: rotate(180deg);
}

.pallet_music_top {
    position: relative;
}

.pallet_music_close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.18);
    color: #fff;
    font-size: 18px;
    line-height: 34px;
    text-align: center;
    cursor: pointer;
    z-index: 5;
}

.pallet_music_close:active {
    transform: scale(0.96);
}

.monsters-page-shell {
    max-width: 1100px;
    margin: 0 auto;
}

.monsters-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.monster-card {
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255,255,255,0.9);
}

.monster-card-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
            radial-gradient(circle at top, rgba(255,255,255,0.95), rgba(255,255,255,0.72)),
            linear-gradient(180deg, rgba(255,255,255,0.92), rgba(236,236,236,0.7));
    min-height: 220px;
    padding: 18px;
}

.monster-card-image {
    width: auto;
    max-width: 100%;
    max-height: 170px;
    object-fit: contain;
}

.monster-card-content {
    padding: 18px;
}

.monster-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.monster-level-badge {
    background: rgba(154, 22, 22, 0.10);
    color: #9a1616;
}

.monster-boss-badge {
    background: rgba(0,0,0,0.08);
    color: #2f2f2f;
}

.monster-type-badge {
    background: rgba(78, 113, 173, 0.10);
    color: #39598e;
}

.monster-card-title {
    margin-bottom: 10px;
}

.monster-card-submeta {
    color: #777;
    margin-bottom: 10px;
}

.monster-card-summary {
    min-height: 72px;
}

.monster-checkbox-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 8px;
    font-size: 0.95rem;
    color: #444;
}

.monster-single-shell {
    max-width: 1100px;
    margin: 30px auto 0;
}

.monster-single-card {
    padding: 28px;
}

.monster-single-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.monster-single-media {
    background:
            radial-gradient(circle at top, rgba(255,255,255,0.95), rgba(255,255,255,0.74)),
            linear-gradient(180deg, rgba(255,255,255,0.92), rgba(236,236,236,0.7));
    border-radius: 26px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.68);
    box-shadow: 0 16px 40px rgba(161, 161, 161, 0.1);
}

.monster-single-image {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
    margin: 0 auto;
}

.monster-single-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.monster-single-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.monster-info-box {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(0,0,0,0.06);
}

.monster-content-block {
    background: rgba(255,255,255,0.68);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 22px;
    padding: 18px;
    margin-bottom: 16px;
}

.monster-content-block h3 {
    margin: 0 0 10px;
    color: #9a1616;
}

.monster-rich-text {
    line-height: 1.9;
    color: #444;
    font-size: 1rem;
}

@media (max-width: 980px) {
    .monsters-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .monster-single-layout {
        grid-template-columns: 1fr;
    }

    .monster-single-media {
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .monsters-grid {
        grid-template-columns: 1fr;
    }

    .monster-single-card {
        padding: 18px;
    }

    .monster-single-info {
        flex-direction: column;
    }
}

.monsters-page-shell {
    max-width: 1100px;
    margin: 0 auto;
}

.monsters-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.monster-card {
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255,255,255,0.9);
}

.monster-card-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
            radial-gradient(circle at top, rgba(255,255,255,0.95), rgba(255,255,255,0.72)),
            linear-gradient(180deg, rgba(255,255,255,0.92), rgba(236,236,236,0.7));
    min-height: 220px;
    padding: 18px;
}

.monster-card-image {
    width: auto;
    max-width: 100%;
    max-height: 170px;
    object-fit: contain;
}

.monster-card-content {
    padding: 18px;
}

.monster-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.monster-level-badge {
    background: rgba(154, 22, 22, 0.10);
    color: #9a1616;
}

.monster-boss-badge {
    background: rgba(0,0,0,0.08);
    color: #2f2f2f;
}

.monster-type-badge {
    background: rgba(78, 113, 173, 0.10);
    color: #39598e;
}

.monster-undead-badge {
    background: rgba(98, 68, 140, 0.12);
    color: #5a3c86;
}

.monster-mini-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0 12px;
    color: #555;
    font-size: 0.95rem;
}

.monster-card-submeta {
    color: #777;
    margin-bottom: 10px;
}

.monster-single-shell {
    max-width: 1150px;
    margin: 30px auto 0;
}

.monster-single-card {
    padding: 28px;
}

.monster-single-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.monster-single-media {
    background:
            radial-gradient(circle at top, rgba(255,255,255,0.95), rgba(255,255,255,0.74)),
            linear-gradient(180deg, rgba(255,255,255,0.92), rgba(236,236,236,0.7));
    border-radius: 26px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.68);
    box-shadow: 0 16px 40px rgba(161, 161, 161, 0.1);
}

.monster-single-image {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
    margin: 0 auto;
}

.monster-single-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.monster-single-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.monster-info-box {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(0,0,0,0.06);
}

.monster-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.monster-stat-card {
    background: rgba(255,255,255,0.68);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 18px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.monster-stat-card strong {
    font-size: 1.1rem;
    color: #9a1616;
}

.monster-stat-label {
    color: #666;
    font-size: 0.92rem;
}

.monster-content-block {
    background: rgba(255,255,255,0.68);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 22px;
    padding: 18px;
    margin-bottom: 16px;
}

.monster-content-block h3 {
    margin: 0 0 10px;
    color: #9a1616;
}

.monster-rich-text {
    line-height: 1.9;
    color: #444;
    font-size: 1rem;
}

.monster-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.monster-tag-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(154, 22, 22, 0.08);
    color: #8d1a1a;
    font-size: 0.92rem;
}

@media (max-width: 980px) {
    .monsters-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .monster-single-layout {
        grid-template-columns: 1fr;
    }

    .monster-single-media {
        max-width: 420px;
        margin: 0 auto;
    }

    .monster-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .monsters-grid {
        grid-template-columns: 1fr;
    }

    .monster-single-card {
        padding: 18px;
    }

    .monster-single-info {
        flex-direction: column;
    }

    .monster-stats-grid {
        grid-template-columns: 1fr;
    }
}

.map-page-image-wrap {
    margin: 20px 0 28px;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.7);
}

.map-page-image {
    width: 100%;
    display: block;
    height: auto;
}

.map-stats {
    display: flex;
    gap: 14px;
    margin: 24px 0;
    flex-wrap: wrap;
}

.map-stat {
    background: linear-gradient(145deg, #1e1e1e, #161616);
    border: 1px solid #2a2a2a;
    border-radius: 14px;
    padding: 14px 18px;
    min-width: 120px;
    transition: 0.2s ease;
    position: relative;
    overflow: hidden;
}

.map-stat:hover {
    transform: translateY(-3px);
    border-color: #3a3a3a;
}

/* טקסט קטן */
.map-stat span {
    font-size: 12px;
    color: #888;
    display: block;
    margin-bottom: 4px;
}

/* מספר גדול */
.map-stat strong {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

/* צבעים לפי סוג */
.map-stat.level-range strong {
    color: #4fd1c5; /* טורקיז */
}

.map-stat.avg-level strong {
    color: #f6ad55; /* כתום */
}

.monsters-filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.monsters-filters-row input,
.monsters-filters-row .articles-select {
    min-width: 120px;
}

.monster-checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.monster-quick-filters {
    margin-top: 10px;
    display: flex;
    gap: 8px;
}

.monster-quick-filters button {
    background: #2a2a2a;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
}

.monster-quick-filters button:hover {
    background: #444;
}

.monster-filters-form {
    margin-top: 14px;
}

.monsters-filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.monsters-filters-row input,
.monsters-filters-row .articles-select {
    min-width: 120px;
}

.monster-sort-select {
    min-width: 180px;
}

.monster-toggle-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.monster-toggle-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(0,0,0,0.07);
    color: #444;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s ease;
    font-size: 0.95rem;
}

.monster-toggle-chip:hover {
    transform: translateY(-1px);
    background: rgba(255,255,255,0.9);
}

.monster-toggle-chip.active {
    background: rgba(154, 22, 22, 0.12);
    color: #9a1616;
    border-color: rgba(154, 22, 22, 0.2);
}

.monster-checkbox-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.monster-checkbox-wrap input[type="checkbox"] {
    margin: 0;
}

.monster-quick-filters {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.monster-quick-filters button {
    background: rgba(255,255,255,0.75);
    color: #333;
    border: 1px solid rgba(0,0,0,0.06);
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.92rem;
    transition: 0.2s ease;
}

.monster-quick-filters button:hover {
    background: rgba(255,255,255,0.95);
    transform: translateY(-1px);
}

.monster-active-filters-note {
    margin-top: 8px;
    color: #8b4c4c;
    font-size: 0.92rem;
}

.monster-recommend-box {
    margin: 22px 0 26px;
    padding: 22px;
    border-radius: 28px;
}

.monster-recommend-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.monster-recommend-card {
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 22px;
    overflow: hidden;
    transition: 0.2s ease;
}

.monster-recommend-card:hover {
    transform: translateY(-2px);
}

.monster-recommend-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    padding: 16px;
    background:
            radial-gradient(circle at top, rgba(255,255,255,0.95), rgba(255,255,255,0.72)),
            linear-gradient(180deg, rgba(255,255,255,0.92), rgba(236,236,236,0.7));
}

.monster-recommend-image {
    max-width: 100%;
    max-height: 110px;
    object-fit: contain;
}

.monster-recommend-content {
    padding: 14px;
}

.monster-recommend-content h3 {
    margin: 0 0 10px;
    font-size: 1rem;
}

.monster-recommend-content h3 a {
    color: #2f2f2f;
    text-decoration: none;
}

.monster-recommend-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #5c5c5c;
    font-size: 0.92rem;
    margin-bottom: 12px;
}

.monster-card.recommended {
    border: 1px solid rgba(79, 209, 197, 0.45);
    box-shadow: 0 0 0 3px rgba(79, 209, 197, 0.08);
}

@media (max-width: 980px) {
    .monster-recommend-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .monster-recommend-grid {
        grid-template-columns: 1fr;
    }
}

.train-filter-box {
    margin: 18px 0 26px;
}

.train-filter-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.train-filter-row label {
    font-weight: 700;
}

.train-level-input {
    width: 120px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.04);
    color: #fff;
}

.train-submit-btn {
    border: 0;
    cursor: pointer;
}

.train-grid .monster-mini-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 12px 0 14px;
    font-size: 13px;
    opacity: 0.9;
}

.train-grid .monster-mini-stats span {
    background: rgba(255,255,255,0.05);
    padding: 6px 10px;
    border-radius: 999px;
}

.items-filter-box {
    margin: 18px 0 22px;
}

.items-filter-row {
    display: flex;
    gap: 14px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.items-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.items-field label {
    font-size: 14px;
    font-weight: 700;
}

.items-input,
.items-select {
    min-width: 180px;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    color: inherit;
}

.items-submit-btn {
    border: 0;
    cursor: pointer;
}

.items-results-bar {
    margin: 10px 0 22px;
    font-size: 14px;
    opacity: 0.85;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.item-card {
    border-radius: 24px;
    overflow: hidden;
    padding: 0;
}

.item-card-inner {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px;
}

.item-card-icon-link {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
}

.item-card-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    image-rendering: pixelated;
}

.item-card-body {
    flex: 1;
    min-width: 0;
}

.item-card-top {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.item-type-badge,
.item-level-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.item-type-default {
    background: rgba(255,255,255,0.08);
    color: inherit;
}

.item-type-use {
    background: rgba(210, 60, 60, 0.14);
    color: #c74848;
}

.item-type-equip {
    background: rgba(80, 110, 255, 0.14);
    color: #4d67d9;
}

.item-type-etc {
    background: rgba(120, 110, 80, 0.14);
    color: #8a7342;
}

.item-type-cash {
    background: rgba(225, 170, 35, 0.16);
    color: #b78512;
}

.item-level-badge {
    background: rgba(255,255,255,0.06);
}

.item-card-title {
    font-size: 27px;
    line-height: 1.2;
    margin: 0 0 8px;
    word-break: break-word;
}

.item-subtype {
    font-size: 15px;
    opacity: 0.8;
    margin-bottom: 8px;
}

.item-description {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.78;
    margin-bottom: 12px;
}

.item-readmore {
    display: inline-flex;
    align-items: center;
}

@media (max-width: 640px) {
    .item-card-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .item-card-top {
        justify-content: center;
    }
}