.tc-card { padding: 28px; }
.tc-title-bar { background: linear-gradient(135deg, var(--site-dark) 0%, var(--site-dark-2) 100%); border-radius: 10px 10px 0 0; padding: 18px 24px; margin: -28px -28px 24px; }
.tc-title-bar h1 { color: #fff; margin: 0; font-size: 1.4em; text-align: center; }

.tc-body { display: flex; flex-direction: column; gap: 24px; }

/* ===== Current timestamp badge ===== */
.tc-now-badge { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; background: #f7f8fa; border: 1px solid #eee; border-radius: 12px; padding: 16px 20px; }
.tc-now-badge .tc-now-label { font-size: .82em; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: .05em; }
.tc-now-value { font-family: "Courier New", monospace; font-size: 1.5em; font-weight: 700; color: var(--site-dark); }
.tc-now-sub { font-size: .85em; color: #6b7280; }

/* ===== Sections ===== */
.tc-section { border: 1px solid #eee; border-radius: 12px; padding: 22px; }
.tc-section h3 { margin: 0 0 16px; font-size: 1.05em; display: flex; align-items: center; gap: 10px; }
.tc-section h3 i { color: var(--site-dark); }

/* ===== Timestamp -> date ===== */
.tc-input-row { display: flex; gap: 10px; flex-wrap: wrap; }
.tc-input-row input[type="text"] { flex: 1; min-width: 200px; border: 1px solid #ddd; border-radius: 8px; padding: 10px 14px; font-family: "Courier New", monospace; font-size: 1em; }
.tc-input-row input[type="text"]:focus { outline: none; border-color: var(--site-light); box-shadow: 0 0 0 3px rgba(20, 184, 166, .12); }
.tc-unit-badge { font-size: .78em; font-weight: 700; color: var(--site-dark); background: #ecfeff; border-radius: 20px; padding: 6px 14px; display: inline-flex; align-items: center; white-space: nowrap; }

.tc-result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 16px; }
.tc-result-box { background: #f7f8fa; border: 1px solid #eee; border-radius: 10px; padding: 14px 16px; }
.tc-result-box .tc-result-label { font-size: .78em; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.tc-result-box .tc-result-value { font-family: "Courier New", monospace; font-size: 1em; color: #23272f; word-break: break-word; }
.tc-relative-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; background: #fff7e6; color: #b45309; border-radius: 20px; padding: 8px 16px; font-size: .88em; font-weight: 600; }
.tc-relative-badge i { color: #f59e0b; }

/* ===== Date -> timestamp ===== */
.tc-picker-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.tc-picker-field { display: flex; flex-direction: column; gap: 6px; }
.tc-picker-field label { font-size: .82em; font-weight: 600; color: #6b7280; }
.tc-picker-field input { border: 1px solid #ddd; border-radius: 8px; padding: 10px 14px; font-size: .95em; }
.tc-picker-field input:focus { outline: none; border-color: var(--site-light); box-shadow: 0 0 0 3px rgba(20, 184, 166, .12); }
.tc-now-btn { background: var(--site-light); color: #fff; border: none; border-radius: 8px; padding: 10px 18px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.tc-now-btn:hover { background: var(--site-dark); }

.tc-copy-btn { background: none; border: 1px solid #ddd; border-radius: 8px; padding: 4px 10px; cursor: pointer; color: #6b7280; margin-left: 8px; transition: background .15s ease, color .15s ease; }
.tc-copy-btn:hover { background: #f0fdfa; color: var(--site-dark); border-color: var(--site-light); }
.tc-copy-btn.tc-copied { background: #d1fae5; color: var(--site-success); border-color: var(--site-success); }
.tc-value-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.tc-error { background: var(--site-danger-bg); border: 1px solid var(--site-danger-border); color: var(--site-danger); border-radius: 8px; padding: 10px 14px; font-size: .88em; margin-top: 12px; }
.tc-error.hide { display: none; }

@media (max-width: 600px) {
    .tc-title-bar { margin: -20px -20px 20px; padding: 16px 18px; }
    .tc-section { padding: 16px; }
    .tc-now-value { font-size: 1.2em; }
}
