.tc-post--ad { border: 1px solid #f7b900; box-shadow: 0 10px 32px rgba(255,75,57,.08); }
.tc-post__ad-label { display: inline-flex; align-items: center; justify-content: center; order: 99; padding: 2px 4px; border-radius: 7px; color: #f7b900; background: #fff; border: 1px solid #d8d8d4; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.tc-ads-page { min-height: 85vh; background: #fffaf7; }
.tc-ads-wrap { padding-top: 34px; padding-bottom: 70px; }
.tc-ads-back { display: inline-flex; margin-bottom: 20px; color: #b23f30; text-decoration: none; font-weight: 700; }
.tc-ads-hero { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px; border-radius: 20px; background: linear-gradient(120deg,#fff0e8,#fffaf6); border: 1px solid #ffe0d6; }
.tc-ads-hero h1 { margin: 8px 0; color: #2d2421; font-size: clamp(27px, 4vw, 42px); }
.tc-ads-hero p { margin: 0; color: #685c55; max-width: 620px; line-height: 1.55; }
.tc-ads-balance { display: grid; gap: 6px; min-width: 170px; padding: 18px; border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgba(70,35,20,.06); }
.tc-ads-balance small { color: #6c625d; }.tc-ads-balance strong { color: #e84633; font-size: 24px; }
.tc-ads-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 20px; margin-top: 24px; }
.tc-ads-panel { padding: 24px; background: #fff; border: 1px solid #eee4df; border-radius: 18px; box-shadow: 0 8px 28px rgba(30,20,12,.04); }
.tc-ads-panel h2 { margin: 0 0 10px; font-size: 22px; color: #312724; }.tc-ads-panel p { color: #746862; line-height: 1.5; }
.tc-ads-form, .tc-ads-form label { display: grid; gap: 8px; }.tc-ads-form { gap: 16px; margin-top: 20px; }.tc-ads-form label { color: #493f3b; font-size: 14px; font-weight: 700; }
.tc-ads-form select, .tc-ads-form input { min-width: 0; width: 100%; height: 46px; padding: 0 12px; border: 1px solid #decfc7; border-radius: 10px; color: #322d2a; background: #fff; font: inherit; }
.tc-ads-form :is(input,select):focus { outline: 2px solid #ff4b39; outline-offset: 1px; }
.tc-ads-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.tc-ads-estimate { display: flex; justify-content: space-between; gap: 10px; padding: 15px; border-radius: 12px; background: #fff3ed; }.tc-ads-estimate strong { color: #d94130; }
.tc-ads-note { margin: 0; font-size: 13px; }.tc-ads-alert { margin-top: 18px; padding: 13px 16px; border-radius: 10px; color: #165a39; background: #e8f7ed; }.tc-ads-alert--error { color: #9f3028; background: #fff0ed; }
.tc-ads-row { display: flex; justify-content: space-between; gap: 14px; padding: 17px 0; border-bottom: 1px solid #f0e7e3; }.tc-ads-row:last-child { border-bottom: 0; }.tc-ads-row > div:first-child { min-width: 0; }.tc-ads-row strong { color: #312724; overflow-wrap: anywhere; }.tc-ads-row small { display: block; margin-top: 5px; color: #756964; }
.tc-ads-row__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }.tc-ads-row__actions form { margin: 0; }.tc-ads-row__actions a,.tc-ads-row__actions button { padding: 6px 10px; border-radius: 8px; border: 1px solid #ffd0c6; background: #fff7f4; color: #bd3d2f; font: inherit; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer; }
.tc-ads-admin .tca-card { margin-bottom: 15px; }.tc-ads-admin textarea { width: 100%; margin: 8px 0; }
@media (max-width: 800px) { .tc-ads-grid { grid-template-columns: 1fr; }.tc-ads-hero { align-items: stretch; flex-direction: column; }.tc-ads-balance { min-width: 0; }.tc-ads-wrap { padding-top: 20px; }.tc-ads-panel { padding: 18px; } }
@media (max-width: 430px) { .tc-ads-fields { grid-template-columns: 1fr; }.tc-ads-row { flex-direction: column; }.tc-ads-row__actions { flex-direction: row; align-items: flex-start; flex-wrap: wrap; } }
