/* /tiktok posting page */
.tt-wrap { max-width: 720px; margin-left: auto; margin-right: auto; }
.tt-card { padding: 22px; }
.tt-msg { background: rgba(185,0,0,.25); border: 1px solid rgba(255,90,90,.5); color: #fff; border-radius: 10px; padding: 12px 16px; margin-bottom: 14px; }
.tt-msg.ok { background: rgba(76,175,80,.2); border-color: rgba(76,175,80,.6); }
.tt-small { font-size: .86rem; color: #bbb; line-height: 1.5; }
.tt-right { text-align: right; }
.tt-warn { color: #ffb4a6; margin-top: 6px; }
.tt-note { background: rgba(255,255,255,.06); border-radius: 8px; padding: 8px 10px; margin-top: 8px; font-size: .9rem; }
.tt-label { display: block; font-weight: 700; margin: 18px 0 6px; }
.tt-card textarea, .tt-card select, .tt-card input[type=file] { width: 100%; box-sizing: border-box; background: rgba(0,0,0,.45);
  color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; padding: 10px 12px; font: inherit; }
.tt-card select:invalid { color: #aaa; }
.tt-card select option { color: #000; }
.tt-card select option:disabled { color: #888; }
#tt-preview { width: 100%; max-height: 420px; margin-top: 10px; border-radius: 8px; background: #000; }
.tt-checks { display: flex; flex-wrap: wrap; gap: 18px; }
.tt-checks label, .tt-aigc { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.tt-checks label.off { opacity: .45; cursor: not-allowed; }
.tt-aigc { margin-top: 16px; }
.tt-disclose { margin-top: 18px; padding: 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; }
.tt-switch { display: flex; align-items: center; gap: 10px; font-weight: 700; cursor: pointer; }
.tt-opt { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; cursor: pointer; }
.tt-opt.off { opacity: .45; cursor: not-allowed; }
.tt-consent { margin: 18px 0 12px; font-size: .92rem; }
.tt-who { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.12); }
.tt-who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #222; }
.tt-who-label { font-size: .8rem; color: #aaa; }
.tt-nick { font-weight: 700; }
.tt-who .tt-link { margin-left: auto; }
.tt-link { background: none; border: 0; color: #8fd694; cursor: pointer; text-decoration: underline; font: inherit; }
.tt-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 8px; border: 0; font: inherit;
  font-weight: 700; cursor: pointer; text-decoration: none; }
.tt-btn-tiktok { background: #fff; color: #000; margin-top: 8px; }
.tt-btn-post { background: #fe2c55; color: #fff; width: 100%; justify-content: center; }
.tt-btn:disabled { opacity: .45; cursor: not-allowed; }
.tt-progress { height: 8px; background: rgba(255,255,255,.12); border-radius: 4px; margin-top: 12px; overflow: hidden; }
#tt-bar { height: 100%; width: 0; background: #4CAF50; transition: width .2s; }
#tt-status { margin-top: 10px; }
@media (max-width: 600px) { .tt-card { padding: 16px; } .tt-checks { gap: 12px; } }
