:root{--tpp-accent:#1d9bf0;--tpp-bg:#f5f8fb;--tpp-card:#fff;--tpp-text:#0f172a;--tpp-muted:#64748b;--tpp-border:#e2e8f0;--tpp-shadow:0 18px 50px rgba(15,23,42,.08)}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at top left,rgba(29,155,240,.10),transparent 35%),var(--tpp-bg);color:var(--tpp-text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.tpp-shell{display:grid;grid-template-columns:260px minmax(0,680px) 320px;gap:22px;max-width:1320px;margin:0 auto;padding:18px}.tpp-sidebar-left,.tpp-sidebar-right{position:sticky;top:18px;height:calc(100vh - 36px);align-self:start}.tpp-brand{margin-bottom:18px}.tpp-logo{font-size:22px;font-weight:900;color:var(--tpp-accent)}.tpp-nav{display:grid;gap:8px}.tpp-nav a{padding:13px 16px;border-radius:999px;font-weight:750;color:#1e293b}.tpp-nav a:hover{background:rgba(29,155,240,.10);color:var(--tpp-accent)}.tpp-auth-actions{margin-top:20px;display:grid;gap:10px}.tpp-post-btn,.tpp-login-btn,.tpp-register-btn{display:flex;align-items:center;justify-content:center;min-height:46px;border-radius:999px;font-weight:800}.tpp-post-btn,.tpp-login-btn{background:var(--tpp-accent);color:#fff;box-shadow:0 12px 28px rgba(29,155,240,.25)}.tpp-register-btn{border:1px solid var(--tpp-accent);color:var(--tpp-accent)}.tpp-main{min-width:0}.tpp-feed-head,.tpp-single-card,.tpp-author-hero,.tpp-comments,.tpp-widget{background:rgba(255,255,255,.86);backdrop-filter:blur(12px);border:1px solid rgba(226,232,240,.9);border-radius:24px;box-shadow:var(--tpp-shadow)}.tpp-feed-head{padding:22px;margin-bottom:16px}.tpp-feed-head h1,.tpp-feed-head h2{margin:0 0 6px;font-size:28px}.tpp-feed-head p{margin:0;color:var(--tpp-muted)}.tpp-feed-tabs{display:flex;gap:8px;margin-top:18px}.tpp-feed-tabs a{padding:9px 14px;border-radius:999px;color:var(--tpp-muted);font-weight:800}.tpp-feed-tabs .active{background:rgba(29,155,240,.12);color:var(--tpp-accent)}.tpp-feed-list{display:grid;gap:14px}.tpp-feed-card{display:grid;grid-template-columns:48px 1fr;gap:12px;padding:18px;background:var(--tpp-card);border:1px solid var(--tpp-border);border-radius:24px;box-shadow:0 10px 26px rgba(15,23,42,.04);transition:.2s}.tpp-feed-card:hover{transform:translateY(-2px);box-shadow:var(--tpp-shadow)}.tpp-feed-avatar img{border-radius:999px}.tpp-feed-meta{display:flex;flex-wrap:wrap;gap:5px;align-items:center;color:var(--tpp-muted);font-size:14px}.tpp-feed-meta strong a{color:var(--tpp-text)}.tpp-user-handle{color:var(--tpp-accent)}.tpp-feed-card h2{font-size:19px;line-height:1.35;margin:8px 0}.tpp-feed-card p{margin:0 0 12px;color:#334155;line-height:1.65}.tpp-feed-thumb img{border-radius:18px;border:1px solid var(--tpp-border);display:block}.tpp-feed-actions{display:flex;gap:18px;margin-top:14px;color:var(--tpp-muted);font-size:14px}.tpp-feed-actions button{border:0;background:transparent;color:inherit;cursor:pointer;font:inherit}.tpp-like.liked{color:#e11d48}.tpp-widget{padding:18px;margin-bottom:16px}.tpp-widget h3{margin:0 0 12px}.tpp-widget ul{padding-left:18px}.tpp-widget li{margin-bottom:10px}.tpp-single-card{padding:24px;margin-bottom:18px}.tpp-single-author{display:flex;gap:12px;align-items:center;margin-bottom:18px;color:var(--tpp-muted)}.tpp-single-author img{border-radius:999px}.tpp-single-author strong{display:block;color:var(--tpp-text)}.tpp-single-author a{color:var(--tpp-accent)}.tpp-single-card h1{font-size:34px;line-height:1.18;margin:0 0 18px}.tpp-single-thumb img{border-radius:22px;margin-bottom:20px}.tpp-content{line-height:1.8;font-size:17px}.tpp-content a{color:var(--tpp-accent);text-decoration:underline}.tpp-author-hero{overflow:hidden;margin-bottom:16px}.tpp-author-cover{height:155px;background:radial-gradient(circle at 20% 20%,rgba(255,255,255,.45),transparent 25%),linear-gradient(135deg,var(--tpp-accent),#7c3aed)}.tpp-author-info{padding:0 24px 24px}.tpp-author-avatar{width:106px;height:106px;margin-top:-53px;padding:5px;border-radius:999px;background:var(--tpp-card)}.tpp-author-avatar img{border-radius:999px}.tpp-author-info h1{font-size:30px;margin:12px 0 4px}.tpp-author-handle a{color:var(--tpp-accent);font-weight:800}.tpp-author-bio{color:#475569;line-height:1.7}.tpp-search-modal{position:fixed;inset:0;z-index:99999;display:none;align-items:flex-start;justify-content:center;padding:90px 18px;background:rgba(15,23,42,.56);backdrop-filter:blur(8px)}.tpp-search-modal.is-active{display:flex}.tpp-search-box{width:min(560px,100%);position:relative;padding:24px;border-radius:24px;background:#fff;box-shadow:0 30px 80px rgba(15,23,42,.25)}.tpp-search-box form{display:flex;gap:10px}.tpp-search-box input{flex:1;height:50px;padding:0 16px;border:1px solid #dbe3ef;border-radius:999px}.tpp-search-box button[type=submit]{height:50px;padding:0 22px;border:0;border-radius:999px;background:var(--tpp-accent);color:#fff;font-weight:800}.tpp-search-close{position:absolute;right:14px;top:8px;border:0;background:transparent;font-size:30px;cursor:pointer}.custom-auth-box{max-width:430px;margin:60px auto;padding:28px;background:#fff;border-radius:24px;box-shadow:var(--tpp-shadow);border:1px solid var(--tpp-border)}.custom-auth-box h2{margin:0 0 20px;font-size:28px}.custom-auth-box label{display:block;margin:12px 0 6px;font-weight:700}.custom-auth-box input[type=text],.custom-auth-box input[type=email],.custom-auth-box input[type=password]{width:100%;padding:13px 15px;border:1px solid #dbe3ef;border-radius:14px}.custom-auth-box button{width:100%;margin-top:18px;padding:14px;border:0;border-radius:999px;background:var(--tpp-accent);color:#fff;font-weight:800;cursor:pointer}.auth-check{display:flex!important;gap:8px;align-items:center}.auth-error{padding:12px;background:#fee2e2;color:#991b1b;border-radius:12px;margin-bottom:15px}.auth-success{padding:12px;background:#dcfce7;color:#166534;border-radius:12px;margin-bottom:15px}.tpp-comments{padding:22px;margin-bottom:24px}.tpp-comments h2{margin:0 0 18px}.tpp-comment-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}.tpp-comment-card{display:flex;gap:12px;padding:14px;border:1px solid var(--tpp-border);border-radius:18px;background:#fff}.tpp-comment-avatar img{border-radius:999px}.tpp-comment-meta{display:flex;gap:8px;align-items:center;color:var(--tpp-muted);font-size:14px}.tpp-comment-meta strong{color:var(--tpp-text)}.tpp-comment-text{line-height:1.7}.tpp-comment-reply a{font-size:13px;color:var(--tpp-accent);font-weight:800}.tpp-comment-form-wrap textarea{width:100%;border:1px solid var(--tpp-border);border-radius:18px;padding:14px}.tpp-comment-form-wrap input[type=text],.tpp-comment-form-wrap input[type=email],.tpp-comment-form-wrap input[type=url]{width:100%;border:1px solid var(--tpp-border);border-radius:14px;padding:12px}.tpp-comment-form-wrap .submit{border:0;border-radius:999px;background:var(--tpp-accent);color:#fff;font-weight:800;padding:13px 20px}.tpp-load-more{display:block;margin:18px auto 40px;border:0;border-radius:999px;padding:13px 24px;background:var(--tpp-accent);color:#fff;font-weight:800;cursor:pointer}.tpp-empty{padding:22px;border-radius:20px;background:#fff;border:1px solid var(--tpp-border);color:var(--tpp-muted)}.tpp-mobile-nav{display:none}
@media(max-width:1100px){.tpp-shell{grid-template-columns:220px minmax(0,1fr)}.tpp-sidebar-right{display:none}}
@media(max-width:760px){body{padding-bottom:74px}.tpp-shell{display:block;padding:10px}.tpp-sidebar-left,.tpp-sidebar-right{display:none}.tpp-feed-head,.tpp-single-card,.tpp-author-hero,.tpp-comments{border-radius:20px}.tpp-feed-card{grid-template-columns:42px 1fr;padding:14px;border-radius:20px}.tpp-feed-avatar img{width:42px;height:42px}.tpp-single-card h1{font-size:28px}.tpp-mobile-nav{position:fixed;left:10px;right:10px;bottom:10px;z-index:9999;display:grid;grid-template-columns:repeat(3,1fr);background:rgba(255,255,255,.92);border:1px solid var(--tpp-border);border-radius:24px;box-shadow:0 18px 45px rgba(15,23,42,.16);backdrop-filter:blur(12px);overflow:hidden}.tpp-mobile-nav a{display:flex;flex-direction:column;align-items:center;gap:2px;padding:9px 4px;font-weight:800;color:#334155}.tpp-mobile-nav span{font-size:11px}.tpp-search-box form{display:grid}.tpp-search-box button[type=submit]{width:100%}}
@media(prefers-color-scheme:dark){body{--tpp-bg:#07111f;--tpp-card:#0f172a;--tpp-text:#e5edf7;--tpp-muted:#94a3b8;--tpp-border:#1e293b;background:#07111f}.tpp-feed-head,.tpp-single-card,.tpp-author-hero,.tpp-comments,.tpp-widget,.tpp-feed-card,.tpp-comment-card,.custom-auth-box{background:#0f172a;border-color:#1e293b}.tpp-feed-card p,.tpp-author-bio{color:#cbd5e1}.tpp-search-box{background:#0f172a}.tpp-search-box input,.custom-auth-box input,.tpp-comment-form-wrap textarea,.tpp-comment-form-wrap input[type=text],.tpp-comment-form-wrap input[type=email],.tpp-comment-form-wrap input[type=url]{background:#020617;color:#e5edf7;border-color:#1e293b}.tpp-mobile-nav{background:rgba(15,23,42,.94);border-color:#1e293b}.tpp-mobile-nav a{color:#e5edf7}}

/*
|--------------------------------------------------------------------------
| ThreadPress V2 Additions: author profile, typography, hashtags, anti-spam
|--------------------------------------------------------------------------
*/
html,body,button,input,textarea,select{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{font-size:15px;line-height:1.75;font-weight:400}.tpp-content,.tpp-content p{font-size:15px;line-height:1.8;font-weight:400}.tpp-single-card>h1,.tpp-single-card h1{font-size:clamp(25px,3vw,32px);line-height:1.25;font-weight:650;letter-spacing:-.02em;margin:18px 0 16px}.tpp-content h2{font-size:clamp(21px,2.5vw,26px);line-height:1.35;font-weight:630;letter-spacing:-.015em;margin:28px 0 12px}.tpp-content h3{font-size:clamp(18px,2vw,21px);line-height:1.4;font-weight:620;letter-spacing:-.01em;margin:24px 0 10px}.tpp-content h4{font-size:16.5px;line-height:1.45;font-weight:600;margin:20px 0 8px}.tpp-sidebar-right h3,.tpp-widget h3{font-size:16.5px;line-height:1.35;font-weight:620}.tpp-comments-head h2,.tpp-reply-title{font-size:19px;line-height:1.35;font-weight:630}
.tpp-author-hero{overflow:hidden;margin-bottom:22px;border:1px solid var(--tpp-border,#e5e7eb);border-radius:28px;background:var(--tpp-card,#fff);box-shadow:0 18px 50px rgba(15,23,42,.08)}.tpp-author-cover{position:relative;height:230px;background:radial-gradient(circle at 20% 20%,rgba(29,155,240,.45),transparent 34%),radial-gradient(circle at 85% 10%,rgba(124,58,237,.38),transparent 32%),linear-gradient(135deg,#0f172a,#1d9bf0 48%,#7c3aed);background-size:cover;background-position:center;background-repeat:no-repeat}.tpp-author-cover-overlay{position:absolute;inset:0;background:linear-gradient(to bottom,rgba(15,23,42,.05),rgba(15,23,42,.42)),radial-gradient(circle at center,transparent 30%,rgba(15,23,42,.18))}.tpp-author-info{position:relative;padding:0 26px 28px}.tpp-author-avatar-wrap{position:relative;width:132px;height:132px;margin-top:-66px;padding:5px;border-radius:999px;background:var(--tpp-card,#fff);box-shadow:0 14px 34px rgba(15,23,42,.2)}.tpp-author-avatar{width:122px;height:122px;overflow:hidden;border-radius:999px;background:#f1f5f9;display:flex;align-items:center;justify-content:center}.tpp-author-avatar img,.tpp-feed-avatar img,.tpp-single-avatar img{width:100%;height:100%;display:block;border-radius:999px;object-fit:cover;object-position:center 35%;vertical-align:middle}.tpp-author-info h1{font-size:clamp(24px,3vw,30px);line-height:1.18;font-weight:700;letter-spacing:-.02em;margin:16px 0 4px}.tpp-author-handle{margin-top:4px;font-size:15px}.tpp-author-handle a,.tpp-hashtag{color:var(--tpp-accent,#1d9bf0);font-weight:700;text-decoration:none}.tpp-author-handle a:hover,.tpp-hashtag:hover{text-decoration:underline}.tpp-author-bio{max-width:680px;margin-top:14px;color:var(--tpp-muted,#64748b);font-size:15px;line-height:1.7}.tpp-context-badge{display:inline-flex;margin-top:12px;padding:7px 12px;border-radius:999px;background:rgba(29,155,240,.1);color:var(--tpp-accent,#1d9bf0);font-size:13px;font-weight:700}.tpp-feed-avatar,.tpp-single-avatar{overflow:hidden;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}.tpp-feed-avatar{width:48px;height:48px}.tpp-single-avatar{width:52px;height:52px}.tpp-hp-field{position:absolute!important;left:-9999px!important;top:auto!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important;pointer-events:none!important}
body.tpp-dark .tpp-author-hero{background:#0f172a;border-color:rgba(148,163,184,.18)}body.tpp-dark .tpp-author-avatar-wrap{background:#0f172a}body.tpp-dark .tpp-author-info h1{color:#f8fafc}body.tpp-dark .tpp-author-bio{color:#94a3b8}@media(max-width:640px){.tpp-single-card>h1,.tpp-single-card h1{font-size:25px}.tpp-content h2{font-size:21px}.tpp-content h3{font-size:18.5px}.tpp-content h4{font-size:16px}.tpp-content,.tpp-content p{font-size:14.5px}.tpp-author-hero{border-radius:0 0 24px 24px;margin-left:-14px;margin-right:-14px}.tpp-author-cover{height:165px}.tpp-author-info{padding:0 18px 24px}.tpp-author-avatar-wrap{width:108px;height:108px;margin-top:-54px}.tpp-author-avatar{width:98px;height:98px}.tpp-author-info h1{font-size:24px}}



/*
|--------------------------------------------------------------------------
| FIX Profile Photo / Author Avatar
|--------------------------------------------------------------------------
*/

.tpp-author-avatar-wrap {
    width: 132px !important;
    height: 132px !important;
    margin-top: -66px !important;
    padding: 5px !important;
    border-radius: 50% !important;
    background: var(--tpp-card, #fff) !important;
    box-shadow: 0 14px 34px rgba(15,23,42,.2) !important;
    box-sizing: border-box !important;
}

.tpp-author-avatar {
    width: 122px !important;
    height: 122px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    background: #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.tpp-author-avatar img,
.tpp-author-avatar .avatar {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-width: 100% !important;
    min-height: 100% !important;
    display: block !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center center !important;
    vertical-align: middle !important;
}

/* Jika author.php belum memakai .tpp-author-avatar-wrap */
.tpp-author-info > .tpp-author-avatar {
    width: 106px !important;
    height: 106px !important;
    margin-top: -53px !important;
    padding: 5px !important;
    border-radius: 50% !important;
    background: var(--tpp-card, #fff) !important;
}

.tpp-author-info > .tpp-author-avatar img {
    width: 96px !important;
    height: 96px !important;
    object-fit: cover !important;
    object-position: center center !important;
}

/* Mobile */
@media (max-width: 640px) {
    .tpp-author-avatar-wrap {
        width: 108px !important;
        height: 108px !important;
        margin-top: -54px !important;
    }

    .tpp-author-avatar {
        width: 98px !important;
        height: 98px !important;
    }
}