/* Utilix — Time Converter (tmcv-) */
:root {
    --tmcv-accent: #0891b2;
    --tmcv-accent-light: #cffafe;
    --tmcv-accent-dark: #0e7490;
    --tmcv-accent-border: #67e8f9;
}

.tmcv-hero { padding-bottom: 40px; }
.tmcv-hero__grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: center; }
.tmcv-hero__main { display: flex; gap: 20px; align-items: flex-start; }
.tmcv-hero__visual { display: flex; align-items: center; justify-content: center; min-height: 240px; }

.tmcv-main { padding: 0 0 48px; }
.tmcv-section-head { margin-bottom: 24px; }
.tmcv-section-head h2 { margin: 0 0 8px; font-size: 1.25rem; font-weight: 800; color: var(--heading); }
.tmcv-section-head p { margin: 0; font-size: .875rem; color: #64748b; }
.tmcv-section-head--center { text-align: center; }
.tmcv-section-head--center p { margin: 0 auto; max-width: 560px; }
.tmcv-section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tmcv-section-eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; font-size: .75rem; font-weight: 700; color: var(--tmcv-accent); background: var(--tmcv-accent-light); border-radius: 999px; margin-bottom: 12px; }
.tmcv-section-eyebrow i { width: 14px; height: 14px; }
.tmcv-link { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 700; color: var(--tmcv-accent); text-decoration: none; }
.tmcv-link i { width: 16px; height: 16px; }

.tmcv-mode-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 32px; }
.tmcv-mode-btn { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 8px 12px; background: #fff; border: 2px solid #e8ecf1; border-radius: 16px; cursor: pointer; text-align: center; transition: border-color .2s, box-shadow .2s, transform .15s; font-family: inherit; }
.tmcv-mode-btn__num { position: absolute; top: 8px; left: 10px; font-size: .5625rem; font-weight: 800; color: #94a3b8; }
.tmcv-mode-btn:hover { border-color: var(--tmcv-accent-border); box-shadow: 0 6px 20px rgba(8,145,178,.12); transform: translateY(-2px); }
.tmcv-mode-btn.is-active { border-color: var(--tmcv-accent); background: linear-gradient(180deg, #ecfeff 0%, #fff 100%); box-shadow: 0 4px 20px rgba(8,145,178,.15); }
.tmcv-mode-btn__icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; margin-top: 4px; }
.tmcv-mode-btn__icon i { width: 22px; height: 22px; }
.tmcv-mode-btn strong { font-size: .6875rem; font-weight: 700; color: var(--heading); line-height: 1.3; }
.tmcv-mode-btn span:last-child { font-size: .5625rem; color: #94a3b8; line-height: 1.35; }
.tmcv-mode-btn--purple .tmcv-mode-btn__icon { background: #ede9fe; color: #7c3aed; }
.tmcv-mode-btn--green .tmcv-mode-btn__icon { background: #d1fae5; color: #059669; }
.tmcv-mode-btn--orange .tmcv-mode-btn__icon { background: #ffedd5; color: #ea580c; }
.tmcv-mode-btn--red .tmcv-mode-btn__icon { background: #fee2e2; color: #dc2626; }
.tmcv-mode-btn--blue .tmcv-mode-btn__icon { background: #dbeafe; color: #2563eb; }
.tmcv-mode-btn--cyan .tmcv-mode-btn__icon { background: #cffafe; color: #0891b2; }
.tmcv-mode-btn--teal .tmcv-mode-btn__icon { background: #cffafe; color: #0891b2; }
.tmcv-mode-btn--amber .tmcv-mode-btn__icon { background: #fef3c7; color: #d97706; }

.tmcv-calculator-wrap { margin-top: 8px; }
.tmcv-calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.tmcv-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 24px; box-shadow: 0 4px 24px rgba(15,23,42,.05); display: flex; flex-direction: column; }
.tmcv-card__head h2 { margin: 0; font-size: 1.0625rem; font-weight: 700; color: var(--heading); }
.tmcv-card__head p { margin: 4px 0 0; font-size: .75rem; color: #94a3b8; }
.tmcv-mode-badge { display: inline-block; margin-top: 8px; padding: 4px 10px; font-size: .6875rem; font-weight: 700; color: var(--tmcv-accent-dark); background: var(--tmcv-accent-light); border: 1px solid var(--tmcv-accent-border); border-radius: 999px; }
.tmcv-mode-desc { margin: 12px 0 18px; padding: 12px 14px; font-size: .8125rem; color: #0e7490; background: var(--tmcv-accent-light); border: 1px solid var(--tmcv-accent-border); border-radius: 12px; }

.tmcv-field { margin-bottom: 16px; }
.tmcv-field label { display: block; margin-bottom: 4px; font-size: .8125rem; font-weight: 700; color: var(--heading); }
.tmcv-field small { display: block; margin-bottom: 8px; font-size: .6875rem; color: #94a3b8; }
.tmcv-field select { width: 100%; padding: 12px 14px; font-size: .875rem; color: var(--heading); background: #fff; border: 1px solid #cbd5e1; border-radius: 12px; font-family: inherit; box-sizing: border-box; cursor: pointer; }
.tmcv-field select:focus { outline: none; border-color: var(--tmcv-accent); box-shadow: 0 0 0 3px rgba(8,145,178,.15); }

.tmcv-value-input { display: flex; align-items: stretch; border: 1px solid #cbd5e1; border-radius: 12px; overflow: hidden; background: #fff; }
.tmcv-value-input:focus-within { border-color: var(--tmcv-accent); box-shadow: 0 0 0 3px rgba(8,145,178,.15); }
.tmcv-value-input input { flex: 1; border: none; padding: 12px 14px; font-size: .9375rem; font-weight: 600; color: var(--heading); font-family: inherit; font-variant-numeric: tabular-nums; background: transparent; min-width: 0; }
.tmcv-value-input input:focus { outline: none; }
.tmcv-value-clear { display: flex; align-items: center; justify-content: center; width: 44px; border: none; background: #f8fafc; color: #94a3b8; cursor: pointer; transition: color .15s, background .15s; flex-shrink: 0; }
.tmcv-value-clear:hover { background: #fee2e2; color: #dc2626; }
.tmcv-value-clear i { width: 16px; height: 16px; }

.tmcv-convert-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: end; margin-bottom: 8px; }
.tmcv-convert-row .tmcv-field { margin-bottom: 0; }
.tmcv-swap-btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 4px; border: 2px solid var(--tmcv-accent-border); border-radius: 12px; background: var(--tmcv-accent-light); color: var(--tmcv-accent); cursor: pointer; transition: background .15s, transform .15s; flex-shrink: 0; }
.tmcv-swap-btn:hover { background: #a5f3fc; transform: rotate(180deg); }
.tmcv-swap-btn i { width: 18px; height: 18px; }

.tmcv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; font-size: .8125rem; font-weight: 700; border-radius: 10px; border: none; cursor: pointer; transition: background .15s; font-family: inherit; }
.tmcv-btn i { width: 16px; height: 16px; }
.tmcv-btn--primary { width: 100%; margin-top: 16px; padding: 14px 20px; font-size: .9375rem; color: #fff; background: var(--tmcv-accent); }
.tmcv-btn--primary:hover { background: var(--tmcv-accent-dark); }
.tmcv-btn--outline { color: var(--tmcv-accent); background: #fff; border: 1px solid var(--tmcv-accent-border); }
.tmcv-btn--outline:hover { background: var(--tmcv-accent-light); }
.tmcv-btn--green,
.tmcv-btn--red { color: var(--tmcv-accent); border-color: var(--tmcv-accent-border); }
.tmcv-btn--green:hover,
.tmcv-btn--red:hover { background: var(--tmcv-accent-light); }

.tmcv-info-tip { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 12px 14px; font-size: .75rem; line-height: 1.5; color: #0e7490; background: var(--tmcv-accent-light); border: 1px solid var(--tmcv-accent-border); border-radius: 12px; }
.tmcv-info-tip i { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.tmcv-info-tip p { margin: 0; }
.tmcv-example-box { margin-top: 16px; padding: 12px 14px; font-size: .75rem; line-height: 1.5; color: #2563eb; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 12px; }

.tmcv-result-content { flex: 1; display: flex; flex-direction: column; }
.tmcv-result-header { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.tmcv-result-header__icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--tmcv-accent-light); color: var(--tmcv-accent); }
.tmcv-result-header__icon i { width: 20px; height: 20px; }
.tmcv-result-header strong { font-size: .9375rem; color: var(--heading); }

.tmcv-result-hero { text-align: center; padding: 24px 16px; margin-bottom: 20px; background: linear-gradient(180deg, #ecfeff 0%, #cffafe 100%); border: 1px solid var(--tmcv-accent-border); border-radius: 16px; }
.tmcv-result-hero__source { display: block; font-size: .9375rem; font-weight: 600; color: #475569; line-height: 1.4; word-break: break-word; }
.tmcv-result-hero__value { display: block; margin-top: 10px; font-size: 1.75rem; font-weight: 800; color: var(--tmcv-accent-dark); line-height: 1.25; word-break: break-word; }
.tmcv-result-hero__label { display: block; margin-top: 8px; font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #0e7490; }

.tmcv-result-placeholder { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 200px; padding: 32px 16px; text-align: center; color: #94a3b8; background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 16px; margin-bottom: 16px; }
.tmcv-result-placeholder i { width: 40px; height: 40px; color: var(--tmcv-accent); opacity: .6; }
.tmcv-result-placeholder p { margin: 0; font-size: .8125rem; line-height: 1.5; max-width: 260px; }

.tmcv-result-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px; }
.tmcv-result-meta__item { padding: 12px 14px; background: #f8fafc; border: 1px solid var(--border); border-radius: 12px; }
.tmcv-result-meta__item span { display: block; margin-bottom: 6px; font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #94a3b8; }
.tmcv-result-meta__item p { margin: 0; font-size: .8125rem; font-weight: 600; color: var(--heading); line-height: 1.45; word-break: break-word; font-variant-numeric: tabular-nums; }

.tmcv-history-section,
.tmcv-popular-section { margin-top: 40px; }
.tmcv-history-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.tmcv-history-empty { padding: 20px 16px; font-size: .8125rem; color: #94a3b8; text-align: center; background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 14px; }
.tmcv-history-item { display: flex; align-items: stretch; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.tmcv-history-item__main { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border: none; background: transparent; cursor: pointer; text-align: left; font-family: inherit; transition: background .15s; }
.tmcv-history-item__main:hover { background: #f8fafc; }
.tmcv-history-item__text { font-size: .8125rem; font-weight: 700; color: var(--heading); }
.tmcv-history-item__date { font-size: .6875rem; color: #94a3b8; white-space: nowrap; flex-shrink: 0; }
.tmcv-history-item__delete { display: flex; align-items: center; justify-content: center; width: 44px; border: none; border-left: 1px solid var(--border); background: #fff; color: #94a3b8; cursor: pointer; transition: background .15s, color .15s; flex-shrink: 0; }
.tmcv-history-item__delete:hover { background: #fee2e2; color: #dc2626; }
.tmcv-history-item__delete i { width: 16px; height: 16px; }

.tmcv-popular-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.tmcv-popular-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 10px; background: #fff; border: 1px solid var(--border); border-radius: 14px; cursor: pointer; font-family: inherit; text-align: center; transition: border-color .2s, box-shadow .2s, transform .15s; }
.tmcv-popular-card:hover { border-color: var(--tmcv-accent-border); box-shadow: 0 6px 20px rgba(8,145,178,.12); transform: translateY(-2px); }
.tmcv-popular-card__icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; }
.tmcv-popular-card__icon i { width: 18px; height: 18px; }
.tmcv-popular-card__text { font-size: .6875rem; font-weight: 700; color: var(--heading); line-height: 1.35; }
.tmcv-popular-card--blue .tmcv-popular-card__icon { background: #dbeafe; color: #2563eb; }
.tmcv-popular-card--cyan .tmcv-popular-card__icon { background: #cffafe; color: #0891b2; }
.tmcv-popular-card--green .tmcv-popular-card__icon { background: #d1fae5; color: #059669; }
.tmcv-popular-card--orange .tmcv-popular-card__icon { background: #ffedd5; color: #ea580c; }
.tmcv-popular-card--purple .tmcv-popular-card__icon { background: #ede9fe; color: #7c3aed; }
.tmcv-popular-card--teal .tmcv-popular-card__icon { background: #cffafe; color: #0891b2; }
.tmcv-popular-card--amber .tmcv-popular-card__icon { background: #fef3c7; color: #d97706; }

.tmcv-result-content[hidden],
.tmcv-result-placeholder[hidden],
.tmcv-history-empty[hidden] { display: none !important; }

.tmcv-others-wrap { margin-bottom: 20px; }
.tmcv-others-title { display: block; margin-bottom: 10px; font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #94a3b8; }
.tmcv-others-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-height: 280px; overflow-y: auto; padding-right: 4px; }
.tmcv-other-box { padding: 12px 10px; text-align: center; background: #f8fafc; border: 1px solid var(--border); border-radius: 12px; }
.tmcv-other-box__value { display: block; font-size: .875rem; font-weight: 800; color: var(--heading); line-height: 1.25; word-break: break-word; }
.tmcv-other-box__label { display: block; margin-top: 4px; font-size: .625rem; font-weight: 600; color: #94a3b8; line-height: 1.3; }

.tmcv-result-summary { padding: 14px; background: #f8fafc; border: 1px solid var(--border); border-radius: 12px; }
.tmcv-result-summary span { display: block; margin-bottom: 6px; font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #94a3b8; }
.tmcv-result-summary p { margin: 0; font-size: .875rem; color: var(--heading); line-height: 1.5; }

.tmcv-result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 20px; }
.tmcv-result-actions .tmcv-btn { flex: 1; min-width: 120px; }

.tmcv-all-modes { padding: 0 0 48px; background: #ecfeff; border-top: 1px solid var(--tmcv-accent-border); border-bottom: 1px solid var(--tmcv-accent-border); }
.tmcv-mode-grid--compact .tmcv-mode-btn { padding: 14px 8px; }
.tmcv-mode-grid--compact .tmcv-mode-btn__num { display: none; }
.tmcv-mode-grid--compact .tmcv-mode-btn span:last-child { display: none; }
.tmcv-mode-grid--compact { margin-bottom: 0; }

.tmcv-info { padding: 56px 0; background: var(--bg-section); }
.tmcv-info__grid { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
.tmcv-about-content h2 { margin: 0 0 16px; font-size: 1.5rem; font-weight: 800; color: var(--heading); }
.tmcv-about-content__lead { margin: 0 0 12px; font-size: .9375rem; line-height: 1.65; color: #475569; }
.tmcv-about-content__text { margin: 0 0 28px; font-size: .875rem; line-height: 1.65; color: #64748b; }
.tmcv-about-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 28px; }
.tmcv-about-feature { display: flex; gap: 12px; padding: 14px; background: #fff; border: 1px solid var(--border); border-radius: 14px; }
.tmcv-about-feature__icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; }
.tmcv-about-feature__icon i { width: 20px; height: 20px; }
.tmcv-about-feature__icon--cyan { background: #cffafe; color: #0891b2; }
.tmcv-about-feature__icon--teal { background: #cffafe; color: #0891b2; }
.tmcv-about-feature__icon--blue { background: #dbeafe; color: #2563eb; }
.tmcv-about-feature__icon--green { background: #d1fae5; color: #059669; }
.tmcv-about-feature__icon--orange { background: #ffedd5; color: #ea580c; }
.tmcv-about-feature__icon--purple { background: #ede9fe; color: #7c3aed; }
.tmcv-about-feature strong { display: block; font-size: .8125rem; color: var(--heading); }
.tmcv-about-feature p { margin: 4px 0 0; font-size: .75rem; color: #94a3b8; line-height: 1.45; }

.tmcv-side-card { padding: 22px; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 4px 20px rgba(15,23,42,.04); }
.tmcv-side-card--tips { background: linear-gradient(180deg, #ecfeff 0%, #fff 100%); border-color: var(--tmcv-accent-border); }
.tmcv-side-card__title { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: .9375rem; font-weight: 700; color: var(--heading); }
.tmcv-side-card__title i { width: 18px; height: 18px; color: var(--tmcv-accent); }
.tmcv-tips-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.tmcv-tips-head__icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--tmcv-accent-light); color: var(--tmcv-accent-dark); }
.tmcv-tips-head__icon i { width: 18px; height: 18px; }
.tmcv-tips-head h3 { margin: 0; font-size: .9375rem; font-weight: 700; }
.tmcv-tips-list { margin: 0; padding: 0; list-style: none; }
.tmcv-tips-list li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-size: .8125rem; color: #64748b; line-height: 1.5; border-bottom: 1px solid #f1f5f9; }
.tmcv-tips-list li:last-child { border-bottom: none; }
.tmcv-tips-list__check { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: #d1fae5; color: #059669; flex-shrink: 0; margin-top: 2px; }
.tmcv-tips-list__check i { width: 12px; height: 12px; }

.tmcv-tools-list { margin: 0; padding: 0; list-style: none; }
.tmcv-tools-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-size: .8125rem; font-weight: 600; color: var(--heading); text-decoration: none; border-radius: 10px; transition: background .15s; }
.tmcv-tools-link:hover { background: #f8fafc; }
.tmcv-tools-link.is-current { background: var(--tmcv-accent-light); color: var(--tmcv-accent-dark); }
.tmcv-tools-link__icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: #f1f5f9; }
.tmcv-tools-link__icon i { width: 16px; height: 16px; }
.tmcv-view-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: .8125rem; font-weight: 700; color: var(--tmcv-accent); text-decoration: none; }

.tmcv-steps-section { padding: 56px 0; background: #ecfeff; }
.tmcv-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.tmcv-step { position: relative; padding: 20px 16px; background: #fff; border: 1px solid var(--border); border-radius: 16px; text-align: center; }
.tmcv-step__num { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin: 0 auto 12px; font-size: .875rem; font-weight: 800; color: #fff; background: var(--tmcv-accent); border-radius: 50%; }
.tmcv-step strong { display: block; margin-bottom: 6px; font-size: .8125rem; color: var(--heading); }
.tmcv-step p { margin: 0; font-size: .75rem; color: #94a3b8; line-height: 1.45; }

.tmcv-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px); padding: 12px 20px; font-size: .8125rem; font-weight: 600; color: #fff; background: #1e293b; border-radius: 10px; opacity: 0; pointer-events: none; transition: transform .3s, opacity .3s; z-index: 9999; }
.tmcv-toast.is-visible { transform: translateX(-50%) translateY(0); opacity: 1; }

.tmcv-animate-in { animation: tmcv-fade-up .5s ease both; }
.tmcv-animate-in--delay { animation-delay: .08s; }
@keyframes tmcv-fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* Hero illustration */
.tmcv-hero__demo { position: relative; width: 100%; max-width: 380px; height: 240px; margin: 0 auto; }

.tmcv-hero__float { position: absolute; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--border); box-shadow: 0 8px 24px rgba(15,23,42,.1); z-index: 4; }
.tmcv-hero__float i { width: 20px; height: 20px; }
.tmcv-hero__float--hourglass { top: 8px; right: 16px; color: #0891b2; background: #cffafe; border-color: #67e8f9; animation: tmcv-float 4s ease-in-out infinite; }
.tmcv-hero__float--calendar { top: 48px; left: 8px; color: #7c3aed; background: #ede9fe; border-color: #c4b5fd; animation: tmcv-float 4.2s ease-in-out .3s infinite; }
.tmcv-hero__float--timer { bottom: 16px; right: 8px; color: #ea580c; background: #ffedd5; border-color: #fed7aa; animation: tmcv-float 3.8s ease-in-out .5s infinite; }

.tmcv-hero__clock { position: absolute; width: 72px; height: 72px; z-index: 2; }
.tmcv-hero__clock--left { top: 36px; left: 28px; }
.tmcv-hero__clock--right { top: 52px; right: 36px; }
.tmcv-hero__clock-face { position: relative; display: block; width: 100%; height: 100%; border: 3px solid #0891b2; border-radius: 50%; background: #fff; box-shadow: 0 8px 24px rgba(8,145,178,.15); }
.tmcv-hero__clock-face::after { content: ''; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; background: #0891b2; border-radius: 50%; z-index: 3; }
.tmcv-hero__clock-hand { position: absolute; bottom: 50%; left: 50%; transform-origin: bottom center; background: #0891b2; border-radius: 2px; z-index: 2; }
.tmcv-hero__clock-hand--hour { width: 3px; height: 22px; margin-left: -1.5px; transform: rotate(30deg); }
.tmcv-hero__clock-hand--min { width: 2px; height: 28px; margin-left: -1px; transform: rotate(120deg); }
.tmcv-hero__clock-hand--alt { transform: rotate(210deg); }
.tmcv-hero__clock-hand--alt2 { transform: rotate(300deg); }

.tmcv-hero__digital { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); padding: 10px 16px; background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%); border-radius: 10px; box-shadow: 0 8px 24px rgba(15,23,42,.25); z-index: 4; }
.tmcv-hero__digital-label { font-size: 1.125rem; font-weight: 800; font-variant-numeric: tabular-nums; color: #67e8f9; letter-spacing: .06em; font-family: ui-monospace, monospace; }

.tmcv-float { animation: tmcv-float 5s ease-in-out infinite; }
.tmcv-float-slow { animation: tmcv-float 6s ease-in-out .5s infinite; }
.tmcv-swing { animation: tmcv-swing 6s ease-in-out infinite; transform-origin: left center; }
@keyframes tmcv-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes tmcv-swing { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
.tmcv-hero__scale.tmcv-float { animation-name: tmcv-float-scale; }
@keyframes tmcv-float-scale { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-6px); } }

@media (max-width: 1100px) {
    .tmcv-hero__grid { grid-template-columns: 1fr; }
    .tmcv-hero__visual { display: none; }
    .tmcv-mode-grid, .tmcv-mode-grid--compact { grid-template-columns: repeat(3, 1fr); }
    .tmcv-popular-grid { grid-template-columns: repeat(3, 1fr); }
    .tmcv-result-meta { grid-template-columns: 1fr; }
    .tmcv-info__grid { grid-template-columns: 1fr; }
    .tmcv-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .tmcv-mode-grid, .tmcv-mode-grid--compact { grid-template-columns: repeat(2, 1fr); }
    .tmcv-about-features { grid-template-columns: 1fr; }
    .tmcv-convert-row { grid-template-columns: 1fr; }
    .tmcv-swap-btn { margin: 0 auto 8px; transform: rotate(90deg); }
    .tmcv-swap-btn:hover { transform: rotate(270deg); }
    .tmcv-steps { grid-template-columns: 1fr; }
    .tmcv-others-grid { grid-template-columns: 1fr; }
    .tmcv-popular-grid { grid-template-columns: repeat(2, 1fr); }
}

[data-theme="dark"] .tmcv-card,
[data-theme="dark"] .tmcv-mode-btn,
[data-theme="dark"] .tmcv-step,
[data-theme="dark"] .tmcv-side-card,
[data-theme="dark"] .tmcv-about-feature { background: var(--bg-section); border-color: var(--border); }
[data-theme="dark"] .tmcv-mode-btn.is-active { background: linear-gradient(180deg, #083344 0%, var(--bg-section) 100%); }
[data-theme="dark"] .tmcv-field select { background: #0f172a; border-color: var(--border); color: var(--text); }
[data-theme="dark"] .tmcv-value-input { background: #0f172a; border-color: var(--border); }
[data-theme="dark"] .tmcv-value-input input { color: var(--text); }
[data-theme="dark"] .tmcv-value-clear { background: #1a2332; }
[data-theme="dark"] .tmcv-mode-desc { background: rgba(8,145,178,.15); border-color: #155e75; color: #67e8f9; }
[data-theme="dark"] .tmcv-example-box { background: rgba(37,99,235,.12); border-color: #1e3a8a; color: #93c5fd; }
[data-theme="dark"] .tmcv-result-summary { background: #1a2332; }
[data-theme="dark"] .tmcv-other-box { background: #1a2332; }
[data-theme="dark"] .tmcv-all-modes,
[data-theme="dark"] .tmcv-steps-section { background: #083344; border-color: #155e75; }
[data-theme="dark"] .tmcv-btn--outline,
[data-theme="dark"] .tmcv-btn--green,
[data-theme="dark"] .tmcv-btn--red { background: #1a2332; border-color: #155e75; color: #67e8f9; }
[data-theme="dark"] .tmcv-btn--primary:hover { background: #0e7490; }
[data-theme="dark"] .tmcv-tools-link.is-current { background: #083344; color: #67e8f9; }
[data-theme="dark"] .tmcv-hero__float { background: var(--bg-section); border-color: var(--border); }
[data-theme="dark"] .tmcv-hero__float--hourglass { background: rgba(8,145,178,.15); }
[data-theme="dark"] .tmcv-hero__float--calendar { background: rgba(124,58,237,.15); }
[data-theme="dark"] .tmcv-hero__float--timer { background: rgba(234,88,12,.15); }
[data-theme="dark"] .tmcv-hero__clock-face { background: var(--bg-section); border-color: #155e75; }
[data-theme="dark"] .tmcv-result-placeholder { background: #1a2332; border-color: var(--border); color: #94a3b8; }
[data-theme="dark"] .tmcv-result-meta__item { background: #1a2332; }
[data-theme="dark"] .tmcv-history-empty { background: #1a2332; border-color: var(--border); }
[data-theme="dark"] .tmcv-history-item { background: var(--bg-section); }
[data-theme="dark"] .tmcv-history-item__main:hover { background: #1a2332; }
[data-theme="dark"] .tmcv-history-item__delete { background: var(--bg-section); border-color: var(--border); }
[data-theme="dark"] .tmcv-popular-card { background: var(--bg-section); border-color: var(--border); }
[data-theme="dark"] .tmcv-result-hero__source { color: #94a3b8; }
[data-theme="dark"] .tmcv-result-hero { background: linear-gradient(180deg, rgba(8,145,178,.15) 0%, rgba(8,145,178,.08) 100%); border-color: rgba(8,145,178,.3); }
[data-theme="dark"] .tmcv-result-hero__value { color: #67e8f9; }
[data-theme="dark"] .tmcv-info-tip { background: rgba(8,145,178,.12); border-color: #155e75; color: #67e8f9; }
[data-theme="dark"] .tmcv-side-card--tips { background: linear-gradient(180deg, #083344 0%, var(--bg-section) 100%); border-color: #155e75; }
