@charset "utf-8";

.zzan-widget-container {
    --zzan-w-neon: var(--zzan-neon, #E6FF00);
    --zzan-w-bg: var(--zzan-bg, #131314);
    --zzan-w-text: var(--zzan-text, #ffffff);
    --zzan-w-border: var(--zzan-border, rgba(255,255,255,0.05));
    --zzan-w-gray: var(--zzan-gray-text, #888888);
    
    --zzan-w-card-bg: rgba(255, 255, 255, 0.03);
    --zzan-w-card-hover-bg: rgba(255, 255, 255, 0.06);
    --zzan-w-shadow: 0 10px 30px rgba(0,0,0,0.2);
    
    width: 100%;
    color: var(--zzan-w-text);
    font-family: 'Montserrat', 'Pretendard', sans-serif;
    letter-spacing: -0.02em;
    box-sizing: border-box;
}

.zzan-widget-container a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
.zzan-widget-container a:hover { color: var(--zzan-w-neon); }

html[data-theme="dark"] .zzan-widget-container {
    --zzan-w-bg: var(--zzan-bg, #131314);
    --zzan-w-text: var(--zzan-text, #ffffff);
    --zzan-w-border: var(--zzan-border, rgba(255,255,255,0.05));
    --zzan-w-gray: var(--zzan-gray-text, #888888);
    --zzan-w-card-bg: rgba(255, 255, 255, 0.03);
    --zzan-w-card-hover-bg: rgba(255, 255, 255, 0.06);
}

html[data-theme="light"] .zzan-widget-container {
    --zzan-w-bg: var(--zzan-bg, #ffffff);
    --zzan-w-text: var(--zzan-text, #1a1a1b);
    --zzan-w-border: var(--zzan-border, rgba(0,0,0,0.08));
    --zzan-w-gray: var(--zzan-gray-text, #666666);
    --zzan-w-card-bg: rgba(0, 0, 0, 0.02);
    --zzan-w-card-hover-bg: rgba(0, 0, 0, 0.04);
    --zzan-w-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
html[data-theme="light"] .zzan-list-normal { border-top-color: rgba(0,0,0,0.1) !important; }
html[data-theme="light"] .zzan-list-normal li { border-bottom-color: rgba(0,0,0,0.1) !important; }

.zzan-b-group { display: flex; gap: 5px; margin-bottom: 10px; }
.zzan-b-cat {
    display: inline-flex; align-items: center;
    background-color: var(--zzan-w-neon); color: #000 !important;
    font-weight: 800; font-size: 10px; text-transform: uppercase;
    padding: 2px 10px; border-radius: 50px; white-space: nowrap;
}
.zzan-b-br {
    display: inline-flex; align-items: center;
    background-color: #000; color: #fff !important;
    font-weight: 700; font-size: 10px; text-transform: uppercase;
    padding: 2px 10px; border-radius: 50px; white-space: nowrap;
}

.zzan-list-normal { list-style: none !important; padding: 0; margin: 0; border-top: 1px solid var(--zzan-w-border) !important; }
.zzan-ws-container .zzan-list-normal { border-top: none !important; margin-top: -26px; }
.zzan-list-normal li { border-bottom: 1px solid var(--zzan-w-border) !important; transition: all 0.2s; }
.zzan-list-normal li:hover { background: var(--zzan-w-card-hover-bg); }
.zzan-item-link { display: flex; justify-content: space-between; align-items: center; padding: 15px 10px; gap: 20px; }

.zzan-t-area { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.zzan-t-text { 
    font-weight: 600; font-size: 1rem; color: var(--zzan-w-text); 
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; 
}
.zzan-new { 
    display: inline-flex; align-items: center; justify-content: center;
    width: 16px; height: 16px; border-radius: 50%;
    background-color: var(--zzan-w-neon); color: #000 !important;
    font-family: 'Montserrat', sans-serif; font-size: 9px; font-weight: 900; 
    margin-left: 5px; vertical-align: middle; line-height: 1;
}
.zzan-comment-count {
    font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700;
    color: var(--zzan-w-neon); margin-left: 5px;
}

.zzan-list-normal .zzan-info { font-size: 12px; color: var(--zzan-w-gray); white-space: nowrap; }


.zzan-grid { display: grid; gap: 25px; }


.zzan-webzine-item:hover { background-color: var(--zzan-w-card-hover-bg); }
.zzan-webzine-item .zzan-card:hover { transform: none; }

.zzan-list-hybrid { list-style: none !important; padding: 0; margin: 0; border-top: 1px solid var(--zzan-w-border) !important; }
.zzan-hybrid-li { border-bottom: 1px solid var(--zzan-w-border) !important; transition: background-color 0.3s ease; position: relative; width: 100%; display: block; clear: both; overflow: hidden; }
.zzan-hybrid-li:hover { background-color: var(--zzan-w-card-hover-bg); }
.zzan-hybrid-li:last-child { border-bottom: none !important; }

html[data-theme="dark"] .zzan-widget-container .zzan-list-hybrid { border-top: 1px solid rgba(255, 255, 255, 0.12) !important; }
html[data-theme="dark"] .zzan-widget-container .zzan-hybrid-li { border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important; }
html[data-theme="light"] .zzan-widget-container .zzan-list-hybrid { border-top: 1px solid rgba(0, 0, 0, 0.1) !important; }
html[data-theme="light"] .zzan-widget-container .zzan-hybrid-li { border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important; }

.zzan-widget-container .zzan-hybrid-li:last-child { border-bottom: none !important; }

.zzan-hybrid-list-wrap { margin-top: 15px; }

.zzan-card {
    background-color: var(--zzan-w-card-bg);
    border: 1px solid var(--zzan-w-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    box-shadow: var(--zzan-w-shadow);
}
.zzan-card:hover {
    background-color: var(--zzan-w-card-hover-bg);
    transform: translateY(-8px);
    border-color: rgba(var(--zzan-neon-rgb), 0.3);
}

.zzan-thumb-wrap { width: 100%; position: relative; overflow: hidden; background: #000; }
.zzan-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1); opacity: 0.85; }
.zzan-card:hover .zzan-thumb-wrap img { transform: scale(1.1) rotate(1deg); opacity: 1; }


.zzan-no-image {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: #252526 !important; 
    color: #888; opacity: 0.8; transition: all 0.4s ease; gap: 10px;
}
.zzan-no-image svg { width: 40px; height: 40px; stroke-width: 1; opacity: 0.4; }
.zzan-no-image span { font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.zzan-card:hover .zzan-no-image { opacity: 0.8; background: var(--zzan-w-card-hover-bg); }
.zzan-card:hover .zzan-no-image svg { transform: scale(1.1); color: var(--zzan-w-neon); opacity: 1; }

.zzan-meta-wrap { padding: 22px; }
.zzan-title { font-weight: 700; font-size: 1.1rem; line-height: 1.4; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.zzan-summary { font-size: 0.95rem; line-height: 1.6; color: var(--zzan-w-text); opacity: 0.65; margin-bottom: 1.5rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.zzan-info { display: flex; align-items: center; gap: 15px; font-size: 13px; font-weight: 600; color: var(--zzan-w-gray); }
.zzan-info span { display: flex; align-items: center; gap: 5px; }
.zzan-info .zzan-nick { color: var(--zzan-w-text); opacity: 0.8; display: flex; align-items: center; gap: 8px; }
.zzan-info .zzan-date { font-weight: 500; opacity: 0.6; }

.zzan-u-prof {
    width: 24px; height: 24px; border-radius: 50%; overflow: hidden;
    background: var(--zzan-w-card-bg); border: 1px solid var(--zzan-w-border);
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.zzan-u-prof img { width: 100%; height: 100%; object-fit: cover; }
.zzan-u-prof svg { width: 14px; height: 14px; color: var(--zzan-w-gray); opacity: 0.5; }


.zzan-story-grid-wrap { position: relative; padding: 20px 0; }
.zzan-story-grid { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 30px; 
    margin: 0 auto; 
    max-width: 1200px;
}

.zzan-story-item { 
    text-align: center; 
    flex: 1 1 120px; 
    max-width: 180px;
    min-width: 100px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.zzan-story-item:hover { transform: translateY(-10px); }

.zzan-story-thumb-container { 
    position: relative; 
    width: 100%; 
    aspect-ratio: 1/1;
    margin: 0 auto 15px auto; 
    max-width: 150px;
    cursor: pointer;
}

.zzan-story-thumb { 
    width: 100%; 
    height: 100%; 
    border-radius: 50%; 
    position: relative; 
    padding: 5px; 
    z-index: 1; 
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.zzan-story-thumb::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%; padding: 3px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    animation: z-rotate 4s linear infinite; 
    opacity: 0.8;
    transition: all 0.3s ease;
}

@keyframes z-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.zzan-story-item:hover .zzan-story-thumb { transform: scale(1.1); }
.zzan-story-item:hover .zzan-story-thumb::before { 
    animation: z-rotate 1.5s linear infinite; 
    opacity: 1; 
    padding: 4px;
    filter: drop-shadow(0 0 8px rgba(220, 39, 67, 0.6));
}

.zzan-story-thumb img { 
    width: 100%; 
    height: 100%; 
    border-radius: 50%; 
    object-fit: cover; 
    border: 3px solid var(--zzan-w-bg);
    box-sizing: border-box;
    transition: transform 0.4s ease;
}

.zzan-story-thumb .zzan-no-image {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: var(--zzan-w-card-bg) !important; 
    border-radius: 50%;
    border: 3px solid var(--zzan-w-bg);
    box-sizing: border-box;
    color: var(--zzan-w-gray); transition: all 0.4s ease; gap: 5px;
}
.zzan-story-thumb .zzan-no-image svg { width: 24px; height: 24px; opacity: 0.3; }
.zzan-story-thumb .zzan-no-image span { font-size: 8px; opacity: 0.5; text-transform: uppercase; font-weight: 800; }

.zzan-story-item:hover .zzan-story-thumb img,
.zzan-story-item:hover .zzan-story-thumb .zzan-no-image { transform: scale(1.05); }

.zzan-story-title { 
    font-size: 0.95rem; 
    font-weight: 700; 
    margin-top: 10px; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    padding: 0 5px;
    color: var(--zzan-w-text);
}


@media (max-width: 768px) {
    .zzan-card[style*="flex-direction:row"] { flex-direction: column !important; }
    .zzan-card[style*="flex-direction:row"] .zzan-thumb-wrap { width: 100% !important; min-height: 200px !important; }
    
    .zzan-story-grid { gap: 15px; }
    .zzan-story-item { flex: 1 1 80px; }
    .zzan-story-title { font-size: 0.8rem; }
}


.zzan-ws-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--zzan-w-border);
}


.zzan-type-list .zzan-ws-header { margin-bottom: 0; }
.zzan-type-list .zzan-list-normal { border-top: none !important; }

.zzan-ws-title {
    font-size: 28px;
    font-weight: 700;
    font-family: 'Montserrat', 'Pretendard', sans-serif;
    letter-spacing: -1px;
    margin: 0;
    text-transform: uppercase;
    color: var(--zzan-w-text);
}

.zzan-ws-more {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--zzan-w-text);
    font-size: 11px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.05em;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.zzan-ws-more .more-icon {
    width: 14px;
    height: 14px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.zzan-ws-more:hover {
    opacity: 1;
    color: var(--zzan-w-neon);
}

.zzan-ws-more:hover .more-icon {
    transform: translateX(4px);
}

@media screen and (max-width: 768px) {
    .zzan-ws-title { font-size: 20px; }
    .zzan-ws-header { margin-bottom: 20px; }
}

.zzan-slider-v2-container { position: relative; padding: 20px 0 80px 0; width: 100%; box-sizing: border-box; }

.zzan-slider-frame {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: var(--zzan-w-bg);
    border: 1px solid var(--zzan-w-border);
    box-shadow: var(--zzan-w-shadow);
    transform: translateZ(0);
}

.zzan-slider-v2-wrapper { width: 100%; height: auto; padding: 0; box-sizing: border-box; overflow: hidden; }
.zzan-slider-item { height: auto; display: block; flex-shrink: 0; overflow: hidden; box-sizing: border-box; }

.zzan-ov-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.zzan-ov-thumb { position: relative; width: 100%; height: 0; overflow: hidden; }
.zzan-ov-thumb img { 
    position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; 
    object-fit: cover !important; transition: transform 1.2s ease;
    opacity: 1;
}

.zzan-ov-grad {
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    height: 70%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.95) 100%);
    z-index: 3;
    pointer-events: none;
}

html[data-theme="light"] .zzan-ov-grad {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.95) 100%);
}

.zzan-ov-meta-top {
    position: absolute; top: 20px; left: 20px; z-index: 10;
    display: flex; gap: 6px;
}

.zzan-ov-content {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 40px 25px 60px 25px; z-index: 5;
    box-sizing: border-box;
    display: flex; flex-direction: column; gap: 12px;
}

.zzan-slider-item:hover .zzan-ov-thumb img { transform: scale(1.1); opacity: 1; }

.zzan-ov-link { text-decoration: none; display: block; }
.zzan-ov-title { 
    font-size: 1.3rem; font-weight: 800; line-height: 1.3; 
    color: #fff; margin-bottom: 8px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.zzan-ov-summary {
    font-size: 0.9rem; line-height: 1.5; color: rgba(255,255,255,0.7);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    margin-bottom: 5px; opacity: 0; transition: opacity 0.4s ease;
}
.zzan-ov-card:hover .zzan-ov-summary { opacity: 1; }

.zzan-ov-info {
    display: flex; align-items: center; gap: 15px; font-size: 12px; font-weight: 600;
    color: rgba(255,255,255,0.6);
}
.zzan-ov-info span { display: flex; align-items: center; gap: 5px; }
.zzan-ov-info .zzan-nick { color: var(--zzan-w-neon); }

.zzan-ov-full-link {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2;
}

.zzan-widget-container .zzan-slider-v2-container div[class^="zzan-pagination-only-"] { position: absolute; bottom: 20px !important; left: 50% !important; transform: translateX(-50%) !important; width: auto !important; z-index: 10; display: flex; gap: 8px; justify-content: center; }
.zzan-widget-container .zzan-slider-v2-container div[class^="zzan-pagination-only-"] .swiper-pagination-bullet { background: #fff; opacity: 0.4; margin: 0 !important; }
html[data-theme="light"] .zzan-widget-container .zzan-slider-v2-container div[class^="zzan-pagination-only-"] .swiper-pagination-bullet { background: #fff; opacity: 0.4; }
.zzan-widget-container .zzan-slider-v2-container div[class^="zzan-pagination-only-"] .swiper-pagination-bullet-active { background: var(--zzan-w-neon) !important; opacity: 1 !important; width: 25px; border-radius: 5px; transition: all 0.3s; }

.zzan-widget-container .zzan-slider-v2-container .swiper-button-next,
.zzan-widget-container .zzan-slider-v2-container .swiper-button-prev { 
    width: 45px; height: 45px; background: rgba(0,0,0,0.3) !important; border-radius: 50%; 
    color: #fff !important; border: 1px solid rgba(255,255,255,0.2) !important; backdrop-filter: blur(10px);
    transition: all 0.3s; z-index: 20;
    display: flex !important; opacity: 1 !important; visibility: visible !important;
}
.zzan-widget-container .zzan-slider-v2-container .swiper-button-disabled { pointer-events: none; opacity: 0.2 !important; }

html[data-theme="light"] .zzan-widget-container .zzan-slider-v2-container .swiper-button-next,
html[data-theme="light"] .zzan-widget-container .zzan-slider-v2-container .swiper-button-prev { 
    background: rgba(255,255,255,0.6) !important; color: #000 !important; border: 1px solid rgba(0,0,0,0.1) !important;
}
.zzan-widget-container .zzan-slider-v2-container .swiper-button-next:after,
.zzan-widget-container .zzan-slider-v2-container .swiper-button-prev:after { font-size: 16px; font-weight: 900; }
.zzan-widget-container .zzan-slider-v2-container .swiper-button-next:hover,
.zzan-widget-container .zzan-slider-v2-container .swiper-button-prev:hover { background: var(--zzan-w-neon) !important; color: #000 !important; border-color: var(--zzan-w-neon) !important; opacity: 1 !important; }

.zzan-slider-v2-container .swiper-button-next { right: 20px; }
.zzan-slider-v2-container .swiper-button-prev { left: 20px; }

@media (max-width: 1200px) {
    .zzan-slider-v2-container .swiper-button-next { right: 15px; }
    .zzan-slider-v2-container .swiper-button-prev { left: 15px; }
}

@media (max-width: 768px) {
    .zzan-ov-title { font-size: 1.1rem; }
    .zzan-ov-summary { display: none; }
    .zzan-ov-content { transform: translateY(0); padding: 20px 15px; }
    .zzan-slider-v2-container .swiper-button-next,
    .zzan-slider-v2-container .swiper-button-prev { display: none; }
}
