/* The welcome page's design (first drawn in the Builder's TodayNews.vue). The Builder shows this
   page inside its welcome screen (?embed=1); opened on its own, it is news.thimpat.com. */
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: radial-gradient(ellipse at 80% 0%, #1b2941 0%, transparent 40%), #0d1420; color: #edf2fa; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body.embedded { background: #0d1420; }
button, a { -webkit-tap-highlight-color: transparent; transition: background-color 160ms, border-color 160ms; }
button { font: inherit; }
button:focus-visible, a:focus-visible, video:focus-visible { outline: 2px solid #8ac2ff; outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { color: #edf2fa; line-height: 1.15; }
p { line-height: 1.65; }

.tn-container { container-type: inline-size; width: 100%; }
.tn-content { max-width: 1480px; margin: auto; padding: 32px clamp(20px, 3.5cqi, 56px); }
body.embedded .tn-content { padding: 0; }
.tn-status { padding: 46px 0; color: #a7b9d3; }

.tn-site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid #2b374b; }
.tn-site-header h1 { font-size: clamp(20px, 2cqi, 28px); font-weight: 700; margin-top: 5px; }
body.embedded .tn-site-header, body.embedded .tn-footer { display: none; }

.tn-eyebrow { color: #a7b9d3; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.7px; }
.tn-action-btn { display: inline-flex; justify-content: center; align-items: center; gap: 9px; padding: 12px 16px; border-radius: 8px; border: 1px solid #3a4962; background: #1b2739; color: #edf2fa; font-size: 12px; font-weight: 650; cursor: pointer; text-decoration: none; }
.tn-action-btn:hover { background: #2a3b55; border-color: #8ac2ff; }
.tn-primary { background: #497bfa; border-color: #497bfa; color: #fff; }
.tn-primary:hover { background: #365fe1; }

.tn-hero { display: grid; grid-template-columns: 0.85fr 1.3fr; align-items: center; gap: 40px; padding: 46px 0; }
body.embedded .tn-hero { padding-top: 34px; }
.tn-hero-copy .tn-eyebrow { display: flex; align-items: center; gap: 8px; font-size: 9px; }
.tn-dot { width: 6px; height: 6px; background: #c3e8be; border-radius: 50%; }
.tn-hero h2 { margin: 20px 0; font-size: clamp(36px, 4.4cqi, 64px); letter-spacing: -2px; font-weight: 750; }
.tn-hero h2 span { color: #b4caff; }
.tn-intro { color: #b4c1d5; font-size: 14px; max-width: 380px; margin-bottom: 24px !important; }
.tn-hero-footnote { color: #94a8c4; font-size: 10px; margin-top: 20px; }
.tn-cinema { display: grid; grid-template-columns: 1.65fr 0.85fr; align-items: center; gap: 14px; min-width: 0; }
.tn-cinema.tn-single { grid-template-columns: 1fr; }
.tn-clip { min-width: 0; }
.tn-clip video { display: block; width: 100%; background: #080c13; border: 1px solid #4a5260; border-radius: 12px; box-shadow: 0 20px 50px #0005; object-fit: contain; }
.tn-clip-wide video { aspect-ratio: 4 / 3; }
.tn-clip-portrait video { aspect-ratio: 800 / 1168; }
.tn-clip figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px; margin-top: 10px; color: #adbed4; font-size: 9px; }
.tn-clip figcaption span + span { color: #7e91b0; }

.tn-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 12px 0 20px; }
.tn-section-heading h2 { font-size: 25px; margin-top: 8px; letter-spacing: -0.6px; }
.tn-section-heading > p { color: #91a4be; font-size: 11px; max-width: 250px; }
.tn-features { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; }
.tn-feature { background: #141f2f; border: 1px solid #2b394e; border-radius: 14px; overflow: hidden; min-width: 0; }
.tn-character { display: grid; grid-template-columns: 0.85fr 1.2fr; }
.tn-character-stage { background: radial-gradient(ellipse at center, #2c4466, #0d1726 75%); position: relative; min-width: 0; display: flex; align-items: center; }
.tn-character-stage video { display: block; width: 100%; aspect-ratio: 768 / 1168; object-fit: contain; }
.tn-character-name { position: absolute; top: 15px; left: 15px; padding: 5px 9px; border: 1px solid #547091; border-radius: 5px; background: #152238e6; font-size: 9px; color: #d2e1f4; pointer-events: none; }
.tn-feature-copy { padding: 26px; align-self: center; }
.tn-feature-copy h2 { font-size: 24px; letter-spacing: -0.5px; margin: 12px 0; }
.tn-feature-copy > p:not(.tn-eyebrow) { font-size: 12px; color: #aebfd5; margin-bottom: 20px; }
.tn-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; list-style: none; }
.tn-chips li { border: 1px solid #384a64; border-radius: 4px; padding: 5px 7px; font-size: 9px; color: #bed1ed; }
.tn-art img { display: block; width: 100%; height: 180px; object-fit: cover; }
.tn-art .tn-feature-copy { padding-top: 22px; }
.tn-text-btn { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; color: #95bbff; font-size: 12px; font-weight: 650; cursor: pointer; text-align: left; text-decoration: none; }
.tn-text-btn:hover { color: #c5dbff; text-decoration: underline; }

.tn-ai-watch { padding: 34px 0; margin-top: 24px; border-top: 1px solid #2b374b; border-bottom: 1px solid #2b374b; }
.tn-ai-watch .tn-section-heading { margin-top: 0; }
.tn-news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tn-news-card { display: flex; flex-direction: column; padding: 24px; border: 1px solid #33415a; border-radius: 12px; text-decoration: none; background: #172236; color: inherit; }
.tn-news-card:hover { background: #1c2b42; border-color: #8ac2ff; }
.tn-news-meta { display: flex; justify-content: space-between; gap: 12px; color: #9cb2d0; font-size: 10px; }
.tn-news-meta > span { color: #d5bd8c; text-transform: uppercase; font-weight: 700; letter-spacing: 1px; }
.tn-news-card h3 { font-size: 20px; margin: 18px 0 12px; letter-spacing: -0.3px; }
.tn-news-card p { color: #afbed4; font-size: 12px; margin-bottom: 22px; }
.tn-news-source { margin-top: auto; color: #95bbff; font-size: 11px; }
.tn-editorial-note { color: #8fa3bf; font-size: 10px; margin-top: 14px !important; }

.tn-footer { display: flex; justify-content: space-between; gap: 16px; margin-top: 34px; padding-top: 20px; color: #92a6c2; font-size: 10px; letter-spacing: 0.5px; }
.tn-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@container (max-width: 1100px) {
    .tn-hero { gap: 24px; }
    .tn-hero h2 { font-size: 43px; }
    .tn-character { grid-template-columns: 1fr; }
    .tn-character-stage { height: 220px; justify-content: center; }
    .tn-character-stage video { width: auto; height: 100%; }
    .tn-art img { height: 220px; }
    .tn-feature-copy { padding: 22px; }
}
@container (max-width: 760px) {
    .tn-site-header { align-items: start; flex-direction: column; gap: 18px; }
    .tn-hero { grid-template-columns: 1fr; padding: 32px 0; }
    .tn-hero h2 { font-size: clamp(36px, 7.5cqi, 52px); }
    .tn-intro { max-width: 550px; }
    .tn-cinema { grid-template-columns: 1.6fr 0.8fr; }
    .tn-section-heading { align-items: start; flex-direction: column; gap: 10px; }
    .tn-section-heading > p { max-width: none; }
    .tn-features, .tn-news-grid { grid-template-columns: 1fr; }
    .tn-character { grid-template-columns: 0.8fr 1.2fr; }
    .tn-character-stage { height: auto; }
    .tn-character-stage video { width: 100%; height: auto; }
}
@container (max-width: 440px) {
    .tn-content { padding: 24px 16px; }
    .tn-action-btn { padding: 10px 12px; }
    .tn-hero h2 { letter-spacing: -1px; }
    .tn-cinema { gap: 8px; }
    .tn-character { grid-template-columns: 1fr; }
    .tn-character-stage { height: 260px; }
    .tn-character-stage video { width: auto; height: 100%; }
    .tn-news-card { padding: 20px; }
}
