/* ファンタジーテーマ専用スタイル */

/* ===== スクロールバースタイル ===== */
body.design-fantasy ::-webkit-scrollbar-track {
    background: rgba(255, 215, 0, 0.1);
    border-radius: 6px;
}

body.design-fantasy ::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #FFD700 0%, #FF69B4 100%);
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

body.design-fantasy ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #FFA500 0%, #FF1493 100%);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

body.design-fantasy ::-webkit-scrollbar-corner {
    background: rgba(255, 215, 0, 0.1);
}

body.design-fantasy * {
    scrollbar-width: thin;
    scrollbar-color: #FFD700 rgba(255, 215, 0, 0.1);
}

/* ===== ファンタジーデザイン基本スタイル ===== */
body.design-fantasy {
    background: linear-gradient(135deg, #2E0854 0%, #8A2BE2 50%, #FF69B4 100%);
    color: #FFD700;
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

body.design-fantasy::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 105, 180, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(138, 43, 226, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: fantasyGlow 4s ease-in-out infinite alternate;
}

@keyframes fantasyGlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

body.design-fantasy .container,
body.design-fantasy .novel-section,
body.design-fantasy .howto-section,
body.design-fantasy .novel-container,
body.design-fantasy .login-container,
body.design-fantasy .register-container,
body.design-fantasy .mypage-container,
body.design-fantasy .novel-post-container,
body.design-fantasy .novel-single-container,
body.design-fantasy .novel-ai-generator,
body.design-fantasy .news-section,
body.design-fantasy .custom-carousel-container {
    background: rgba(46, 8, 84, 0.8);
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

body.design-fantasy .container::before,
body.design-fantasy .novel-section::before,
body.design-fantasy .howto-section::before,
body.design-fantasy .novel-container::before,
body.design-fantasy .login-container::before,
body.design-fantasy .register-container::before,
body.design-fantasy .mypage-container::before,
body.design-fantasy .novel-post-container::before,
body.design-fantasy .novel-single-container::before,
body.design-fantasy .novel-ai-generator::before,
body.design-fantasy .news-section::before,
body.design-fantasy .custom-carousel-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    animation: fantasyScan 3s linear infinite;
    pointer-events: none;
}

@keyframes fantasyScan {
    0% { left: -100%; }
    100% { left: 100%; }
}

body.design-fantasy h1, body.design-fantasy h2, body.design-fantasy h3, body.design-fantasy h4 {
    color: #FFD700;
    text-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700;
    font-family: 'Georgia', 'Times New Roman', serif;
}

body.design-fantasy input, body.design-fantasy textarea, body.design-fantasy select {
    background: rgba(46, 8, 84, 0.8);
    border: 2px solid rgba(255, 215, 0, 0.5);
    color: #FFD700;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    font-family: 'Georgia', 'Times New Roman', serif;
}

body.design-fantasy input:focus, body.design-fantasy textarea:focus, body.design-fantasy select:focus {
    border-color: #FF69B4;
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.5);
    outline: none;
}

body.design-fantasy button {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: 2px solid rgba(255, 215, 0, 0.5);
    color: #2E0854;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    font-family: 'Georgia', 'Times New Roman', serif;
}

body.design-fantasy button:hover {
    background: linear-gradient(135deg, #FF69B4 0%, #FF1493 100%);
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.6);
    transform: translateY(-2px);
}

body.design-fantasy .site-header {
    background: rgba(46, 8, 84, 0.9);
    border-bottom: 3px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

body.design-fantasy .site-footer {
    background: rgba(46, 8, 84, 0.9);
    border-top: 3px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
    color: #FFD700;
}

/* ===== ファンタジーデザイン専用要素 ===== */
body.design-fantasy .hd-btn {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.8) 0%, rgba(255, 105, 180, 0.8) 100%);
    border: 2px solid rgba(255, 215, 0, 0.5);
    color: #FFD700;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.8);
    transition: all 0.3s ease;
    font-family: 'Georgia', 'Times New Roman', serif;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-radius: 8px;
    font-size: 14px;
}

body.design-fantasy .hd-btn.hd-create {
    background: linear-gradient(135deg, rgba(50, 205, 50, 0.8) 0%, rgba(34, 139, 34, 0.8) 100%);
    border-color: rgba(50, 205, 50, 0.5);
    color: #32CD32;
    text-shadow: 0 0 5px rgba(50, 205, 50, 0.8);
    box-shadow: 0 0 15px rgba(50, 205, 50, 0.3);
}

body.design-fantasy .hd-btn.hd-list {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.8) 0%, rgba(255, 165, 0, 0.8) 100%);
    border-color: rgba(255, 215, 0, 0.5);
    color: #FFD700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.8);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

body.design-fantasy .hd-btn.hd-mypage {
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.8) 0%, rgba(255, 20, 147, 0.8) 100%);
    border-color: rgba(255, 105, 180, 0.5);
    color: #FF69B4;
    text-shadow: 0 0 5px rgba(255, 105, 180, 0.8);
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.3);
}

body.design-fantasy .hd-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
    text-shadow: 0 0 8px rgba(255, 215, 0, 1);
}

body.design-fantasy .hd-btn.hd-create:hover {
    box-shadow: 0 0 25px rgba(50, 205, 50, 0.6);
    text-shadow: 0 0 8px rgba(50, 205, 50, 1);
}

body.design-fantasy .hd-btn.hd-list:hover {
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
    text-shadow: 0 0 8px rgba(255, 215, 0, 1);
}

body.design-fantasy .hd-btn.hd-mypage:hover {
    box-shadow: 0 0 25px rgba(255, 105, 180, 0.6);
    text-shadow: 0 0 8px rgba(255, 105, 180, 1);
}

/* ===== メインアクションボタン ===== */
body.design-fantasy .main-actions {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem;
    background: rgba(46, 8, 84, 0.8);
    border-radius: 20px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

body.design-fantasy .main-actions::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    animation: fantasyScan 3s linear infinite;
    pointer-events: none;
}

body.design-fantasy .create-novel-btn {
    background: linear-gradient(135deg, rgba(50, 205, 50, 0.8) 0%, rgba(34, 139, 34, 0.8) 100%);
    border: 2px solid rgba(50, 205, 50, 0.5);
    color: #32CD32;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(50, 205, 50, 0.8);
    transition: all 0.3s ease;
    font-family: 'Georgia', 'Times New Roman', serif;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 15px rgba(50, 205, 50, 0.3);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    font-size: 1.1rem;
    min-width: 200px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

body.design-fantasy .create-novel-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 25px rgba(50, 205, 50, 0.6);
    text-shadow: 0 0 8px rgba(50, 205, 50, 1);
    background: linear-gradient(135deg, rgba(50, 205, 50, 0.9) 0%, rgba(34, 139, 34, 0.9) 100%);
}

body.design-fantasy .novel-list-btn {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.8) 0%, rgba(255, 165, 0, 0.8) 100%);
    border: 2px solid rgba(255, 215, 0, 0.5);
    color: #FFD700;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.8);
    transition: all 0.3s ease;
    font-family: 'Georgia', 'Times New Roman', serif;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    font-size: 1.1rem;
    min-width: 200px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

body.design-fantasy .novel-list-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
    text-shadow: 0 0 8px rgba(255, 215, 0, 1);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.9) 0%, rgba(255, 165, 0, 0.9) 100%);
}

body.design-fantasy .site-title {
    color: #FFD700;
    text-shadow: 0 0 15px #FFD700, 0 0 30px #FFD700;
    font-family: 'Georgia', 'Times New Roman', serif;
}

body.design-fantasy .section-title {
    color: #FFD700;
    text-shadow: 0 0 10px #FFD700;
    font-family: 'Georgia', 'Times New Roman', serif;
}

body.design-fantasy .howto-title::after {
    background: linear-gradient(90deg, #FFD700, #FF69B4);
}

body.design-fantasy .howto-number {
    background: linear-gradient(135deg, #FFD700 0%, #FF69B4 100%);
    color: #2E0854;
}

body.design-fantasy .howto-step p {
    color: #FFD700;
    text-shadow: 0 0 5px #FFD700;
    font-family: 'Georgia', 'Times New Roman', serif;
}

body.design-fantasy .howto-arrow {
    color: #FFD700;
    text-shadow: 0 0 10px #FFD700;
}

body.design-fantasy .custom-carousel-container {
    background: rgba(46, 8, 84, 0.8);
    border: 2px solid rgba(255, 215, 0, 0.3);
}

body.design-fantasy .custom-slide img {
    border: 3px solid rgba(255, 215, 0, 0.3);
}

body.design-fantasy .custom-slide .overlay {
    background: rgba(46, 8, 84, 0.7);
    border: 2px solid rgba(255, 215, 0, 0.3);
}

body.design-fantasy .custom-slide .overlay h3 {
    color: #FFD700;
    text-shadow: 0 0 10px #FFD700;
    font-family: 'Georgia', 'Times New Roman', serif;
}

body.design-fantasy .novel-meta {
    color: #FFD700;
    text-shadow: 0 0 5px #FFD700;
}

body.design-fantasy .meta-item {
    color: #FFD700;
}

body.design-fantasy .meta-separator {
    color: #FF69B4;
}

body.design-fantasy .rating-gauge {
    background: rgba(255, 215, 0, 0.2);
    border: 2px solid rgba(255, 215, 0, 0.5);
}

body.design-fantasy .novel-share a {
    color: #FFD700;
    text-shadow: 0 0 5px #FFD700;
}

body.design-fantasy .novel-share a:hover {
    color: #FF69B4;
    text-shadow: 0 0 8px #FF69B4;
}

body.design-fantasy .novel-ai-generator {
    background: rgba(46, 8, 84, 0.8);
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

body.design-fantasy button#generate-ai-novel {
    background: linear-gradient(135deg, #FFD700 0%, #FF69B4 100%);
    border: 3px solid rgba(255, 215, 0, 0.5);
    color: #2E0854;
    font-weight: bold;
}

body.design-fantasy button#generate-ai-novel:hover {
    background: linear-gradient(135deg, #FF69B4 0%, #FFD700 100%);
    box-shadow: 0 0 25px rgba(255, 105, 180, 0.7);
    transform: translateY(-3px);
}

body.design-fantasy .ai-novel-output {
    background: rgba(46, 8, 84, 0.8);
    border: 2px solid rgba(255, 215, 0, 0.3);
    color: #FFD700;
}

body.design-fantasy .news-section {
    background: rgba(46, 8, 84, 0.8);
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

body.design-fantasy .news-list li {
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
}

body.design-fantasy .news-archive-list li {
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
}

body.design-fantasy .episode-ai-button {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: 2px solid rgba(255, 215, 0, 0.5);
    color: #2E0854;
    font-weight: bold;
}

body.design-fantasy .episode-ai-button.active {
    background: linear-gradient(135deg, #FF69B4 0%, #FF1493 100%);
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.5);
}

body.design-fantasy .char-counter {
    color: #FFD700;
    text-shadow: 0 0 3px #FFD700;
}

body.design-fantasy .char-counter.red {
    color: #FF0000;
    text-shadow: 0 0 5px #FF0000;
}

body.design-fantasy .episode-create-btnContainer button {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: 2px solid rgba(255, 215, 0, 0.5);
    color: #2E0854;
    font-weight: bold;
}

body.design-fantasy .episode-create-btnContainer button:hover {
    background: linear-gradient(135deg, #FF69B4 0%, #FF1493 100%);
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.6);
}

body.design-fantasy .novel-list-item:hover {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
}

body.design-fantasy .futuristic-button {
    background: linear-gradient(135deg, #FFD700 0%, #FF69B4 100%);
    border: 2px solid rgba(255, 215, 0, 0.5);
    color: #2E0854;
}

body.design-fantasy .section-top-border {
    background: linear-gradient(90deg, #FFD700, #FF69B4, #FFD700);
    height: 3px;
    border-radius: 2px;
    margin-bottom: 20px;
}

body.design-fantasy .section-title-text::before,
body.design-fantasy .section-title-text::after {
    background: linear-gradient(90deg, #FFD700, #FF69B4);
}

body.design-fantasy .novel-swiper .novel-card {
    border: 2px solid rgba(255, 215, 0, 0.3);
}

body.design-fantasy .novel-swiper .novel-card .overlay {
    background: rgba(46, 8, 84, 0.7);
    border: 2px solid rgba(255, 215, 0, 0.3);
}

body.design-fantasy .toggle-status-btn[data-status="publish"] {
    background: linear-gradient(135deg, #32CD32 0%, #228B22 100%);
}

body.design-fantasy .toggle-status-btn[data-status="draft"] {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

body.design-fantasy .btn-primary {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: 2px solid rgba(255, 215, 0, 0.5);
    color: #2E0854;
}

body.design-fantasy .btn-submit {
    background: linear-gradient(135deg, #32CD32 0%, #228B22 100%);
    border: 2px solid rgba(50, 205, 50, 0.5);
    color: #2E0854;
}

body.design-fantasy .login-container button:hover,
body.design-fantasy .register-container button:hover {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    transform: translateY(-2px);
}

body.design-fantasy .novel-list-icon {
    color: #FFD700;
    text-shadow: 0 0 5px #FFD700;
}

/* ===== マイページ専用スタイル ===== */
body.design-fantasy .accordion-header {
    background: rgba(46, 8, 84, 0.8);
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

body.design-fantasy .accordion-header h2 {
    color: #FFD700;
    text-shadow: 0 0 8px #FFD700;
    font-family: 'Georgia', 'Times New Roman', serif;
}

body.design-fantasy .accordion-icon {
    color: #FFD700;
    text-shadow: 0 0 5px #FFD700;
}

body.design-fantasy .accordion-content {
    background: rgba(46, 8, 84, 0.6);
    border: 2px solid rgba(255, 215, 0, 0.2);
}

body.design-fantasy .stats-grid {
    gap: 20px;
}

body.design-fantasy .stat-card {
    background: rgba(46, 8, 84, 0.8);
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

body.design-fantasy .stat-card .stat-icon,
body.design-fantasy .stat-card .stat-number {
    color: #FFD700;
    text-shadow: 0 0 8px #FFD700;
}

body.design-fantasy .ranking-card,
body.design-fantasy .drafts-card {
    background: rgba(46, 8, 84, 0.8);
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

body.design-fantasy .ranking-header,
body.design-fantasy .drafts-header {
    background: rgba(46, 8, 84, 0.9);
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

body.design-fantasy .ranking-header h3,
body.design-fantasy .drafts-header h3 {
    color: #FFD700;
    text-shadow: 0 0 8px #FFD700;
    font-family: 'Georgia', 'Times New Roman', serif;
}

body.design-fantasy .ranking-tabs {
    background: rgba(46, 8, 84, 0.7);
    border: 2px solid rgba(255, 215, 0, 0.2);
}

body.design-fantasy .ranking-tab {
    background: rgba(46, 8, 84, 0.5);
    border: 2px solid rgba(255, 215, 0, 0.2);
    color: #FFD700;
    transition: all 0.3s ease;
}

body.design-fantasy .ranking-tab.active {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-color: rgba(255, 215, 0, 0.5);
    color: #2E0854;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

body.design-fantasy .ranking-content,
body.design-fantasy .drafts-content {
    background: rgba(46, 8, 84, 0.6);
    border: 2px solid rgba(255, 215, 0, 0.2);
}

body.design-fantasy .loading-message {
    color: #FFD700;
    text-shadow: 0 0 5px #FFD700;
}

body.design-fantasy .novels-header h2 {
    color: #FFD700;
    text-shadow: 0 0 8px #FFD700;
    font-family: 'Georgia', 'Times New Roman', serif;
}

body.design-fantasy .view-btn {
    background: rgba(46, 8, 84, 0.7);
    border: 2px solid rgba(255, 215, 0, 0.3);
    color: #FFD700;
    transition: all 0.3s ease;
}

body.design-fantasy .view-btn.active {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-color: rgba(255, 215, 0, 0.5);
    color: #2E0854;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

body.design-fantasy .view-btn:not(.active) {
    background: rgba(46, 8, 84, 0.7);
    border: 2px solid rgba(255, 215, 0, 0.3);
    color: #FFD700;
}

body.design-fantasy .view-btn:not(.active):hover {
    background: rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
    transform: translateY(-1px);
}

body.design-fantasy .novel-item {
    background: rgba(46, 8, 84, 0.7);
    border: 2px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

body.design-fantasy .novel-item:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

body.design-fantasy .novel-title {
    color: #FFD700;
    text-shadow: 0 0 5px #FFD700;
    font-family: 'Georgia', 'Times New Roman', serif;
}

body.design-fantasy .novel-link {
    color: #FFD700;
    text-shadow: 0 0 3px #FFD700;
}

body.design-fantasy .novel-meta {
    color: #FFD700;
}

body.design-fantasy .meta-item {
    color: #FFD700;
}

body.design-fantasy .meta-separator {
    color: #FF69B4;
}

body.design-fantasy .rating-gauge {
    background: rgba(255, 215, 0, 0.2);
    border: 2px solid rgba(255, 215, 0, 0.5);
}

body.design-fantasy .novel-btn {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: 2px solid rgba(255, 215, 0, 0.5);
    color: #2E0854;
    font-weight: bold;
}

body.design-fantasy .novel-btn:hover {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    transform: translateY(-1px);
}

body.design-fantasy .no-novels-message {
    color: #FFD700;
    text-shadow: 0 0 5px #FFD700;
}

body.design-fantasy .create-novel-btn {
    background: linear-gradient(135deg, rgba(50, 205, 50, 0.8) 0%, rgba(34, 139, 34, 0.8) 100%);
    border: 2px solid rgba(50, 205, 50, 0.5);
    color: #32CD32;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(50, 205, 50, 0.8);
    transition: all 0.3s ease;
    font-family: 'Georgia', 'Times New Roman', serif;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 15px rgba(50, 205, 50, 0.3);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    font-size: 1.1rem;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

body.design-fantasy .create-novel-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 25px rgba(50, 205, 50, 0.6);
    text-shadow: 0 0 8px rgba(50, 205, 50, 1);
    background: linear-gradient(135deg, rgba(50, 205, 50, 0.9) 0%, rgba(34, 139, 34, 0.9) 100%);
}

body.design-fantasy .novel-list-btn {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.8) 0%, rgba(255, 165, 0, 0.8) 100%);
    border: 2px solid rgba(255, 215, 0, 0.5);
    color: #FFD700;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.8);
    transition: all 0.3s ease;
    font-family: 'Georgia', 'Times New Roman', serif;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    font-size: 1.1rem;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

body.design-fantasy .novel-list-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
    text-shadow: 0 0 8px rgba(255, 215, 0, 1);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.9) 0%, rgba(255, 165, 0, 0.9) 100%);
}

body.design-fantasy .draft-item {
    background: rgba(46, 8, 84, 0.7);
    border: 2px solid rgba(255, 105, 180, 0.2);
    transition: all 0.3s ease;
}

body.design-fantasy .draft-item:hover {
    background: rgba(255, 105, 180, 0.1);
    border-color: rgba(255, 105, 180, 0.4);
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.3);
}

body.design-fantasy .draft-title {
    color: #FF69B4;
    text-shadow: 0 0 5px #FF69B4;
}

body.design-fantasy .draft-novel-title {
    color: #FFD700;
}

body.design-fantasy .draft-status {
    color: #FFD700;
}

body.design-fantasy .progress-bar {
    background: rgba(255, 105, 180, 0.2);
    border: 2px solid rgba(255, 105, 180, 0.3);
}

body.design-fantasy .progress-text {
    color: #FFD700;
    text-shadow: 0 0 3px #FFD700;
}

body.design-fantasy .draft-stat .stat-label {
    color: #FFD700;
}

body.design-fantasy .draft-stat .stat-value {
    color: #FF69B4;
    text-shadow: 0 0 3px #FF69B4;
}

body.design-fantasy .draft-edit {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: 2px solid rgba(255, 215, 0, 0.5);
    color: #2E0854;
}

body.design-fantasy .draft-edit:hover {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    transform: translateY(-1px);
}

body.design-fantasy .draft-publish {
    background: linear-gradient(135deg, #32CD32 0%, #228B22 100%);
    border: 2px solid rgba(50, 205, 50, 0.5);
    color: #2E0854;
}

body.design-fantasy .draft-publish:hover {
    box-shadow: 0 0 15px rgba(50, 205, 50, 0.5);
    transform: translateY(-1px);
}

body.design-fantasy .no-drafts-message {
    color: #FF69B4;
    text-shadow: 0 0 5px #FF69B4;
}

body.design-fantasy .create-episode-btn {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: 2px solid rgba(255, 215, 0, 0.5);
    color: #2E0854;
}

body.design-fantasy .create-episode-btn:hover {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    transform: translateY(-2px);
}

/* AIフォームプレビュー用スタイル（ファンタジー風） */
body.design-fantasy .ai-form-preview {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  margin: 1rem 0;
  position: relative;
  overflow: hidden;
}

body.design-fantasy .ai-form-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 105, 180, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

body.design-fantasy .ai-form-description {
  color: var(--text-dim, #dda0dd);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-family: "Palatino", "Times New Roman", serif;
}

body.design-fantasy .ai-form-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(147, 112, 219, 0.1));
  border: 2px solid rgba(255, 215, 0, 0.4);
  border-radius: 20px;
  text-decoration: none;
  color: var(--text-strong, #f0f8ff);
  transition: all 0.3s ease;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
  font-family: "Palatino", "Times New Roman", serif;
}

body.design-fantasy .ai-form-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 35px rgba(255, 215, 0, 0.5);
  border-color: rgba(255, 215, 0, 0.6);
  text-decoration: none;
  color: var(--text-strong, #f0f8ff);
}

body.design-fantasy .ai-form-link-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.7));
  animation: sparkle 2s ease-in-out infinite;
}

body.design-fantasy .ai-form-link-text {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
  font-family: "Palatino", "Times New Roman", serif;
}

body.design-fantasy .ai-form-link-desc {
  font-size: 0.9rem;
  color: var(--text-dim, #dda0dd);
  opacity: 0.8;
  font-family: "Palatino", "Times New Roman", serif;
}

@keyframes sparkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(1.2) rotate(180deg); opacity: 0.8; }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  body.design-fantasy .ai-form-preview {
    padding: 1.5rem;
  }
  
  body.design-fantasy .ai-form-link {
    padding: 1.2rem 1.5rem;
  }
  
  body.design-fantasy .ai-form-link-icon {
    font-size: 1.5rem;
  }
  
  body.design-fantasy .ai-form-link-text {
    font-size: 1rem;
  }
} 

/* レスポンシブ対応 */
@media (max-width: 768px) {
    body.design-fantasy .container {
        padding: 15px;
    }
    
    body.design-fantasy .novel-post-container,
    body.design-fantasy .novel-single-container {
        padding: 15px;
    }
    
    body.design-fantasy .toggle-group {
        flex-direction: column;
    }
    
    body.design-fantasy .toggle-option {
        width: 100%;
        margin-bottom: 10px;
    }
    
    body.design-fantasy .toggle-icon {
        font-size: 18px;
    }
    
    body.design-fantasy .toggle-title {
        font-size: 14px;
    }
    
    body.design-fantasy .toggle-desc {
        font-size: 12px;
    }
} 

@media (max-width: 480px) {
    body.design-fantasy .novel-post-container,
    body.design-fantasy .novel-single-container {
        padding: 10px;
    }
    
    body.design-fantasy .novel-post-container h2,
    body.design-fantasy .novel-single-container h2 {
        font-size: 18px;
    }
    
    body.design-fantasy .novel-post-container input,
    body.design-fantasy .novel-single-container input {
        font-size: 14px;
        padding: 8px;
    }
    
    body.design-fantasy .novel-post-container button,
    body.design-fantasy .novel-single-container button {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    body.design-fantasy .toggle-option {
        padding: 10px;
    }
    
    body.design-fantasy .toggle-icon {
        font-size: 16px;
    }
    
    body.design-fantasy .toggle-title {
        font-size: 13px;
    }
    
    body.design-fantasy .toggle-desc {
        font-size: 11px;
    }
    
    body.design-fantasy .tag-item {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    body.design-fantasy .char-counter {
        font-size: 12px;
    }
} 

/* レスポンシブ対応 */
@media (max-width: 768px) {
    body.design-fantasy .main-actions {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    body.design-fantasy .create-novel-btn,
    body.design-fantasy .novel-list-btn {
        min-width: 180px;
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
    }

    /* ヘッダーボタンのレスポンシブ対応（中画面） */
    body.design-fantasy .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        padding: 10px;
    }

    body.design-fantasy .site-title {
        text-align: left;
    }

    body.design-fantasy .site-nav-container {
        flex-direction: row;
        gap: 8px;
        align-items: center;
        justify-content: flex-end;
        margin-left: auto;
    }

    body.design-fantasy .hd-btn {
        width: auto;
        max-width: none;
        margin: 0;
    }

    body.design-fantasy .hd-btn a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0;
        font-size: 16px;
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        color: #8B4513;
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    /* SP表示時はアイコンのみ表示 */
    body.design-fantasy .hd-btn a .btn-text {
        display: none;
    }

    body.design-fantasy .hd-btn a i {
        font-size: 18px;
        margin: 0;
        display: block;
    }

    /* アイコンホバー効果 */
    body.design-fantasy .hd-btn a:hover {
        color: #D2691E;
        transform: scale(1.1);
    }
}

@media (max-width: 480px) {
    body.design-fantasy .main-actions {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    body.design-fantasy .create-novel-btn,
    body.design-fantasy .novel-list-btn {
        min-width: 160px;
        padding: 1rem 1.2rem;
        font-size: 0.9rem;
    }

    /* 小画面でのヘッダーボタン設定 */
    body.design-fantasy .hd-btn a {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    body.design-fantasy .hd-btn a i {
        font-size: 18px;
    }
} 