/* LoshiKal Protection — styled to match the classic 2006 parchment & bronze portal */
.protection-panel {
    position: relative;
    overflow: hidden;
    border-color: #b9a789;
    background: linear-gradient(145deg, #fcfaf4, #f2ecde);
    box-shadow: inset 0 0 0 3px #f0ebdf;
}

.protection-panel .section-title {
    color: #78392c;
    border-bottom-color: #b9a789;
    justify-content: flex-start;
    gap: 8px;
}

.protection-ver {
    margin-left: auto;
    font: bold 9px Tahoma, Arial, sans-serif !important;
    color: #7d542f !important;
    background: #ece3cf;
    border: 1px solid #c5b392;
    padding: 2px 6px;
    letter-spacing: 0.4px;
    flex: 0 0 auto !important;
}

.protection-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 2px 0 11px;
}

.protection-emblem {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    padding: 3px;
    border: 1px solid #b59f79;
    background: linear-gradient(#f9f5ea, #e7decb);
    box-shadow: inset 0 0 0 1px #fffaf0, 0 1px 3px rgba(76, 66, 61, 0.18);
    border-radius: 50%;
    object-fit: contain;
}

.protection-titles {
    min-width: 0;
    flex: 1;
}

.protection-brand {
    font: bold 14px Georgia, 'Times New Roman', serif;
    color: #64271f;
    line-height: 1.2;
}

.protection-sub {
    margin-top: 3px;
    font: 9px Tahoma, Arial, sans-serif;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: #8b7960;
}

.protection-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font: 10px Tahoma, Arial, sans-serif;
    color: #7c6c56;
    margin-bottom: 5px;
}

.protection-status-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font: bold 11px Georgia, serif;
    color: #467337;
}

.protection-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #50703c;
    box-shadow: 0 0 0 3px rgba(80, 112, 60, 0.16);
    animation: lp-pulse 2.4s ease-in-out infinite;
}

.protection-status-tag {
    font: bold 10px Tahoma, Arial, sans-serif;
    color: #8a6c45;
}

.protection-bar {
    position: relative;
    height: 7px;
    margin: 0 0 11px;
    background: #e3dac6;
    border: 1px solid #b7a482;
    box-shadow: inset 0 1px 2px rgba(76, 66, 61, 0.18);
    overflow: hidden;
}

.protection-bar-fill {
    position: relative;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #7c4734 0%, #a57a49 55%, #c9a76e 100%);
}

.protection-bar-fill::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 44px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 248, 226, 0.65) 50%, transparent 100%);
    animation: lp-sheen 2.8s linear infinite;
}

.protection-list {
    list-style: none;
    margin: 0;
    padding: 9px 0 0;
    border-top: 1px dotted #cbbd9f;
    display: grid;
    gap: 5px;
}

.protection-list li {
    position: relative;
    padding-left: 13px;
    font: 11px/1.45 Tahoma, Arial, sans-serif;
    color: #6c5d49;
}

.protection-list li::before {
    content: "◆";
    position: absolute;
    left: 0;
    top: 1px;
    color: #a88c5e;
    font-size: 7px;
}

.protection-note {
    display: block;
    text-align: center;
    font: 9px/1.5 Tahoma, Arial, sans-serif;
    color: #9b8b72;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dotted #d1c4aa;
}

@keyframes lp-sheen {
    0% { left: -48px; }
    100% { left: 100%; }
}

@keyframes lp-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

/* Rotating 5-artwork header banner (clean text-free LoshiKal scenes) */
.classic-header {
    background-image: none !important;
    background-color: #eee8d8 !important;
}

.classic-header:before {
    z-index: 1;
}

.header-title,
.header-caption {
    z-index: 2;
}

.header-bg-rotator {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 62%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: url('header-slide-1.jpg?v=20261129r2') center center / cover no-repeat;
}

.header-slide {
    position: absolute;
    inset: 0;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    animation: loshi-header-fade 30s ease-in-out infinite;
    will-change: opacity, transform;
}

.header-slide-1 { background-image: url('header-slide-1.jpg?v=20261129r2'); animation-delay: 0s; }
.header-slide-2 { background-image: url('header-slide-2.jpg?v=20261129r2'); animation-delay: 6s; }
.header-slide-3 { background-image: url('header-slide-3.jpg?v=20261129r2'); animation-delay: 12s; }
.header-slide-4 { background-image: url('header-slide-4.jpg?v=20261129r2'); animation-delay: 18s; }
.header-slide-5 { background-image: url('header-slide-5.jpg?v=20261129r2'); animation-delay: 24s; }

@keyframes loshi-header-fade {
    0%   { opacity: 0; transform: scale(1.03); }
    4%   { opacity: 1; transform: scale(1.02); }
    20%  { opacity: 1; transform: scale(1.0); }
    24%  { opacity: 0; transform: scale(1.0); }
    100% { opacity: 0; transform: scale(1.03); }
}

@media (max-width: 760px) {
    .header-bg-rotator {
        width: 100%;
    }
}
