/* Updated 2026-05-05 v3 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
}

body.dark-mode {
    background: #1a1a1a;
    color: #e0e0e0;
}

#app {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
    position: relative;
    transition: background 0.3s;
}

body.dark-mode #app {
    background: #000;
}

/* ヘッダー */
#header {
    position: sticky;
    top: 0;
    background: linear-gradient(90deg, 
        #FFB3BA 0%,    /* パステルレッド */
        #FFDFBA 16%,   /* パステルオレンジ */
        #FFFFBA 33%,   /* パステルイエロー */
        #BAFFC9 50%,   /* パステルグリーン */
        #BAE1FF 66%,   /* パステルブルー */
        #D4BAFF 83%,   /* パステルパープル */
        #FFB3E6 100%   /* パステルピンク */
    );
    color: #333;
    padding: 12px 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 100;
    height: auto;
}

/* シングルポスト画面ではヘッダーのz-indexを下げる */
#singlePost.active ~ #header,
body:has(#singlePost.active) #header {
    z-index: 80;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    flex: 1;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-icon-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.header-icon-btn:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

.header-icon-btn.active {
    color: #333;
}

.header-icon-btn.active svg {
    fill: #FFD700;
    stroke: #333;
}

.header-left {
    flex: 1;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
    margin-bottom: 2px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.logo-link:hover .logo {
    opacity: 0.8;
}

.app-description {
    font-size: 11px;
    color: #555;
    margin: 0;
    line-height: 1.3;
}

.flower-count {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.7);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.flower-icon {
    font-size: 20px;
}

.unread-badge {
    margin-top: 8px;
    background: rgba(255,255,255,0.7);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 13px;
    text-align: center;
    color: #333;
    font-weight: 600;
}

.unread-badge.hidden {
    display: none;
}

/* 画面切り替え */
.screen {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.screen.active {
    display: block;
    position: relative;
    z-index: 10;
}

/* 検索ボックス */
.search-box {
    background: white;
    padding: 12px 16px;
    border-bottom: 1px solid #e1e8ed;
    transition: background 0.3s, border-color 0.3s;
}

body.dark-mode .search-box {
    background: #000;
    border-bottom: 1px solid #333;
}

.search-box.hidden {
    display: none;
}

.search-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #e1e8ed;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, background 0.3s, color 0.3s;
}

body.dark-mode .search-input {
    background: #1a1a1a;
    border-color: #333;
    color: #e0e0e0;
}

.search-input:focus {
    border-color: #666;
}

body.dark-mode .search-input:focus {
    border-color: #999;
}

.search-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s;
}

.search-close:hover {
    color: #333;
}

/* タイムライン */
.post-list {
    padding: 12px 0 50px 0;
}

.post-item {
    padding: 16px;
    border-bottom: 1px solid #e1e8ed;
    background: white;
    transition: background 0.2s;
}

body.dark-mode .post-item {
    background: #000;
    border-bottom: 1px solid #333;
}

.post-item:hover {
    background: #f9f9f9;
}

body.dark-mode .post-item:hover {
    background: #1a1a1a;
}

.post-item.unread {
    background: #f0f8ff;
}

body.dark-mode .post-item.unread {
    background: #1a2a3a;
}

.post-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.share-btn {
    margin-left: auto;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    border-radius: 4px;
}

.share-btn:hover {
    background: #f0f0f0;
    color: #666;
}

body.dark-mode .share-btn:hover {
    background: #2a2a2a;
    color: #ccc;
}

.post-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid #FFB3E6;
}

.post-user-info {
    flex: 1;
}

.post-name {
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    color: #333;
    transition: color 0.2s;
}

body.dark-mode .post-name {
    color: #e0e0e0;
}

.post-name:hover {
    color: #FF69B4;
}

.post-time {
    font-size: 13px;
    color: #657786;
}

.post-content {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 12px;
    white-space: pre-wrap;
    transition: color 0.3s;
}

body.dark-mode .post-content {
    color: #e0e0e0;
}

.post-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    margin: 12px 0;
    display: block;
    cursor: pointer;
    transition: opacity 0.2s;
}

.post-image:hover {
    opacity: 0.95;
}

.post-actions {
    display: flex;
    gap: 20px;
}

.action-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.action-btn:hover {
    background: #f0f0f0;
}

body.dark-mode .action-btn:hover {
    background: #2a2a2a;
}

.action-btn:active {
    transform: scale(0.95);
}

.action-btn.active {
    background: #ffe0e0;
}

.action-count {
    font-size: 13px;
    color: #657786;
}

/* プロフィール画面 */
.profile-content {
    padding: 20px 20px 60px 20px;
}

.profile-info-sticky {
    position: sticky;
    top: 85px;
    background: white;
    z-index: 50;
    padding: 16px 20px;
    border-bottom: 1px solid #e1e8ed;
    margin: -20px -20px 20px -20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: background 0.3s, border-color 0.3s;
}

body.dark-mode .profile-info-sticky {
    background: #000;
    border-bottom: 1px solid #333;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
}

.back-button {
    width: 36px;
    height: 36px;
    padding: 0;
    background: white;
    border: 2px solid #e1e8ed;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

body.dark-mode .back-button {
    background: #1a1a1a;
    border-color: #333;
}

.back-button:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

body.dark-mode .back-button:hover {
    background: #2a2a2a;
    border-color: #555;
}

.back-button svg {
    width: 20px;
    height: 20px;
    transition: stroke 0.3s;
}

body.dark-mode .back-button svg {
    stroke: #e0e0e0;
}

.profile-info-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FFB3E6;
    flex-shrink: 0;
}

.profile-name {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    transition: color 0.3s;
}

body.dark-mode .profile-name {
    color: #e0e0e0;
}

.profile-meta {
    font-size: 12px;
    color: #657786;
    margin: 0;
}

.favorite-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.favorite-btn:hover {
    transform: scale(1.15);
}

.favorite-btn svg {
    transition: all 0.2s;
}

.favorite-btn:hover svg {
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
}

.mute-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #999;
}

.mute-btn:hover {
    transform: scale(1.15);
    color: #666;
}

.mute-btn svg {
    transition: all 0.2s;
}

.mute-btn:hover svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.mute-btn.active {
    color: #FF6B6B;
}

.mute-btn.active svg {
    stroke: #FF6B6B;
}

.profile-bio {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 12px;
    margin-top: 20px;
    margin-bottom: 20px;
    transition: background 0.3s, color 0.3s;
}

body.dark-mode .profile-bio {
    background: #1a1a1a;
    color: #e0e0e0;
}

.profile-posts-title {
    font-size: 18px;
    font-weight: bold;
    margin: 30px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #FFB3E6;
    transition: color 0.3s;
}

body.dark-mode .profile-posts-title {
    color: #e0e0e0;
}

/* モーダル */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Cookie同意モーダルは設定メニューより上に表示 */
#cookieConsentModal {
    z-index: 10000;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 16px;
    max-width: 400px;
    min-width: 320px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: background 0.3s, color 0.3s;
}

body.dark-mode .modal-content {
    background: #1a1a1a;
    color: #e0e0e0;
}

.modal-content p {
    font-size: 16px;
    margin-bottom: 12px;
}

.modal-note {
    font-size: 13px;
    color: #657786;
}

.modal-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    justify-content: center;
}

.modal-buttons button {
    flex: 1;
    min-width: 120px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-cancel {
    background: #e1e8ed;
    color: #333;
}

.btn-cancel:hover {
    background: #d0d7de;
}

.btn-confirm {
    background: linear-gradient(90deg, #FFB3E6 0%, #D4BAFF 50%, #BAE1FF 100%);
    color: #333;
    font-weight: 600;
}

.btn-confirm:hover {
    opacity: 0.9;
}

.btn-confirm:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* 設定メニュー */
.settings-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.settings-menu.hidden {
    display: none;
}

.settings-content {
    background: white;
    border-radius: 16px;
    max-width: 400px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: background 0.3s;
}

body.dark-mode .settings-content {
    background: #1a1a1a;
}

.settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e1e8ed;
    transition: border-color 0.3s;
}

body.dark-mode .settings-header {
    border-bottom: 1px solid #333;
}

.settings-header h2 {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    transition: color 0.3s;
}

body.dark-mode .settings-header h2 {
    color: #e0e0e0;
}

.settings-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.settings-close:hover {
    color: #333;
}

.settings-list {
    padding: 8px 0;
}

.settings-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    text-align: left;
}

.settings-item:hover {
    background: #f5f5f5;
}

body.dark-mode .settings-item:hover {
    background: #2a2a2a;
}

.settings-item span {
    flex: 1;
    font-size: 15px;
    color: #333;
    transition: color 0.3s;
}

body.dark-mode .settings-item span {
    color: #e0e0e0;
}

.settings-badge {
    flex: none !important;
    background: #FFB3E6;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.settings-toggle {
    flex: none !important;
    font-size: 13px;
    color: #999;
}

/* リストコンテンツ */
.list-content {
    padding: 8px 0;
    min-height: 100px;
}

.list-empty {
    padding: 40px 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

.list-person-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s, border-color 0.3s;
}

body.dark-mode .list-person-item {
    border-bottom: 1px solid #333;
}

.list-person-item:hover {
    background: #f9f9f9;
}

body.dark-mode .list-person-item:hover {
    background: #2a2a2a;
}

.list-person-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #FFB3E6;
    cursor: pointer;
}

.list-person-name {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: color 0.2s;
}

body.dark-mode .list-person-name {
    color: #e0e0e0;
}

.list-person-name:hover {
    color: #FF69B4;
}

.list-action-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-action-btn:hover {
    transform: scale(1.15);
}

/* レスポンシブ */
@media (max-width: 600px) {
    #app {
        max-width: 100%;
    }
}

/* シングルポスト画面 */
#singlePost.screen {
    padding-top: 0;
    position: relative;
}

.single-post-content {
    padding: 0 0 80px 0;
}

.single-post-header {
    position: sticky;
    top: 85px;
    left: 0;
    right: 0;
    width: 100%;
    background: white;
    z-index: 95;
    padding: 16px 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: background 0.3s, border-color 0.3s;
    margin: 0;
}

body.dark-mode .single-post-header {
    background: #000;
}

.single-post-container {
    position: relative;
    padding-top: 0;
    z-index: 1;
    background: white;
}

body.dark-mode .single-post-container {
    background: #000;
}

.single-post-container .back-button {
    margin-bottom: 12px;
}

.single-post-profile {
    display: flex;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e1e8ed;
    background: white;
    transition: background 0.3s, border-color 0.3s;
}

body.dark-mode .single-post-profile {
    background: #000;
    border-bottom: 1px solid #333;
}

.single-post-main {
    background: white;
    z-index: 86;
    position: relative;
}

body.dark-mode .single-post-main {
    background: #000;
}

.single-post-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FFB3E6;
    flex-shrink: 0;
}

.single-post-info {
    flex: 1;
}

.single-post-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 4px;
    transition: color 0.3s;
}

body.dark-mode .single-post-name {
    color: #e0e0e0;
}

.single-post-meta {
    font-size: 13px;
    color: #657786;
    margin-bottom: 8px;
}

.single-post-bio {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    transition: color 0.3s;
}

body.dark-mode .single-post-bio {
    color: #ccc;
}

.single-post-main {
    padding: 20px;
    margin: 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e1e8ed;
    transition: background 0.3s, border-color 0.3s;
    z-index: 86;
    position: relative;
}

body.dark-mode .single-post-main {
    background: #000;
    border-color: #333;
}

.single-post-time {
    font-size: 13px;
    color: #657786;
    margin-bottom: 12px;
}

.single-post-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    white-space: pre-wrap;
    transition: color 0.3s;
}

body.dark-mode .single-post-text {
    color: #e0e0e0;
}

/* フッター */
#footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, 
        #FFB3BA 0%,
        #FFDFBA 16%,
        #FFFFBA 33%,
        #BAFFC9 50%,
        #BAE1FF 66%,
        #D4BAFF 83%,
        #FFB3E6 100%
    );
    padding: 8px 16px;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
    z-index: 99;
    max-width: 600px;
    margin: 0 auto;
    transition: border-color 0.3s;
}

body.dark-mode #footer {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.footer-link {
    color: #555;
    text-decoration: none;
    font-size: 9px;
    transition: color 0.2s;
}

body.dark-mode .footer-link {
    color: #333;
    font-weight: 600;
}

.footer-link:hover {
    color: #333;
    text-decoration: underline;
}

body.dark-mode .footer-link:hover {
    color: #000;
}

.footer-separator {
    color: #999;
    font-size: 9px;
}

body.dark-mode .footer-separator {
    color: #666;
}

.footer-copyright {
    font-size: 8px;
    color: #666;
    margin: 2px 0 0 0;
}

body.dark-mode .footer-copyright {
    color: #555;
    font-weight: 600;
}

/* Cookie同意バナー */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 2px solid #FFB3E6;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
    z-index: 9999;
    padding: 16px;
    animation: slideUp 0.3s ease-out;
}

.cookie-banner.hidden {
    display: none;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text strong {
    display: block;
    font-size: 16px;
    color: #333;
    margin-bottom: 4px;
}

.cookie-banner-text p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.cookie-banner-text a {
    color: #FF69B4;
    text-decoration: underline;
}

.cookie-banner-btn {
    background: linear-gradient(90deg, #FFB3E6 0%, #D4BAFF 50%, #BAE1FF 100%);
    color: #333;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.cookie-banner-btn:hover {
    opacity: 0.9;
}

/* モバイル対応 */
@media (max-width: 600px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-banner-btn {
        width: 100%;
    }
}

/* 共有モーダル */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    animation: fadeIn 0.2s ease-out;
}

.share-modal.active {
    display: flex;
}

.share-modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
}

body.dark-mode .share-modal-content {
    background: #1a1a1a;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e1e8ed;
}

body.dark-mode .share-modal-header {
    border-bottom-color: #333;
}

.share-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

body.dark-mode .share-modal-header h3 {
    color: #e0e0e0;
}

.share-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.share-modal-close:hover {
    background: #f0f0f0;
}

body.dark-mode .share-modal-close {
    color: #999;
}

body.dark-mode .share-modal-close:hover {
    background: #2a2a2a;
}

.share-modal-body {
    padding: 20px;
}

.share-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #000;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.share-option:hover {
    opacity: 0.9;
}

.share-option svg {
    flex-shrink: 0;
}

body.dark-mode .share-option {
    background: #000;
    color: white;
}

/* モーダル背景クリックで閉じる */
.share-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}
