﻿/* TTN HTML presentation v3 (8 slides) — loaded after theme/ttn.css (brand tokens / base).
   On-slide text >= 24px. Fonts are local Windows fonts (BIZ UDPGothic first). */
.reveal { font-size: 30px; }
.head { position: absolute; left: 96px; top: 60px; right: 96px; }
.head .eyebrow { font-size: 28px; }
.headline { font-size: 64px; margin-top: 16px; }
.reveal .slide-number { font-size: 22px; right: 30px; bottom: 22px; }
.slide--dark .reveal .slide-number { color: #5b6e8f; }

.phone-frame { position: absolute; margin: 0; border: 12px solid #05080f; border-radius: 46px; overflow: hidden; background: #05080f; box-shadow: 0 0 0 2px #2b3c5c, 0 18px 50px rgba(0,0,0,.45); }
.phone-frame img { display: block; width: 100%; height: auto; }
.cap { position: absolute; font-size: 24px; line-height: 1.35; color: #9fb0cc; }
.slide--light .cap { color: var(--ttn-muted); }
.sim { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; padding: 4px 14px; border-radius: 10px; background: #fff7ed; border: 3px solid var(--cat-disaster); color: #9a3412; font-size: 24px; font-weight: 700; }
.sim b { background: var(--cat-disaster); color: #fff; padding: 0 10px; border-radius: 6px; letter-spacing: .06em; }
.num { display: inline-flex; flex: none; width: 54px; height: 54px; border-radius: 27px; background: var(--ttn-blue); color: #fff; font-size: 30px; font-weight: 700; align-items: center; justify-content: center; }
.shot { display: block; border-radius: 16px; overflow: hidden; border: 3px solid #1e2b45; background: #0b1328; }
.shot img { display: block; width: 100%; height: auto; }

/* ---------------------------------------------------------------- 01 title */
#f01 .arcs { position: absolute; left: 980px; top: -260px; width: 1200px; opacity: .14; }
#f01 .logo { position: absolute; left: 120px; top: 150px; width: 300px; }
#f01 .name { position: absolute; left: 116px; top: 400px; font-size: 108px; font-weight: 700; }
#f01 .latin { position: absolute; left: 122px; top: 536px; font-size: 42px; font-weight: 700; color: var(--ttn-blue-soft); }
#f01 .catch { position: absolute; left: 116px; top: 640px; font-size: 80px; font-weight: 700; }
#f01 .catch em, #f08 .closing em { font-style: normal; color: var(--ttn-blue-soft); }
#f01 .sub { position: absolute; left: 122px; top: 900px; font-size: 30px; color: #9fb0cc; }
#f01 .phone-frame { left: 1290px; top: 110px; width: 410px; }
#f01 .cap { left: 1200px; top: 1000px; width: 590px; text-align: center; }

/* ---------------------------------------------------------------- video */
#fv { background: #000; }
#fv video { position: absolute; inset: 0; width: 1920px; height: 1080px; object-fit: contain; background: #000; }
#fv .print-poster { display: none; }
@media print { #fv video { display: none !important; } #fv .print-poster { display: block; position: absolute; inset: 0; width: 1920px; height: 1080px; object-fit: contain; } }
#fv .missing { position: absolute; left: 0; right: 0; bottom: 60px; text-align: center; color: #fca5a5; font-size: 28px; display: none; }
#fv.no-video .missing { display: block; }

/* ---------------------------------------------------------------- 02 background */
#f02 .before { position: absolute; left: 96px; top: 250px; width: 940px; height: 700px; border-radius: 28px; background: #fff; box-shadow: 0 6px 22px rgba(11,25,48,.08); }
#f02 .before svg { position: absolute; inset: 0; }
#f02 .src { position: absolute; padding: 14px 24px; border-radius: 16px; font-size: 28px; font-weight: 700; color: #fff; white-space: nowrap; }
#f02 .who { position: absolute; left: 380px; top: 260px; width: 180px; height: 180px; border-radius: 90px; background: var(--ttn-navy); color: #fff; font-size: 96px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
#f02 .noise { position: absolute; padding: 6px 16px; border-radius: 10px; background: #f1f5f9; border: 2px dashed #94a3b8; color: #475569; font-size: 24px; font-weight: 700; }
#f02 .plabel { position: absolute; left: 36px; top: 28px; font-size: 32px; font-weight: 700; color: var(--ttn-muted); }
#f02 .arrow { position: absolute; left: 1052px; top: 520px; width: 110px; height: 110px; }
#f02 .after { position: absolute; left: 1180px; top: 250px; width: 644px; height: 700px; border-radius: 28px; background: var(--ttn-navy); color: #fff; padding: 56px 52px; box-sizing: border-box; }
#f02 .after img { width: 220px; }
#f02 .after .goal { font-size: 30px; font-weight: 700; color: var(--ttn-blue-soft); margin-top: 40px; }
#f02 .after .pt { display: flex; align-items: flex-start; gap: 20px; margin-top: 30px; font-size: 44px; font-weight: 700; line-height: 1.3; }
#f02 .after .pt svg { flex: none; margin-top: 6px; }

/* ---------------------------------------------------------------- 03 presentation of information */
#f03 .phone-frame { left: 110px; top: 236px; width: 340px; }
#f03 .mark { position: absolute; border: 4px solid #fbbf24; border-radius: 12px; box-shadow: 0 0 0 3px rgba(251,191,36,.25); }
#f03 .mark span { position: absolute; width: 44px; height: 44px; border-radius: 22px; background: #fbbf24; color: #0b1930; font-size: 26px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
#f03 .phonecap { left: 60px; top: 972px; width: 464px; text-align: center; }
#f03 .grid { position: absolute; left: 540px; top: 236px; width: 1284px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 368px 368px; gap: 28px; }
#f03 .zc { background: var(--ttn-navy-2); border-radius: 22px; padding: 22px 26px; box-sizing: border-box; display: flex; flex-direction: column; overflow: hidden; }
#f03 .zc .t { display: flex; align-items: center; gap: 16px; font-size: 34px; font-weight: 700; line-height: 1.25; }
#f03 .zc .t .num { background: #fbbf24; color: #0b1930; width: 48px; height: 48px; font-size: 27px; }
#f03 .zc .body { flex: 1; display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 14px; min-height: 0; }
#f03 .zc .d { font-size: 26px; color: #c7d2e3; line-height: 1.45; }
#f03 .zc .d b { color: #fff; }
#f03 .z1 .shot { width: 520px; }
#f03 .z2 .body { flex-direction: column; gap: 18px; }
#f03 .z2 .shot { width: 580px; }
#f03 .z3 .shot { width: 200px; border-color: #cbd5e1; }
#f03 .z3 .body { justify-content: flex-start; }
#f03 .z4 .shot { width: 300px; }

/* ---------------------------------------------------------------- 04 official data */
#f04 .card { position: absolute; top: 236px; height: 760px; border-radius: 26px; background: #fff; box-shadow: 0 6px 22px rgba(11,25,48,.10); padding: 0 34px 30px; box-sizing: border-box; border-top: 16px solid var(--c); }
#f04 .card .src { font-size: 40px; font-weight: 700; margin-top: 26px; }
#f04 .card .srcs { font-size: 26px; color: var(--ttn-muted); margin-top: 4px; }
#f04 .card .chips { margin-top: 22px; gap: 14px; }
#f04 .card .chip { height: 56px; font-size: 28px; padding: 0 24px; border-radius: 28px; }
#f04 .note { margin-top: 14px; font-size: 26px; color: #1e3a8a; font-weight: 700; display: flex; align-items: center; gap: 10px; }
#f04 .jma { left: 96px; width: 740px; }
#f04 .odpt { left: 862px; width: 500px; }
#f04 .jma .shot { width: 620px; margin-top: 22px; }
#f04 .odpt .shot { width: 380px; margin-top: 22px; }
#f04 .card .cap { position: static; margin-top: 10px; }
#f04 .guide { position: absolute; left: 1388px; top: 236px; width: 436px; height: 760px; border-radius: 26px; background: var(--ttn-navy); color: #fff; padding: 36px 30px; box-sizing: border-box; }
#f04 .guide .t { font-size: 36px; font-weight: 700; line-height: 1.3; }
#f04 .guide .t svg { vertical-align: -4px; margin-left: 6px; }
#f04 .guide .d { font-size: 26px; color: #b8c4d9; margin-top: 12px; line-height: 1.45; }
#f04 .guide ul { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
#f04 .guide li { background: #13284a; border-radius: 16px; padding: 18px 20px; }
#f04 .guide li b { display: block; font-size: 30px; }
#f04 .guide li span { display: block; font-size: 24px; color: #b8c4d9; margin-top: 4px; line-height: 1.35; }

/* ---------------------------------------------------------------- 05 architecture (from v3 prototype) */
#f05 .headline { font-size: 58px; }
#f05 .shared { position: absolute; left: 96px; top: 210px; width: 1728px; height: 326px; box-sizing: border-box; border-radius: 24px; background: #13284a; border: 3px solid #7cc4ff; padding: 26px 30px; display: flex; gap: 26px; }
#f05 .shared .ttl { width: 360px; flex: none; }
#f05 .shared .ttl .l { font-size: 26px; font-weight: 700; color: #7cc4ff; }
#f05 .shared .ttl .t { font-size: 46px; font-weight: 700; line-height: 1.2; margin-top: 14px; }
#f05 .shared .ttl .d { font-size: 25px; color: #c7d2e3; margin-top: 14px; line-height: 1.4; }
#f05 .box { border-radius: 18px; padding: 20px 22px; box-sizing: border-box; }
#f05 .box .t { font-size: 34px; font-weight: 700; }
#f05 .box .d { font-size: 25px; line-height: 1.4; margin-top: 8px; }
#f05 .ui { width: 270px; background: #1c355e; }
#f05 .ui .d { color: #c7d2e3; }
#f05 .core { width: 330px; background: #f1f5f9; color: var(--ttn-ink); }
#f05 .core .d { color: #334155; }
#f05 .adapter { flex: 1; background: #0b1930; border: 3px solid #f59e0b; }
#f05 .adapter .t { color: #fcd34d; }
#f05 .adapter .d { color: #e2e8f0; }
#f05 .plugs { display: grid; grid-template-columns: 1fr .8fr 1.3fr; gap: 12px; margin-top: 14px; }
#f05 .plug { height: 60px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 25px; font-weight: 700; background: #e2e8f0; color: var(--ttn-ink); white-space: nowrap; }
#f05 .plug.add { background: transparent; color: #fcd34d; border: 3px dashed #f59e0b; }
#f05 .link { position: absolute; top: 536px; height: 46px; display: flex; align-items: center; gap: 12px; font-size: 26px; font-weight: 700; }
#f05 .link::before { content: ""; width: 0; height: 46px; border-left: 5px solid currentColor; }
#f05 .lane { position: absolute; top: 582px; height: 450px; box-sizing: border-box; border-radius: 24px; padding: 22px 26px; }
#f05 .lane .h { display: flex; align-items: baseline; gap: 18px; }
#f05 .lane .h .t { font-size: 36px; font-weight: 700; }
#f05 .lane .h .s { font-size: 25px; color: #c7d2e3; }
#f05 .android { left: 96px; width: 1000px; background: #0f2a28; border: 3px solid #22c55e; }
#f05 .android .h .t { color: #86efac; }
#f05 .web { left: 1126px; width: 698px; background: #0f2342; border: 3px solid #4da3ff; }
#f05 .web .h .t { color: #7cc4ff; }
#f05 .route { display: flex; align-items: center; margin-top: 16px; }
#f05 .route .ar { width: 46px; flex: none; text-align: center; font-size: 34px; font-weight: 700; color: #86efac; }
#f05 .web .route .ar { color: #7cc4ff; width: 34px; }
#f05 .node { height: 98px; border-radius: 16px; box-sizing: border-box; padding: 0 20px; display: flex; flex-direction: column; justify-content: center; }
#f05 .node .t { font-size: 29px; font-weight: 700; line-height: 1.2; }
#f05 .node .d { font-size: 24px; line-height: 1.25; margin-top: 4px; }
#f05 .n-plugin { width: 420px; background: #0b1930; border: 3px solid #22c55e; }
#f05 .n-plugin .d { color: #c7d2e3; }
#f05 .n-worker { width: 420px; background: #f97316; color: #0b1930; }
#f05 .n-src { width: 420px; background: #e2e8f0; color: var(--ttn-ink); }
#f05 .n-src .d { color: #334155; }
#f05 .n-web { width: 170px; background: #0a7cff; }
#f05 .n-web .d { color: #dce4f0; }
#f05 .n-webw { width: 210px; background: #f97316; color: #0b1930; }
#f05 .n-websrc { width: 190px; background: #e2e8f0; color: var(--ttn-ink); }
#f05 .n-websrc .d { color: #334155; }
#f05 .merge { margin-top: 18px; display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 16px; background: #13284a; border: 2px solid #4da3ff; }
#f05 .merge .t { font-size: 27px; font-weight: 700; line-height: 1.3; }
#f05 .merge svg { flex: none; }

/* ---------------------------------------------------------------- 06 trends + X Discovery */
#f06 .card { position: absolute; top: 230px; height: 740px; border-radius: 26px; background: #fff; box-shadow: 0 6px 22px rgba(11,25,48,.10); box-sizing: border-box; padding: 28px 30px; }
#f06 .card .t { font-size: 42px; font-weight: 700; }
#f06 .card .lead { font-size: 26px; color: var(--ttn-muted); margin-top: 6px; line-height: 1.4; }
#f06 .gt { left: 96px; width: 640px; border-top: 16px solid var(--cat-trend); }
#f06 .gt .row { display: flex; flex-direction: column; gap: 24px; margin-top: 20px; }
#f06 .gt .shot { width: 380px; flex: none; }
#f06 .pts { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; align-content: start; }
#f06 .pts li { font-size: 28px; font-weight: 700; line-height: 1.35; padding-left: 34px; position: relative; }
#f06 .pts li::before { content: ""; position: absolute; left: 0; top: 10px; width: 18px; height: 18px; border-radius: 9px; background: var(--c, var(--ttn-blue)); }
#f06 .xd { left: 766px; width: 1058px; border-top: 16px solid var(--cat-search); }
#f06 .xd .flow { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
#f06 .xd .st { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 14px; background: #fdf2f8; font-size: 26px; font-weight: 700; color: #831843; }
#f06 .xd .st .n { display: inline-flex; width: 36px; height: 36px; border-radius: 18px; background: var(--cat-search); color: #fff; font-size: 22px; align-items: center; justify-content: center; }
#f06 .xd .flow .ar { font-size: 30px; color: var(--cat-search); font-weight: 700; }
#f06 .xd .row { display: flex; gap: 26px; margin-top: 22px; align-items: flex-start; }
#f06 .xd .left { width: 440px; flex: none; }
#f06 .xd .left .shot { width: 440px; }
#f06 .xd .left .pts { margin-top: 26px; }
#f06 .xd .detail { position: relative; width: 340px; flex: none; }
#f06 .xd .detail .shot { width: 340px; }
#f06 .tag { position: absolute; left: 362px; padding: 8px 14px; border-radius: 12px; background: var(--ttn-navy); color: #fff; font-size: 24px; font-weight: 700; white-space: nowrap; }
#f06 .tag::before { content: ""; position: absolute; left: -16px; top: 50%; margin-top: -8px; border: 8px solid transparent; border-right-color: var(--ttn-navy); }
#f06 .foot { position: absolute; left: 96px; top: 994px; font-size: 24px; color: var(--ttn-muted); }

/* ---------------------------------------------------------------- 07 deliverables */
#f07 .tiles { position: absolute; left: 96px; top: 236px; width: 1728px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
#f07 .tile { position: relative; height: 616px; border-radius: 26px; background: var(--ttn-navy-2); padding: 32px 30px; box-sizing: border-box; }
#f07 .tile .kind { display: inline-block; padding: 6px 18px; border-radius: 18px; font-size: 24px; font-weight: 700; }
#f07 .tile .t { font-size: 40px; font-weight: 700; margin-top: 22px; }
#f07 .tile .d { font-size: 26px; color: #b8c4d9; margin-top: 12px; line-height: 1.5; }
#f07 .tile .qr { position: absolute; left: 50%; bottom: 128px; width: 200px; height: 200px; margin-left: -112px; padding: 12px; background: #fff; border-radius: 16px; }
#f07 .tile .qr img { width: 100%; height: 100%; display: block; }
#f07 .tile .icon { position: absolute; left: 50%; bottom: 128px; width: 200px; margin-left: -100px; border-radius: 40px; }
#f07 .tile .url { position: absolute; left: 24px; right: 24px; bottom: 26px; font-size: 24px; color: #9fd0ff; text-align: center; white-space: nowrap; line-height: 1.3; }
#f07 .next { position: absolute; left: 96px; top: 880px; width: 1728px; height: 120px; border-radius: 24px; background: var(--ttn-blue); display: flex; align-items: center; gap: 26px; padding: 0 44px; box-sizing: border-box; font-size: 40px; font-weight: 700; }
#f07 .next .s { font-size: 28px; font-weight: 400; color: #dce4f0; }

/* ---------------------------------------------------------------- demo backup */
#fb .phones { position: absolute; left: 96px; top: 230px; width: 1728px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; justify-items: center; }
#fb .ph { width: 330px; text-align: center; }
#fb .ph .phone-frame { position: relative; width: 330px; box-sizing: border-box; }
#fb .ph p { font-size: 30px; font-weight: 700; margin-top: 18px; }
#fb .cap { left: 96px; top: 1010px; }

/* ---------------------------------------------------------------- 08 future + closing */
#f08 .tag-future { display: inline-flex; align-items: center; padding: 8px 22px; border-radius: 999px; border: 2px solid var(--ttn-blue-soft); color: var(--ttn-blue-soft); font-size: 26px; font-weight: 700; }
#f08 .cards { position: absolute; left: 96px; top: 250px; width: 1728px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
#f08 .fc { height: 330px; border-radius: 26px; background: var(--ttn-navy-2); padding: 34px 40px; box-sizing: border-box; position: relative; overflow: hidden; }
#f08 .fc .t { font-size: 46px; font-weight: 700; }
#f08 .fc .d { font-size: 28px; color: #c7d2e3; margin-top: 16px; line-height: 1.5; max-width: 520px; }
#f08 .fc svg { position: absolute; right: 36px; bottom: 30px; }
#f08 .closing { position: absolute; left: 96px; right: 96px; top: 680px; display: flex; align-items: center; justify-content: space-between; }
#f08 .closing .c { font-size: 92px; font-weight: 700; }
#f08 .closing img { width: 250px; }
#f08 .thanks { position: absolute; left: 96px; top: 900px; font-size: 34px; color: #9fb0cc; }

/* ---------------------------------------------------------------- click-driven fragments (300ms, subtle) */
.reveal .slides section .fragment { transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s; }
.reveal .slides section .fragment.visible { transition: opacity .3s ease, transform .3s ease, visibility 0s; }
.reveal .slides section .fragment.fade-up { transform: translate(0, 24px); }
.reveal .slides section .fragment.fade-left { transform: translate(28px, 0); }
.reveal .slides section .fragment.fade-up.visible, .reveal .slides section .fragment.fade-left.visible { transform: none; }
.reveal .slides section .fragment.closing-in { opacity: 0; transform: scale(.94); transform-origin: left center; transition: opacity .4s ease, transform .4s ease, visibility 0s linear .4s; }
.reveal .slides section .fragment.closing-in.visible { opacity: 1; transform: none; transition: opacity .4s ease, transform .4s ease, visibility 0s; }
#f03 .mark.fragment.visible { animation: ttnMark .6s ease 1; }
@keyframes ttnMark { 0% { box-shadow: 0 0 0 0 rgba(251,191,36,.7); } 100% { box-shadow: 0 0 0 14px rgba(251,191,36,0); } }
@media print { .reveal .slides section .fragment { opacity: 1 !important; visibility: visible !important; transform: none !important; } }

/* ---------------------------------------------------------------- AI narration status (shown only on state change) */
#narrationToast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 50; padding: 10px 22px; border-radius: 12px;
  background: rgba(11,25,48,.88); color: #fff; font: 700 16px/1.4 "BIZ UDPGothic","Yu Gothic UI",sans-serif; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
#narrationToast.show { opacity: 1; }
@media print { #narrationToast { display: none; } }

/* ---------------------------------------------------------------- public web: YouTube + viewer guide */
#ytStage { position: absolute; inset: 0; width: 1920px; height: 1080px; background: #000; }
#ytStage .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
#ytStage #ytPlayer { position: absolute; inset: 0; width: 1920px; height: 1080px; display: none; border: 0; }
#fv.playing #ytPlayer { display: block; }
#fv.playing .poster, #fv.playing #ytPlay { display: none; }
#ytPlay { position: absolute; left: 50%; top: 50%; width: 220px; height: 220px; margin: -110px 0 0 -110px; border: 8px solid #fff; border-radius: 50%; background: rgba(10, 124, 255, .92); color: #fff; font-size: 100px; line-height: 1; padding-left: 14px; cursor: pointer; }
#ytPlay:hover, #ytPlay:focus-visible { background: #0a7cff; outline: 6px solid #7cc4ff; }
#guide { position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 8px 12px; background: rgba(10, 20, 40, .92); color: #fff; font: 14px/1.5 system-ui, "Yu Gothic UI", sans-serif; border-radius: 8px; }
#guide[hidden] { display: none; }
#guide .g-text { flex: 1 1 280px; }
#guide a, #guide button { color: #fff; background: #0a7cff; border: 0; border-radius: 6px; padding: 6px 12px; font: inherit; text-decoration: none; cursor: pointer; }
#guide #guideClose { background: transparent; padding: 6px 8px; }
