:root {
    --accent-color: #ff4e50;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a2e;
    --popup-bg: rgba(255, 255, 255, 0.95);
    --popup-text: #333;
}
.fractional * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.fractional {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0;
}
.header-frac {
    align-items: center !important;
    text-align: center;
    margin-bottom: 50px;
    width: 100%;
    padding: 10px;
}
.slide-frac {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}
.slide-frac.active-frac {
    opacity: .9;
}
.slide-image-frac {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}
.grid-overlay-frac {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    transition: grid-template-columns 0.5s ease, grid-template-rows 0.5s ease;
}
.grid-cell-frac {
    position: relative;
    transition: all 0.3s ease;
    overflow: visible;
}
.vertical-line-frac {
    position: absolute;
    top: 0;
    height: 100%;
    width: 1.2px;
    background: rgba(255, 255, 255, .6);
    transform: scaleY(0);
    transform-origin: top;
    animation: drawLineVerticalFrac 0.8s ease forwards;
}
.horizontal-line-frac {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.2px;
    background: rgba(255, 255, 255, .6);
    transform: scaleX(0);
    transform-origin: left;
    animation: drawLineHorizontalFrac 0.8s ease forwards;
}
@keyframes drawLineVerticalFrac {
    to {
        transform: scaleY(1);
    }
}
@keyframes drawLineHorizontalFrac {
    to {
        transform: scaleX(1);
    }
}
.owner-popup-frac {
    position: absolute;
    background: var(--popup-bg);
    color: var(--popup-text);
    border-radius: 12px;
    padding: 2px 5px;
    width: 80px;
    text-align: center;
    z-index: 10;
    opacity: .1;
    transform: scale(0.5);
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    font-weight: 500;
    border: 3px solid rgba(3, 12, 87, 0.7);
}
.owner-popup-frac::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--popup-bg);
}
.owner-popup-frac.show-frac {
    opacity: .8;
    transform: scale(.8);
}
.owner-avatar-frac {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 auto 0px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    border: 2px solid 2575fc
}
.owner-name-frac {
    font-weight: bold;
    font-size: 0.95rem;
    margin-bottom: 2px;
    color: #0a1016;
    direction: ltr;
}
.owner-city-frac {
    font-size: 0.9rem;
    opacity: 0.8;
    color: rgba(3, 6, 24, 0.9);
}
@media (max-width: 768px) {
    .slider-container-frac {
        height: 400px;
    }
    .fractional h1 {
        font-size: 3rem;
    }
    .owner-popup-frac.show-frac {
        transform: scale(.4);
    }
}