/* モバイル版マイページ専用CSS */
/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* モバイルヘッダー */
.mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    border-bottom: 1px solid #4a5568;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    height: 56px;
}

.menu-toggle, .profile-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 20px;
    padding: 8px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.menu-toggle:hover, .profile-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #4fd1c7;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo i {
    font-size: 24px;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-name {
    font-size: 14px;
    color: #4fd1c7;
    font-weight: 500;
}

/* スライドメニュー */
.slide-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #2d3748 0%, #1a202c 100%);
    z-index: 1001;
    transition: left 0.3s ease;
    overflow-y: auto;
    border-right: 1px solid #4a5568;
}

.slide-menu.open {
    left: 0;
}

.menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid #4a5568;
}

.menu-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #4fd1c7;
}

.menu-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 20px;
    padding: 8px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.menu-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.menu-items {
    padding: 16px 0;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.menu-item:hover {
    background-color: rgba(77, 209, 199, 0.1);
    border-left-color: #4fd1c7;
    color: #4fd1c7;
}

.menu-item.active {
    background-color: rgba(77, 209, 199, 0.2);
    border-left-color: #4fd1c7;
    color: #4fd1c7;
}

.menu-item i {
    width: 20px;
    font-size: 16px;
}

.logout-btn {
    color: #dc2626 !important;
}

.logout-btn:hover {
    background-color: rgba(220, 38, 38, 0.1) !important;
    border-left-color: #dc2626 !important;
}

/* メニューオーバーレイ */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* メインコンテンツ */
.main-content {
    margin-top: 56px;
    margin-bottom: 70px;
    padding: 16px;
    min-height: calc(100vh - 126px);
}

/* クイックアクセス */
.quick-access {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: #2d3748;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.quick-item.active {
    background: linear-gradient(135deg, #4fd1c7 0%, #38b2ac 100%);
    color: #1a202c;
    border-color: #4fd1c7;
}

.quick-item:hover:not(.active) {
    background: #374151;
    border-color: #4fd1c7;
}

.quick-item.sparkle::before {
    content: '✨';
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 12px;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.quick-item i {
    font-size: 20px;
}

.quick-item span {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

/* セクションヘッダー */
.section-header {
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #4fd1c7;
    padding-left: 4px;
}

/* マイページコンテンツ */
.mypage-content {
    min-height: calc(100vh - 126px);
}

.mypage-inner-content {
    padding: 16px 0;
}

/* Flash message for mobile */
.flash-message {
    background-color: #ffeb3b;
    color: #333;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-weight: 500;
    font-size: 14px;
}

.gen-description {
    font-size: 14px;
    color: #a0aec0;
    margin-bottom: 16px;
    line-height: 1.6;
}

.gen-about {
    margin-top: 24px;
    padding: 16px;
    background: #2d3748;
    border-radius: 12px;
}

.gen-about h4 {
    color: #4fd1c7;
    margin-bottom: 8px;
}

.gen-about p {
    font-size: 13px;
    color: #a0aec0;
    line-height: 1.6;
}

/* 動画ギャラリー モバイル版 */
.mobile-video-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.video-card {
    background: #2d3748;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(77, 209, 199, 0.2);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(77, 209, 199, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a202c;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-overlay:hover {
    background: #4fd1c7;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.video-info {
    padding: 16px;
}

.video-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.4;
}

.video-description {
    font-size: 13px;
    color: #a0aec0;
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #718096;
    font-size: 12px;
}

.stat i {
    font-size: 14px;
}

.watch-btn {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #4fd1c7 0%, #38b2ac 100%);
    color: #1a202c;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.watch-btn:hover {
    background: linear-gradient(135deg, #38b2ac 0%, #319795 100%);
    transform: translateY(-1px);
}

/* チャット関連 モバイル版 */
.daily-gen-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.chat-main-area {
    flex: 1;
    min-height: 400px;
}

.chat-container {
    background: #2d3748;
    border-radius: 12px;
    padding: 16px;
    height: 400px;
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 16px;
    padding-right: 8px;
}

.chat-message {
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 8px;
    max-width: 85%;
    word-wrap: break-word;
}

.bot-message {
    background: linear-gradient(135deg, #4fd1c7 0%, #38b2ac 100%);
    color: #1a202c;
    margin-right: auto;
}

.user-message {
    background: #374151;
    color: #e2e8f0;
    margin-left: auto;
}

.message-time {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 4px;
}

.clearfix {
    clear: both;
}

.chat-input-area {
    display: flex;
    gap: 8px;
}

.chat-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #4a5568;
    border-radius: 8px;
    background: #1a202c;
    color: #e2e8f0;
    font-size: 14px;
}

.chat-send-btn {
    padding: 12px 16px;
    background: linear-gradient(135deg, #4fd1c7 0%, #38b2ac 100%);
    color: #1a202c;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-send-btn:disabled {
    background: #374151;
    color: #718096;
    cursor: not-allowed;
}

.settings-toggle-btn {
    position: fixed;
    bottom: 80px;
    right: 16px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #4fd1c7 0%, #38b2ac 100%);
    color: #1a202c;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(77, 209, 199, 0.3);
    z-index: 50;
}

.chat-settings-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 90%;
    max-width: 320px;
    height: 100vh;
    background: #2d3748;
    z-index: 1002;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 16px;
}

.chat-settings-panel.open {
    right: 0;
}

.settings-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #4a5568;
}

.close-btn {
    background: none;
    border: none;
    color: #e2e8f0;
    font-size: 24px;
    cursor: pointer;
}

.api-key-section {
    margin-bottom: 24px;
}

.api-key-section h4 {
    color: #4fd1c7;
    margin-bottom: 8px;
}

.api-key-section p {
    font-size: 13px;
    color: #a0aec0;
    margin-bottom: 12px;
}

.api-key-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #4a5568;
    border-radius: 8px;
    background: #1a202c;
    color: #e2e8f0;
    margin-bottom: 12px;
}

.api-key-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.api-key-save-btn, .api-key-delete-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.api-key-save-btn {
    background: linear-gradient(135deg, #4fd1c7 0%, #38b2ac 100%);
    color: #1a202c;
}

.api-key-delete-btn {
    background: #dc2626;
    color: white;
}

.api-key-delete-btn:disabled {
    background: #374151;
    color: #718096;
    cursor: not-allowed;
}

.model-info {
    font-size: 12px;
    color: #718096;
}

/* PDF関連 */
.pdf-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pdf-description {
    font-size: 14px;
    color: #a0aec0;
    margin-bottom: 16px;
}

.pdf-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #2d3748;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.pdf-item:hover {
    background: #374151;
    transform: translateY(-1px);
}

.pdf-icon {
    color: #dc2626;
    font-size: 24px;
}

.pdf-info {
    flex: 1;
}

.pdf-info h4 {
    color: #e2e8f0;
    margin-bottom: 4px;
    font-size: 14px;
}

.pdf-info p {
    color: #a0aec0;
    font-size: 12px;
}

.pdf-download-btn {
    background: linear-gradient(135deg, #4fd1c7 0%, #38b2ac 100%);
    color: #1a202c;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 会員設定 */
.email-settings {
    padding: 16px 0;
}

.setting-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #2d3748;
    border-radius: 12px;
    margin-bottom: 12px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #374151;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: #4fd1c7;
}

input:checked + .slider:before {
    transform: translateX(22px);
}

.slider.round {
    border-radius: 26px;
}

.slider.round:before {
    border-radius: 50%;
}

.email-notification-text {
    color: #e2e8f0;
    font-size: 14px;
}

/* クーポン関連 */
.coupon-card {
    background: #2d3748;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    border-left: 4px solid #4fd1c7;
}

.coupon-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.coupon-header h4 {
    color: #e2e8f0;
    font-size: 16px;
}

.coupon-discount {
    background: linear-gradient(135deg, #4fd1c7 0%, #38b2ac 100%);
    color: #1a202c;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
}

.coupon-description {
    color: #a0aec0;
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.coupon-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #4a5568;
}

.coupon-code {
    color: #4fd1c7;
    font-weight: 500;
}

.coupon-expiry {
    color: #718096;
}

.coupon-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #4fd1c7 0%, #38b2ac 100%);
    color: #1a202c;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(79, 209, 199, 0.4);
    border: none;
    text-transform: none;
    letter-spacing: 0.5px;
}

.coupon-btn:hover {
    background: linear-gradient(135deg, #38b2ac 0%, #319795 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(79, 209, 199, 0.5);
    color: #1a202c;
    text-decoration: none;
}

.coupon-btn i {
    font-size: 12px;
}

/* 検索機能のスタイル */
.search-section {
    padding: 16px;
}

.search-input-area {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #4a5568;
    border-radius: 8px;
    background-color: #2d3748;
    color: #e2e8f0;
    font-size: 14px;
}

.search-input:focus {
    outline: none;
    border-color: #4fd1c7;
    box-shadow: 0 0 0 2px rgba(79, 209, 199, 0.2);
}

.search-btn {
    background-color: #4fd1c7;
    color: #1a202c;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background-color: #38b2ac;
}

.search-results {
    margin-top: 16px;
}

.search-result-item, .bookmark-item {
    background: #2d3748;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    border-left: 3px solid #4fd1c7;
}

.search-result-item h4, .bookmark-item h4 {
    margin-bottom: 8px;
}

.search-result-item h4 a, .bookmark-item h4 a {
    color: #4fd1c7;
    text-decoration: none;
    font-size: 16px;
}

.search-result-item h4 a:hover, .bookmark-item h4 a:hover {
    text-decoration: underline;
}

.search-excerpt, .bookmark-excerpt {
    color: #a0aec0;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.search-meta, .bookmark-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.search-date, .bookmark-date {
    color: #718096;
}

.bookmark-btn, .remove-bookmark-btn {
    background: none;
    border: 1px solid #4fd1c7;
    color: #4fd1c7;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.bookmark-btn:hover, .remove-bookmark-btn:hover {
    background-color: #4fd1c7;
    color: #1a202c;
}

.bookmark-btn.bookmarked {
    background-color: #4fd1c7;
    color: #1a202c;
}

.loading, .no-results, .no-bookmarks, .search-error, .bookmark-error {
    text-align: center;
    color: #718096;
    padding: 32px 16px;
    font-style: italic;
}

/* ボトムナビのホバー効果 */
.nav-item {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nav-item:hover {
    background-color: rgba(79, 209, 199, 0.1);
}

/* ログイン要求画面 */
.login-required {
    text-align: center;
    padding: 40px 20px;
}

.login-required p {
    color: #a0aec0;
    margin-bottom: 20px;
    font-size: 14px;
}

.login-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #4fd1c7;
    color: #1a202c;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background-color: #38b2ac;
    transform: translateY(-1px);
}

.no-coupons, .no-pdfs {
    text-align: center;
    color: #718096;
    padding: 32px 16px;
    font-style: italic;
}

/* 動画モーダル モバイル版 */
.video-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.video-modal-content {
    background-color: #2d3748;
    margin: 5% auto;
    padding: 16px;
    border-radius: 12px;
    width: 95%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.close-video-modal {
    color: #e2e8f0;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.video-title-bar {
    color: #4fd1c7;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-right: 32px;
}

.video-container {
    margin-bottom: 16px;
}

.video-container video {
    width: 100%;
    border-radius: 8px;
}

.like-button-container {
    text-align: center;
    margin-bottom: 16px;
}

.like-button {
    background: none;
    border: 2px solid #4fd1c7;
    color: #4fd1c7;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.like-button.liked {
    background: #4fd1c7;
    color: #1a202c;
}

.video-comments-section {
    padding: 16px;
    background-color: #374151;
    border-radius: 8px;
    margin-top: 16px;
}

.video-comments-section h4 {
    color: #4fd1c7;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #4a5568;
}

.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #4a5568;
    border-radius: 8px;
    background: #1a202c;
    color: #e2e8f0;
    resize: vertical;
    margin-bottom: 12px;
    min-height: 80px;
}

.comment-author-options {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.comment-author-options label {
    color: #e2e8f0;
    font-size: 14px;
}

.comment-author-options input[type="text"] {
    flex: 1;
    min-width: 120px;
    padding: 8px;
    border: 1px solid #4a5568;
    border-radius: 6px;
    background: #1a202c;
    color: #e2e8f0;
}

.post-comment-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #4fd1c7 0%, #38b2ac 100%);
    color: #1a202c;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* ボトムナビゲーション */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2d3748;
    border-top: 1px solid #4a5568;
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    color: #718096;
    font-size: 12px;
    cursor: pointer;
    transition: color 0.3s ease;
    min-width: 0;
}

.nav-item.active {
    color: #4fd1c7;
}

.nav-item:hover {
    color: #4fd1c7;
}

.nav-item i {
    font-size: 16px;
}

.nav-item span {
    font-weight: 500;
    white-space: nowrap;
}

/* レスポンシブ調整 */
@media (max-width: 480px) {
    .quick-access {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .quick-item {
        padding: 12px 8px;
    }
    
    .quick-item span {
        font-size: 11px;
    }
    
    .main-content {
        padding: 12px;
    }
    
    .video-thumbnail {
        height: 160px;
    }
    
    .video-info {
        padding: 12px;
    }
    
    .video-title {
        font-size: 15px;
    }
    
    .video-description {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 360px) {
    .header-content {
        padding: 12px;
    }
    
    .logo span {
        display: none;
    }
    
    .quick-access {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }
    
    .quick-item {
        padding: 10px 6px;
    }
    
    .quick-item span {
        font-size: 10px;
    }
    
    .nav-item span {
        font-size: 11px;
    }
}

/* ダークモード強化 */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #0f1419;
    }
    
    .mobile-header {
        background: linear-gradient(135deg, #1e2328 0%, #0f1419 100%);
    }
    
    .slide-menu {
        background: linear-gradient(180deg, #1e2328 0%, #0f1419 100%);
    }
    
    .video-card {
        background: #1e2328;
    }
    
    .bottom-nav {
        background: #1e2328;
    }
    
    .quick-item {
        background: #1e2328;
    }
    
    .chat-container {
        background: #1e2328;
    }
    
    .chat-settings-panel {
        background: #1e2328;
    }
}