body{
    max-width:900px;
    margin:auto;
    padding:20px;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    line-height:1.6;
    background:#f7f7f7;
    color:#222;
}

h1,h2,h3{
    margin-top:0;
}

a{
    color:#0066cc;
    text-decoration:none;
}

a:hover{
    text-decoration:underline;
}

hr{
    border:none;
    border-top:1px solid #ddd;
    margin:25px 0;
}

form{
    margin:20px 0;
}

textarea{
    width:100%;
    box-sizing:border-box;
    padding:10px;
    border:1px solid #ccc;
    border-radius:6px;
    font-size:14px;
}

button{
    padding:10px 18px;
    border:none;
    border-radius:6px;
    cursor:pointer;
    background:#0066cc;
    color:#fff;
    font-size:14px;
}

button:hover{
    opacity:0.9;
}

.post{
    background:#fff;
    border:1px solid #ddd;
    border-radius:10px;
    padding:15px;
    margin:20px 0;
    box-shadow:0 1px 3px rgba(0,0,0,.08);
}

.post-url{
    word-break:break-all;
    font-size:13px;
    color:#666;
    margin-bottom:10px;
}

.post-embed{
    max-height:180px;
    overflow:hidden;
    pointer-events:none;
    border:1px solid #eee;
    border-radius:8px;
    background:#fafafa;
    padding:10px;
}

.fake{
    color:#d32f2f;
    font-weight:bold;
}

.unknown{
    color:#f57c00;
    font-weight:bold;
}

.fact{
    color:#2e7d32;
    font-weight:bold;
}

.vote-result{
    font-size:18px;
    line-height:2;
}

.comment-box{
    background:#fff;
    border:1px solid #ddd;
    border-radius:8px;
    padding:12px;
    margin:12px 0;
}

.comment-date{
    color:#777;
    font-size:13px;
}

.comment-vote{
    font-weight:bold;
    margin:8px 0;
}

.embed-full{
    background:#fff;
    padding:15px;
    border-radius:10px;
    border:1px solid #ddd;
    margin-bottom:20px;
}

.vote-buttons{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.vote-buttons button{
    flex:1;
    min-width:120px;
}

.vote-fake{
    background:#d32f2f;
}

.vote-unknown{
    background:#f57c00;
}

.vote-fact{
    background:#2e7d32;
}

.stats{
    background:#fff;
    border:1px solid #ddd;
    border-radius:10px;
    padding:15px;
}


@media (max-width:700px){

    body{
        padding:12px;
    }

    .vote-buttons{
        flex-direction:column;
    }

    button{
        width:100%;
    }

    .post{
        padding:12px;
    }

}

.detail-btn{
    display:inline-block;
    margin-top:10px;
    padding:10px 20px;
    background:#2563eb;
    color:#fff;
    text-decoration:none;
    border-radius:999px;
    font-weight:bold;
    box-shadow:0 2px 8px rgba(0,0,0,.15);
    transition:.2s;
}

.detail-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 4px 12px rgba(0,0,0,.2);
}
