* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'メイリオ', 'Meiryo', sans-serif;
    background-color: #f5f5f5;
    color: #666;
    line-height: 1.6;
    padding: 20px;
    /* 意図的に退屈なデザイン */
    background-image: linear-gradient(0deg, #f5f5f5 0%, #f0f0f0 100%);
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

h1 {
    font-size: 24px;
    color: #999;
    margin-bottom: 10px;
    text-align: center;
    font-weight: normal;
    letter-spacing: -0.5px;
}

.subtitle {
    text-align: center;
    color: #aaa;
    font-size: 14px;
    margin-bottom: 30px;
}

.settings {
    background-color: #fafafa;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.setting-group {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.setting-group label {
    color: #888;
    font-size: 14px;
    min-width: 120px;
}

select {
    padding: 5px 10px;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #666;
    font-size: 14px;
    cursor: pointer;
}

input[type="range"] {
    flex: 1;
    height: 5px;
    background: #e0e0e0;
    outline: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

input[type="range"]:hover {
    opacity: 1;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: #999;
    cursor: pointer;
    border-radius: 50%;
}

.generate-btn {
    width: 100%;
    padding: 12px;
    background-color: #d0d0d0;
    color: #666;
    border: 1px solid #bbb;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-bottom: 20px;
}

.generate-btn:hover {
    background-color: #c0c0c0;
}

.generate-btn:active {
    background-color: #b0b0b0;
}

.post-container {
    background-color: #fefefe;
    border: 1px solid #e0e0e0;
    padding: 20px;
    margin-bottom: 20px;
    min-height: 150px;
}

.post-content {
    color: #555;
    font-size: 15px;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin-bottom: 15px;
}

.post-content.twitter {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.post-content.instagram {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.3;
}

.post-content.facebook {
    font-family: Helvetica, Arial, sans-serif;
    line-height: 1.4;
}

.post-content.linkedin {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
}

.post-stats {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #999;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 5px;
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.action-btn {
    flex: 1;
    padding: 10px;
    background-color: #e8e8e8;
    color: #666;
    border: 1px solid #ccc;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.action-btn:hover {
    background-color: #e0e0e0;
}

.action-btn.copied {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.tips {
    background-color: #f9f9f9;
    padding: 20px;
    border: 1px solid #eee;
}

.tips h3 {
    font-size: 16px;
    color: #888;
    margin-bottom: 10px;
    font-weight: normal;
}

.tips ul {
    list-style: none;
    padding-left: 0;
}

.tips li {
    color: #999;
    font-size: 14px;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.tips li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: #ccc;
}

/* モバイル対応 */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 20px;
    }
    
    h1 {
        font-size: 20px;
    }
    
    .setting-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .setting-group label {
        min-width: auto;
    }
    
    input[type="range"] {
        width: 100%;
    }
}

/* タッチデバイスでのハイライト無効化 */
* {
    -webkit-tap-highlight-color: transparent;
}

/* 退屈なスクロールバー */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}