body.gallery-kawaii-page {
    margin: 0;
    color: #5a214d;
    font-family:
        "Noto Sans JP",
        "Hiragino Kaku Gothic ProN",
        "Yu Gothic",
        "Meiryo",
        system-ui,
        sans-serif;

    background:
        radial-gradient(circle at top left, #fff6a8 0%, transparent 22%),
        radial-gradient(circle at top right, #ffc8f0 0%, transparent 24%),
        linear-gradient(135deg, #ff9ad5, #ffd0f1 35%, #fff4a8 70%, #ffb3e6);
    background-attachment: fixed;
}

.kawaii-header {
    background: rgba(255, 255, 255, 0.45);
    border-bottom: 2px solid rgba(255, 105, 180, 0.35);
    backdrop-filter: blur(6px);
    box-shadow: 0 6px 24px rgba(255, 105, 180, 0.15);
}

.kawaii-header span {
    color: #ff2f92;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
}

.kawaii-header .subtitle {
    color: #b03d7c;
}

.kawaii-sidebar {
    background: rgba(255, 255, 255, 0.35);
    border-right: 2px solid rgba(255, 105, 180, 0.25);
    backdrop-filter: blur(8px);
}

.kawaii-sidebar .menu-title {
    color: #c14486;
    font-weight: bold;
}

.kawaii-sidebar a {
    color: #8b265d;
    transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease;
    border-radius: 999px;
    margin: 4px 10px;
}

.kawaii-sidebar a:hover {
    background: rgba(255, 255, 255, 0.55);
    color: #ff1493;
    transform: translateX(4px);
}

.kawaii-sidebar a.active {
    color: #ffffff;
    background: linear-gradient(90deg, #ff4fb3, #ff89cf);
    box-shadow: 0 4px 18px rgba(255, 79, 179, 0.35);
}

.kawaii-content {
    margin-left: 180px;
    margin-top: 110px;
    height: calc(100vh - 110px);
    overflow-y: auto;
    padding: 24px;
    scroll-behavior: smooth;
    flex: 1;
}

.gallery-intro {
    margin-bottom: 20px;
    padding: 18px 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.52);
    box-shadow: 0 10px 35px rgba(255, 105, 180, 0.16);
}

.gallery-intro h1 {
    margin: 0 0 8px;
    font-size: 30px;
    color: #ff2f92;
}

.gallery-intro p {
    margin: 0;
    color: #8a3b69;
}

.empty-state {
    padding: 30px;
    border-radius: 20px;
    background: rgba(255,255,255,0.55);
    color: #8a3b69;
}

.thumb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 18px;
}

.thumb-card {
    display: block;
    padding: 2px;
    background: rgba(255, 255, 255, 0.55);
    border: 3px solid rgba(255, 255, 255, 0.55);
    border-radius: 24px;
    box-shadow: 0 12px 28px rgba(255, 105, 180, 0.18);
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.thumb-card:hover {
    transform: translateY(-4px) scale(1.015) rotate(-0.4deg);
    box-shadow: 0 18px 34px rgba(255, 20, 147, 0.22);
}

.thumb-card img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    background: #fff7fc;
    transition: transform 0.2s ease;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}

.page-button {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 999px;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(90deg, #ff4fb3, #ff89cf);
    box-shadow: 0 4px 18px rgba(255, 79, 179, 0.35);
}

.page-button:hover {
    transform: translateY(-1px);
}

.page-status {
    color: #8a3b69;
    font-weight: bold;
    background: rgba(255,255,255,0.55);
    padding: 10px 16px;
    border-radius: 999px;
}

.sidebar-image-wrap {
    padding: 12px 12px 16px;
    text-align: center;
}

.sidebar-image {
    display: block;
    width: 50%;
    height: auto;
    margin: 0 auto;
    border-radius: 18px;
}

.page-title {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
}

.sidebar {
    position: fixed;
    top: 110px;       /* header height */
    left: 0;
    width: 180px;
    bottom: 0;
    overflow: hidden;
}
