:root{
    --bg:#0f0f10;
    --surface:#141416;
    --border:rgba(255,255,255,.05);

    --text:#f4f4f5;
    --muted:#a1a1aa;

    --accent:#3b82f6;
    --accent-hover:#2563eb;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}

body{
    font-family:'Inter', sans-serif;
    font-size:15px;
    line-height:1.65;
    letter-spacing:-0.01em;

    background:var(--bg);
    color:var(--text);
}

.container{
    width:min(760px,92%);
    margin:auto;
    padding:40px 0;
    overflow-x:hidden;
}

.logo{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    margin-bottom:12px;
    position:relative;
}

.logo img{
    height:42px;
    width:auto;
}

.header{
    text-align:center;
    margin-bottom:20px;
}

.header h1{
    font-size:1.25rem;
    font-weight:600;
    letter-spacing:-0.02em;
    line-height:1.2;
}

.header p{
    color:var(--muted);
}

.section-title{
    font-size:.9rem;
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:var(--muted);
    margin-bottom:12px;
}
h2.section-title{
    font-size:.85rem;
    font-weight:600;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:var(--muted);
    margin-bottom:12px;
}
h3,
h3.title{
    font-size:1rem;
    font-weight:600;
    letter-spacing:-0.02em;
    line-height:1.3;
    color:var(--text);
    margin:0;
}

.card,
.content-card,
.comment,
.link-item{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:16px;
}


.card{
    padding:20px;
    margin-bottom:14px;
}

.content-card{
    padding:24px;
    margin-bottom:14px;
    box-shadow:0 20px 60px rgba(0,0,0,.35);
}

.content-card h2{
    font-size:1.25rem;
    margin:16px 0 8px;
}

.content-card p{
    color:var(--muted);
    line-height:1.7;
    margin-bottom:12px;
}

.content-card ul{
    padding-left:18px;
    color:var(--muted);
}

.content-card li{
    margin-bottom:6px;
}

.link-item{
    display:flex;
    align-items:center;
    gap:12px;

    padding:14px;
    margin-bottom:10px;

    text-decoration:none;
    color:inherit;

    transition:all .15s ease;
}

.link-item:hover{
    transform:translateY(-1px);
    background:#17171a;
    border-color:rgba(59,130,246,.35);
}

.link-item.primary{
    border:1px solid #3b82f6;
    background:rgba(59,130,246,.08);
    box-shadow:
        0 0 0 1px rgba(59,130,246,.15),
        0 0 12px rgba(59,130,246,.20);
    color:#93c5fd;
}

.icon{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:rgba(255,255,255,.02);
    border:1px solid rgba(255,255,255,.04);
}

.icon svg{
    width:22px;
    height:22px;
    stroke:rgba(245,245,245,.72);
    stroke-width:1.8;
    fill:none;
}

.text .title{
    font-size:1rem;
    font-weight:600;
}

.text p{
    font-size:.85rem;
    color:var(--muted);
}

.badge{
    display:inline-block;
    padding:5px 10px;
    border-radius:999px;

    background:rgba(122,31,31,.10);
    color:#c9a1a1;

    font-size:.75rem;
    margin-bottom:10px;
}

button{
    background:var(--accent);
    border:1px solid rgba(255,255,255,.06);
    color:#fff;
    padding:10px 14px;
    border-radius:12px;
    font-size:.9rem;
    font-weight:500;
    cursor:pointer;
    transition:.15s ease;
}

button:hover{
    background:var(--accent-hover);
    transform:translateY(-1px);
}

textarea{
    width:100%;
    min-height:80px;
    padding:12px;
    border-radius:12px;
    background:var(--surface);
    border:1px solid var(--border);
    color:var(--text);
    outline:none;
}


.comment{
    font-size:.9rem;
    line-height:1.6;
    padding:14px;
    margin-bottom:10px;
}

#comment-list{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-top:10px;
}

.comment-body{
    flex:1;
}
.user-id{
    font-weight:600;
}

.user-id.user{
    color:#60a5fa;
}

.user-id.admin{
    color:#22c55e;
}

.comment-date{
    font-size:.75rem;
    color:var(--muted);
}

.reply-btn{
    margin-top:8px;
    font-size:.8rem;
    padding:6px 10px;
    border-radius:10px;
}

.reply{
    margin-top:8px;
    padding-left:10px;
    border-left:2px solid rgba(122,31,31,.4);
    font-size:.85rem;
    color:var(--muted);
}

.reply-form textarea{
    margin-top:8px;
    min-height:60px;
}

.about{
    display:flex;
    gap:12px;
    align-items:flex-start;
}

#main{
    width:100%;
    margin:0;
    padding:0;
}

.note{
    text-align:center;
    color:var(--muted);
    font-size:.85rem;
    margin-top:20px;
}


a{
    color:inherit;
    text-decoration:none;
}