/* ==========================================================================
   Reporty – grafické přehledy trhů (/reporty/…), např. Tržní neděle
   Stránka slouží jako podklad do videa: velké nadpisy, grafy se vykreslí při najetí (třída .in z site.js / reporty.js).
   ========================================================================== */

:root { --neg: #e5484d; --neg-50: #fdecec; --pos: var(--green); --pos-50: var(--green-50); }

/* ---------- Úvod ---------- */
.tn-hero { position: relative; overflow: hidden; background: var(--black); color: #fff; padding: clamp(48px, 7vw, 104px) 0 clamp(40px, 5vw, 72px); }
.tn-hero-photo { position: absolute; inset: 0 0 0 auto; width: min(62%, 980px); }
.tn-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; opacity: .78;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 45%), linear-gradient(to top, transparent 0%, #000 30%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0%, #000 45%), linear-gradient(to top, transparent 0%, #000 30%); mask-composite: intersect; }
.tn-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 420px at 12% 20%, rgba(233,95,49,.22), transparent 70%); }
.tn-hero > .wrap { position: relative; z-index: 1; }
.tn-hero .tag { color: rgba(255,255,255,.8); }
.tn-date { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid var(--line-dark); font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.tn-date svg { width: 16px; height: 16px; color: var(--orange); }
.tn-title { margin-top: 22px; font-size: clamp(48px, 8.4vw, 112px); line-height: .95; letter-spacing: -.045em; font-weight: 800; max-width: 760px; }
.tn-title span { color: var(--orange); }
.tn-hero .lead { color: rgba(255,255,255,.74); max-width: 560px; margin-top: 22px; }
.tn-questions { margin-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: q; list-style: none; }
.tn-questions li { counter-increment: q; position: relative; padding: 22px 22px 22px 70px; border-radius: var(--r-md); background: rgba(24,24,24,.82); border: 1px solid var(--line-dark); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-weight: 600; line-height: 1.4; font-size: 17px; }
.tn-questions li::before { content: counter(q); position: absolute; left: 20px; top: 20px; width: 34px; height: 34px; border-radius: 10px; background: var(--orange); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; }
.tn-questions small { display: block; margin-bottom: 4px; color: rgba(255,255,255,.5); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }

/* běžící pás s čísly týdne */
.tn-strip { margin-top: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 10px; }
.tn-chip { display: inline-flex; align-items: baseline; gap: 10px; padding: 10px 16px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); font-size: 15px; color: rgba(255,255,255,.75); }
.tn-chip b { font-family: var(--font-head); font-size: 20px; font-weight: 800; letter-spacing: -.01em; }

/* ---------- Kapitoly ---------- */
.tn-sec { padding: clamp(56px, 8vw, 112px) 0; }
.tn-sec + .tn-sec:not(.paper):not(.dark) { border-top: 1px solid var(--line); }
.tn-head { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; align-items: start; margin-bottom: clamp(28px, 4vw, 48px); max-width: 980px; }
.tn-num { grid-row: span 3; font-family: var(--font-head); font-weight: 800; font-size: clamp(44px, 6vw, 80px); line-height: .9; letter-spacing: -.04em; color: var(--orange); opacity: .95; min-width: 1.25em; }
.tn-head .tag { margin-bottom: 4px; }
.tn-head .h2 { font-size: clamp(30px, 4vw, 50px); }
.tn-head .lead { margin-top: 12px; }
.dark .tn-head .lead { color: rgba(255,255,255,.7); }
.tn-text { font-size: 18px; line-height: 1.65; color: var(--ink-2); max-width: 720px; }
.tn-text p { margin-bottom: .9em; }
.tn-text strong { color: var(--ink); }
.dark .tn-text { color: rgba(255,255,255,.75); }
.dark .tn-text strong { color: #fff; }
.tn-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.tn-grid.even { grid-template-columns: 1fr 1fr; }
.tn-grid > * { min-width: 0; }
.mt-tn { margin-top: clamp(28px, 4vw, 48px); }

.tn-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 2.6vw, 32px); box-shadow: 0 20px 40px -32px rgba(14,14,14,.35); }
.dark .tn-panel { background: var(--black-2); border-color: var(--line-dark); box-shadow: none; }
.tn-panel h3 { font-size: 20px; letter-spacing: -.01em; }
.tn-panel .sub { font-size: 14px; color: var(--ink-3); margin-top: 4px; }
.dark .tn-panel .sub { color: rgba(255,255,255,.5); }
.tn-src { margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.dark .tn-src { color: rgba(255,255,255,.45); }

/* ---------- Karty indexů ---------- */
.tn-idx { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tn-idx-card { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 22px 22px 18px; background: #fff; border: 1px solid var(--line); }
.tn-idx-card .nm { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.tn-idx-card .val { font-family: var(--font-head); font-size: clamp(38px, 4.4vw, 56px); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-top: 10px; }
.tn-idx-card .ytd { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--ink-3); display: flex; justify-content: space-between; }
.tn-idx-card .ytd b { color: var(--pos); font-weight: 700; }
.tn-idx-card svg.spark { position: absolute; right: 14px; top: 16px; width: 70px; height: 30px; }
.neg { color: var(--neg); }
.pos { color: var(--pos); }

/* ---------- Pruhové grafy ---------- */
.tn-bars { display: grid; gap: 14px; margin-top: 18px; }
.tn-bar { display: grid; grid-template-columns: 150px 1fr 76px; gap: 14px; align-items: center; font-size: 15px; }
.tn-bar .bl { font-weight: 600; line-height: 1.25; }
.tn-bar .bl small { display: block; font-weight: 400; color: var(--ink-3); font-size: 12.5px; }
.dark .tn-bar .bl small { color: rgba(255,255,255,.5); }
.tn-bar .tr { position: relative; height: 30px; border-radius: 8px; background: var(--paper); overflow: hidden; }
.dark .tn-bar .tr { background: rgba(255,255,255,.06); }
.tn-bar .fl { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 8px; background: var(--neg); transition: width 1.3s var(--ease); }
.tn-bar.pos .fl { background: var(--pos); }
.tn-bar.hi .fl { background: linear-gradient(90deg, #b8282d, var(--neg)); }
.tn-bar.org .fl { background: var(--orange); }
.tn-bar.mut .fl { background: #c9c3bb; }
.dark .tn-bar.mut .fl { background: rgba(255,255,255,.28); }
.in .tn-bar .fl, .tn-bar.in .fl { width: calc(var(--v) * 1%); }
.tn-bar .pc { font-family: var(--font-head); font-weight: 800; font-size: 20px; text-align: right; letter-spacing: -.02em; }
.tn-bars .tn-bar:nth-child(2) .fl { transition-delay: .12s; }
.tn-bars .tn-bar:nth-child(3) .fl { transition-delay: .24s; }
.tn-bars .tn-bar:nth-child(4) .fl { transition-delay: .36s; }
.tn-bars .tn-bar:nth-child(5) .fl { transition-delay: .48s; }
.tn-bars .tn-bar:nth-child(6) .fl { transition-delay: .6s; }

/* srovnání týden vs. od začátku roku (pruhy od nuly na obě strany) */
.tn-diverge { margin-top: 20px; display: grid; gap: 18px; }
.tn-dv-row { display: grid; grid-template-columns: 130px 1fr; gap: 14px; align-items: center; }
.tn-dv-row .bl { font-weight: 700; font-size: 15px; }
.tn-dv-axis { position: relative; height: 54px; }
.tn-dv-axis::before { content: ""; position: absolute; left: 32%; top: -6px; bottom: -6px; width: 2px; background: var(--ink); opacity: .7; }
.tn-dv { position: absolute; height: 22px; border-radius: 6px; width: 0; transition: width 1.2s var(--ease); display: flex; align-items: center; font-size: 13px; font-weight: 700; white-space: nowrap; }
.tn-dv.w { top: 2px; right: 68%; background: var(--neg); justify-content: flex-start; }
.tn-dv.w span { position: absolute; right: calc(100% + 8px); color: var(--neg); }
.tn-dv.y { top: 30px; left: 32%; background: var(--pos); }
.tn-dv.y span { position: absolute; left: calc(100% + 8px); color: var(--green-600); }
.in .tn-dv { width: calc(var(--v) * 5.6%); }
.in .tn-dv.y { transition-delay: .35s; }
.tn-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13.5px; color: var(--ink-3); margin-top: 16px; }
.tn-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; }
.dark .tn-legend { color: rgba(255,255,255,.6); }

/* ---------- Tabulky ---------- */
.tn-table { width: 100%; border-collapse: collapse; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.tn-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); font-weight: 600; padding: 0 12px 10px; border-bottom: 2px solid var(--ink); }
.tn-table td { padding: 13px 12px; border-bottom: 1px solid var(--line); }
.tn-table td:first-child, .tn-table th:first-child { padding-left: 0; }
.tn-table td.n, .tn-table th.n { text-align: right; }
.tn-table td.n { font-weight: 700; }
.tn-table tr.tn-hl td { background: var(--orange-50); }
.tn-table tr.tn-hl td:first-child { box-shadow: inset 4px 0 0 var(--orange); padding-left: 12px; }
.dark .tn-table th { color: rgba(255,255,255,.55); border-color: rgba(255,255,255,.7); }
.dark .tn-table td { border-color: var(--line-dark); }
.dark .tn-table tr.tn-hl td { background: rgba(233,95,49,.14); }
.tn-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- Velká čísla ---------- */
.tn-big { border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); background: var(--black); color: #fff; position: relative; overflow: hidden; }
.tn-big::after { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(233,95,49,.35), transparent 70%); }
.tn-big .k { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.6); font-weight: 600; }
.tn-big .v { font-family: var(--font-head); font-size: clamp(48px, 6vw, 84px); font-weight: 800; letter-spacing: -.045em; line-height: 1; margin: 10px 0 8px; }
.tn-big .v small { font-size: .42em; letter-spacing: -.01em; margin-left: 12px; color: rgba(255,255,255,.7); }
.tn-big p { color: rgba(255,255,255,.7); font-size: 15.5px; margin: 0; position: relative; z-index: 1; }
.tn-big.org { background: var(--orange); }
.tn-big.org::after { background: radial-gradient(circle, rgba(255,255,255,.25), transparent 70%); }
.tn-big.org p, .tn-big.org .k { color: rgba(255,255,255,.85); }
.tn-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.tn-stat { border-radius: var(--r-md); padding: 20px; background: #fff; border: 1px solid var(--line); }
.paper .tn-stat { background: #fff; }
.dark .tn-stat { background: var(--black-2); border-color: var(--line-dark); }
.tn-stat .k { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.dark .tn-stat .k { color: rgba(255,255,255,.55); }
.tn-stat .v { font-family: var(--font-head); font-size: clamp(30px, 3.2vw, 42px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; margin-top: 6px; }
.tn-stat .d { font-size: 14px; color: var(--ink-2); margin-top: 6px; line-height: 1.4; }
.dark .tn-stat .d { color: rgba(255,255,255,.65); }

/* ---------- Upozornění / citace ---------- */
.tn-note { display: flex; gap: 16px; padding: 20px 22px; border-radius: var(--r-md); background: var(--paper); border-left: 4px solid var(--orange); font-size: 16px; color: var(--ink-2); line-height: 1.55; }
.paper .tn-note { background: #fff; }
.tn-note svg { flex: none; width: 22px; height: 22px; color: var(--orange); margin-top: 2px; }
.tn-note b { color: var(--ink); }
.tn-fund { display: grid; grid-template-columns: auto 1fr; gap: 16px 18px; align-items: start; padding: clamp(18px, 2.4vw, 26px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.tn-fund .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--neg-50); color: var(--neg); }
.tn-fund .ic svg { width: 24px; height: 24px; }
.tn-fund h3 { font-size: 19px; }
.tn-fund p { margin-top: 6px; color: var(--ink-2); font-size: 15.5px; }
.tn-fund .pill { display: inline-block; margin-right: 6px; margin-top: 10px; padding: 4px 10px; border-radius: 999px; background: var(--paper); font-size: 13px; font-weight: 600; }

/* obrázek z podkladu */
.tn-fig { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(14,14,14,.45); }
.tn-fig img { width: 100%; }
.tn-fig figcaption { padding: 12px 18px; font-size: 13.5px; color: var(--ink-3); border-top: 1px solid var(--line); }
.tn-fig.post { max-width: 620px; transform: rotate(-1.2deg); }
.tn-fig.post img { padding: 6px 8px; }

/* Truth Social citace */
.tn-quote { position: relative; font-family: var(--font-head); font-size: clamp(28px, 3.6vw, 46px); font-weight: 750; line-height: 1.1; letter-spacing: -.03em; padding-left: 28px; border-left: 6px solid var(--orange); }
.tn-quote cite { display: block; margin-top: 14px; font-family: var(--font); font-size: 15px; font-style: normal; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.dark .tn-quote cite { color: rgba(255,255,255,.55); }

/* kdo rozhoduje: federál × státy */
.tn-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tn-split > div { padding: 22px; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; }
.tn-split h3 { font-size: 18px; display: flex; align-items: center; gap: 10px; }
.tn-split h3 svg { width: 22px; height: 22px; color: var(--orange); }
.tn-split ul { list-style: none; margin-top: 12px; display: grid; gap: 8px; font-size: 15.5px; color: var(--ink-2); }
.tn-split li { padding-left: 22px; position: relative; }
.tn-split li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

/* výhoda / nevýhoda */
.tn-vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: stretch; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.tn-vs > div { padding: clamp(20px, 2.6vw, 30px); }
.tn-vs .mid { display: grid; place-items: center; padding: 0 6px; background: var(--paper); font-family: var(--font-head); font-weight: 800; color: var(--ink-3); }
.tn-vs .lab { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; padding: 6px 10px; border-radius: 999px; }
.tn-vs .win .lab { background: var(--pos-50); color: var(--green-600); }
.tn-vs .lose .lab { background: var(--neg-50); color: var(--neg); }
.tn-vs h3 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 14px; }
.tn-vs .tick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tn-vs .tick span { padding: 6px 12px; border-radius: 10px; background: var(--paper); font-weight: 700; font-size: 14px; }
.tn-vs p { margin-top: 14px; color: var(--ink-2); font-size: 15.5px; }

/* řetězec příčin */
.tn-chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: c; list-style: none; }
.tn-chain li { position: relative; padding: 22px 26px 22px 20px; background: #fff; border: 1px solid var(--line); margin-right: -1px; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.tn-chain li:first-child { border-radius: var(--r-md) 0 0 var(--r-md); }
.tn-chain li:last-child { border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--black); color: rgba(255,255,255,.8); border-color: var(--black); }
.tn-chain li b { display: block; color: var(--ink); font-size: 16.5px; margin-bottom: 4px; }
.tn-chain li:last-child b { color: #fff; }
.tn-chain li:not(:last-child)::after { content: ""; position: absolute; right: -13px; top: 50%; width: 24px; height: 24px; margin-top: -12px; z-index: 2; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center/14px no-repeat; }
.tn-chain li { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.in .tn-chain li, .tn-chain.in li { opacity: 1; transform: none; }
.tn-chain li:nth-child(2) { transition-delay: .25s; } .tn-chain li:nth-child(3) { transition-delay: .5s; } .tn-chain li:nth-child(4) { transition-delay: .75s; }

/* ---------- Šíře trhu: 500 čtverečků ---------- */
.tn-waffle { display: grid; grid-template-columns: repeat(25, 1fr); gap: 4px; }
.tn-waffle i { aspect-ratio: 1; border-radius: 3px; background: rgba(255,255,255,.1); transition: background-color .35s; }
.tn-waffle i.d { background: var(--neg); }
.tn-waffle i.u { background: var(--pos); }
.tn-wf-key { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 22px; }
.tn-wf-key div { font-size: 14px; color: rgba(255,255,255,.65); }
.tn-wf-key b { display: block; font-family: var(--font-head); font-size: clamp(40px, 5vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.tn-watch { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--r-md); background: rgba(233,95,49,.12); border: 1px solid rgba(233,95,49,.35); margin-top: 22px; font-size: 16px; }
.tn-watch svg { flex: none; width: 26px; height: 26px; color: var(--orange); }

/* ---------- Pákové ETF – krokový příklad ---------- */
.tn-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tn-step { padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.tn-step .no { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.tn-step h3 { font-size: 19px; margin-top: 6px; }
.tn-step p { font-size: 15px; color: var(--ink-2); margin-top: 8px; }
.tn-mini { margin-top: auto; padding-top: 18px; display: flex; align-items: flex-end; gap: 12px; height: 200px; }
.tn-mini .col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; font-size: 12.5px; color: var(--ink-3); text-align: center; line-height: 1.2; }
.tn-mini .b { width: 100%; max-width: 64px; border-radius: 8px 8px 3px 3px; height: 0; transition: height 1s var(--ease); position: relative; }
.tn-mini .b em { position: absolute; top: -24px; left: 50%; transform: translateX(-50%); font-style: normal; font-weight: 800; font-family: var(--font-head); font-size: 16px; color: var(--ink); white-space: nowrap; opacity: 0; transition: opacity .4s 1s; }
.in .tn-mini .b { height: calc(var(--v) * .8%); }
.in .tn-mini .b em { opacity: 1; }
.tn-mini .nav { background: var(--ink); }
.tn-mini .pos-b { background: var(--orange); }
.tn-mini .cut { background: repeating-linear-gradient(135deg, var(--neg) 0 6px, #f58b8e 6px 12px); }
.tn-step:nth-child(2) .b { transition-delay: .4s; }
.tn-step:nth-child(3) .b { transition-delay: .8s; }
.tn-loop { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 12px; padding: 22px; border-radius: var(--r-lg); background: var(--black); color: #fff; font-weight: 600; text-align: center; }
.tn-loop span { padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid var(--line-dark); }
.tn-loop svg { width: 22px; height: 22px; color: var(--orange); flex: none; }
.tn-loop .spin { animation: tn-spin 6s linear infinite; }
@keyframes tn-spin { to { transform: rotate(360deg); } }

/* VIX ukazatel */
.tn-gauge { position: relative; width: 100%; max-width: 320px; margin: 4px auto 0; }
.tn-gauge svg { width: 100%; height: auto; overflow: visible; }
.tn-gauge .arc { fill: none; stroke-width: 18; stroke-linecap: round; }
.tn-gauge .val { stroke: url(#tnVixGrad); stroke-dasharray: 0 1000; transition: stroke-dasharray 1.6s var(--ease); }
.tn-gauge .needle { transform-origin: 160px 160px; transform: rotate(-90deg); transition: transform 1.6s var(--ease); }
.tn-gauge .cap { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; }
.tn-gauge .cap b { display: block; font-family: var(--font-head); font-size: 48px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.tn-gauge .cap span { font-size: 13px; color: var(--ink-3); }

/* ---------- Klíčová otázka ---------- */
.tn-key { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; padding: clamp(28px, 4vw, 52px); border-radius: 28px; background: linear-gradient(135deg, var(--black) 0%, #1f1410 100%); color: #fff; position: relative; overflow: hidden; }
.tn-key::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(233,95,49,.4), transparent 68%); }
.tn-key img { width: clamp(96px, 12vw, 150px); aspect-ratio: 1; object-fit: cover; object-position: 50% 22%; border-radius: 28%; border: 3px solid var(--orange); position: relative; z-index: 1; }
.tn-key > div { position: relative; z-index: 1; }
.tn-key .q { font-family: var(--font-head); font-size: clamp(26px, 3.4vw, 44px); font-weight: 750; line-height: 1.1; letter-spacing: -.03em; }
.tn-key .a { margin-top: 16px; display: inline-flex; align-items: center; gap: 12px; font-size: clamp(18px, 2vw, 22px); color: rgba(255,255,255,.8); }
.tn-key .a b { display: inline-grid; place-items: center; padding: 6px 18px; border-radius: 999px; background: var(--green); color: #fff; font-family: var(--font-head); font-size: 1.15em; font-weight: 800; }

/* ---------- Výsledky firem ---------- */
.tn-co { border-radius: 24px; background: #fff; border: 1px solid var(--line); padding: clamp(22px, 3vw, 40px); }
.tn-co + .tn-co { margin-top: 20px; }
.tn-co-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-bottom: 22px; }
.tn-tick { display: inline-grid; place-items: center; min-width: 64px; height: 64px; padding: 0 12px; border-radius: 18px; background: var(--black); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.tn-co-head h3 { font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -.025em; flex: 1 1 320px; }
.tn-co-head .chg { font-family: var(--font-head); font-weight: 800; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.03em; }
.tn-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tn-kpi { padding: 16px 18px; border-radius: var(--r-md); background: var(--paper); }
.tn-kpi .k { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.tn-kpi .v { font-family: var(--font-head); font-size: clamp(24px, 2.5vw, 32px); font-weight: 800; letter-spacing: -.03em; margin-top: 4px; line-height: 1.1; }
.tn-kpi .d { font-size: 13.5px; font-weight: 700; margin-top: 2px; }
.tn-rings { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; }
.tn-ring { display: flex; align-items: center; gap: 14px; }
.tn-ring svg { width: 108px; height: 108px; transform: rotate(-90deg); flex: none; }
.tn-ring circle { fill: none; stroke-width: 12; }
.tn-ring .bg { stroke: var(--paper); }
.tn-ring .fg { stroke: var(--orange); stroke-linecap: round; stroke-dasharray: 0 302; transition: stroke-dasharray 1.4s var(--ease); }
.tn-ring.g .fg { stroke: var(--pos); }
.tn-ring.d .fg { stroke: var(--ink); }
.tn-ring .t { font-size: 14px; color: var(--ink-2); line-height: 1.35; max-width: 170px; }
.tn-ring .t b { display: block; font-family: var(--font-head); font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1.05; }
.tn-pc { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tn-pc > div { padding: 16px 18px; border-radius: var(--r-md); font-size: 15px; line-height: 1.45; }
.tn-pc .p { background: var(--pos-50); }
.tn-pc .c { background: var(--neg-50); }
.tn-pc b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 4px; }
.tn-pc .p b { color: var(--green-600); } .tn-pc .c b { color: var(--neg); }
.tn-sm { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.tn-sm .tn-co { margin-top: 0; }

/* Apple: marže */
.tn-margin { display: flex; align-items: flex-end; gap: 22px; height: 230px; padding: 30px 0 0; border-bottom: 2px solid var(--ink); position: relative; }
.tn-margin .col { flex: 1; max-width: 140px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.tn-margin .b { width: 100%; height: 0; border-radius: 10px 10px 0 0; transition: height 1.2s var(--ease); position: relative; }
.tn-margin .b em { position: absolute; top: -30px; left: 0; right: 0; text-align: center; font-style: normal; font-family: var(--font-head); font-weight: 800; font-size: 20px; }
.in .tn-margin .b { height: calc((var(--v) - 40) * 10%); }
.tn-margin .now { background: var(--ink); }
.tn-margin .fut { background: repeating-linear-gradient(135deg, var(--orange) 0 8px, #f3916f 8px 16px); transition-delay: .35s; }
.tn-margin-l { display: flex; gap: 22px; margin-top: 8px; font-size: 13px; color: var(--ink-3); }
.tn-margin-l span { flex: 1; max-width: 140px; text-align: center; }
.tn-mem { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
.tn-mem > div { padding: 18px; border-radius: var(--r-md); text-align: center; }
.tn-mem .w { background: var(--pos-50); }
.tn-mem .l { background: var(--neg-50); }
.tn-mem b { display: block; font-size: 12.5px; text-transform: uppercase; letter-spacing: .07em; }
.tn-mem .w b { color: var(--green-600); } .tn-mem .l b { color: var(--neg); }
.tn-mem span { display: block; margin-top: 6px; font-family: var(--font-head); font-weight: 800; font-size: 19px; }
.tn-mem .mid { text-align: center; font-size: 13px; color: var(--ink-3); line-height: 1.3; }
.tn-mem .mid svg { width: 26px; height: 26px; color: var(--orange); display: block; margin: 0 auto 4px; }

/* ---------- Payrolls ---------- */
.tn-vbars { display: flex; align-items: flex-end; gap: clamp(20px, 4vw, 48px); height: 280px; padding-top: 40px; border-bottom: 2px solid currentColor; }
.tn-vbars .col { flex: 1; max-width: 160px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.tn-vbars .b { height: 0; border-radius: 12px 12px 0 0; position: relative; transition: height 1.3s var(--ease); }
.tn-vbars .b em { position: absolute; top: -38px; left: 0; right: 0; text-align: center; font-style: normal; font-family: var(--font-head); font-weight: 800; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.03em; }
.in .tn-vbars .b { height: calc(var(--v) * 1%); }
.tn-vbars .exp { background: rgba(255,255,255,.22); }
.tn-vbars .act { background: var(--pos); transition-delay: .3s; }
.tn-vbars .rev { background: rgba(0,179,75,.45); transition-delay: .6s; }
.tn-vbars-l { display: flex; gap: clamp(20px, 4vw, 48px); margin-top: 10px; font-size: 14px; color: rgba(255,255,255,.6); }
.tn-vbars-l span { flex: 1; max-width: 160px; text-align: center; }

.tn-prob { display: grid; gap: 12px; margin-top: 8px; }
.tn-prob .row { display: grid; grid-template-columns: 1fr; gap: 6px; }
.tn-prob .top { display: flex; justify-content: space-between; font-size: 15px; font-weight: 600; }
.tn-prob .top b { font-family: var(--font-head); font-size: 22px; font-weight: 800; }
.tn-prob .tr { height: 16px; border-radius: 999px; background: var(--paper); overflow: hidden; }
.tn-prob .fl { height: 100%; width: 0; border-radius: 999px; background: var(--ink-3); transition: width 1.3s var(--ease); }
.tn-prob .hike .fl { background: var(--orange); }
.in .tn-prob .fl { width: calc(var(--v) * 1%); }

/* ---------- Ropa a money market ---------- */
.tn-oil { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tn-oil > div { padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; }
.tn-oil .k { font-size: 14px; font-weight: 700; }
.tn-oil .v { font-family: var(--font-head); font-size: clamp(40px, 4.8vw, 60px); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-top: 10px; }
.tn-oil .v small { font-size: .36em; color: var(--ink-3); letter-spacing: 0; font-weight: 600; margin-left: 4px; }
.tn-oil .chg { display: inline-block; margin-top: 12px; padding: 5px 12px; border-radius: 999px; background: var(--neg-50); color: var(--neg); font-weight: 800; font-size: 15px; }
.tn-oil svg { position: absolute; right: 0; bottom: 0; width: 60%; height: 70%; opacity: .9; }
.tn-oil svg path.l { fill: none; stroke: var(--neg); stroke-width: 3; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.8s var(--ease); }
.tn-oil svg path.a { fill: url(#tnOilGrad); opacity: 0; transition: opacity 1s .9s; }
.in .tn-oil svg path.l { stroke-dashoffset: 0; }
.in .tn-oil svg path.a { opacity: 1; }

/* ---------- Příští týden – kalendář ---------- */
.tn-cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.tn-day { border-radius: var(--r-lg); background: var(--black-2); border: 1px solid var(--line-dark); padding: 18px 16px; min-height: 240px; display: flex; flex-direction: column; gap: 10px; }
.tn-day .dn { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--line-dark); }
.tn-day .dn b { font-family: var(--font-head); font-size: 22px; font-weight: 800; }
.tn-day .dn span { font-size: 13px; color: rgba(255,255,255,.5); }
.tn-ev { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.06); font-size: 14.5px; line-height: 1.35; }
.tn-ev small { display: block; font-size: 12px; color: rgba(255,255,255,.55); margin-bottom: 3px; font-weight: 600; letter-spacing: .03em; }
.tn-ev.top { background: var(--orange); box-shadow: 0 14px 30px -14px rgba(233,95,49,.8); }
.tn-ev.top small { color: rgba(255,255,255,.85); }
.tn-ev.earn { border-left: 3px solid var(--pos); }
.tn-ev.span { background: transparent; border: 1px dashed rgba(255,255,255,.25); }
.tn-allweek { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 16px 18px; border-radius: var(--r-md); border: 1px dashed rgba(255,255,255,.25); font-size: 15px; color: rgba(255,255,255,.8); }
.tn-allweek b { color: #fff; margin-right: 6px; }
.tn-allweek span { padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.08); font-weight: 600; }

/* obsah stránky (rychlá navigace) */
.tn-toc { position: sticky; top: var(--nav-h); z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.tn-toc ul { display: flex; gap: 4px; overflow-x: auto; list-style: none; padding: 10px 0; scrollbar-width: none; }
.tn-toc ul::-webkit-scrollbar { display: none; }
.tn-toc a { display: block; white-space: nowrap; padding: 7px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.tn-toc a:hover { background: var(--paper); text-decoration: none; }
.tn-toc a.on { background: var(--black); color: #fff; }

/* archiv /trzni-nedele/ */
.tn-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.tn-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--black); color: #fff; min-height: 260px; padding: 26px; position: relative; transition: transform .25s var(--ease); }
.tn-card:hover { transform: translateY(-4px); text-decoration: none; }
.tn-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(233,95,49,.45), transparent 70%); }
.tn-card .dt { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.tn-card b { display: block; font-family: var(--font-head); font-size: 26px; line-height: 1.1; letter-spacing: -.02em; margin-top: 10px; color: #fff; }
.tn-card p { color: rgba(255,255,255,.65); font-size: 15px; margin-top: 10px; }
.tn-card .chips { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.tn-card .chips span { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 8px; background: rgba(255,255,255,.08); }

/* tisk / uložení do PDF (tlačítko „Uložit jako PDF“) */
.tn-print { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.06); color: #fff; font-weight: 600; font-size: 14.5px; cursor: pointer; }
.tn-print svg { width: 18px; height: 18px; }
.tn-print:hover { background: rgba(255,255,255,.12); }
@media print {
  .nav, .mnav, .tn-toc, .sticky-cta, footer, .club-box, .tn-print, .skip { display: none !important; }
  .tn-sec { padding: 28px 0; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .tn-chain li { opacity: 1; transform: none; }
}

/* ---------- Mobil ---------- */
@media (max-width: 960px) {
  .tn-hero-photo { width: 100%; opacity: .45; }
  .tn-questions { grid-template-columns: 1fr; }
  .tn-grid, .tn-grid.even, .tn-sm { grid-template-columns: 1fr; }
  .tn-idx { grid-template-columns: repeat(2, 1fr); }
  .tn-kpis { grid-template-columns: repeat(2, 1fr); }
  .tn-chain { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tn-chain li, .tn-chain li:first-child, .tn-chain li:last-child { border-radius: var(--r-md); margin: 0; }
  .tn-chain li::after { display: none; }
  .tn-steps { grid-template-columns: 1fr; }
  .tn-cal { grid-template-columns: 1fr 1fr; }
  .tn-day { min-height: 0; }
}
@media (max-width: 620px) {
  .tn-head { grid-template-columns: 1fr; }
  .tn-num { grid-row: auto; font-size: 40px; }
  .tn-bar { grid-template-columns: 96px 1fr 58px; gap: 10px; font-size: 14px; }
  .tn-bar .pc { font-size: 16px; }
  .tn-dv-row { grid-template-columns: 1fr; gap: 4px; }
  .tn-split, .tn-oil, .tn-pc { grid-template-columns: 1fr; }
  .tn-vs { grid-template-columns: 1fr; }
  .tn-vs .mid { padding: 8px; }
  .tn-chain { grid-template-columns: 1fr; }
  .tn-cal { grid-template-columns: 1fr; }
  .tn-waffle { gap: 2px; }
  .tn-key { grid-template-columns: 1fr; }
  .tn-mem { grid-template-columns: 1fr; }
  .tn-margin, .tn-margin-l { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .tn-bar .fl, .tn-dv, .tn-mini .b, .tn-margin .b, .tn-vbars .b, .tn-prob .fl, .tn-ring .fg, .tn-gauge .val, .tn-gauge .needle, .tn-chain li, .tn-oil svg path { transition: none !important; }
  .tn-loop .spin { animation: none; }
}
.tn-vs .lab svg, .tn-note svg + div svg { width: 16px; height: 16px; flex: none; }
.tn-oil .v small { display: block; margin: 8px 0 0; }
.tn-idx-card .ytd { flex-wrap: wrap; gap: 2px 8px; }
.tn-idx-card .ytd b { white-space: nowrap; }
@media (max-width: 620px) {
  .tn-dv-axis::before { left: 30%; }
  .tn-dv.w { right: 70%; } .tn-dv.y { left: 30%; }
  .in .tn-dv { width: calc(var(--v) * 4.3%); }
  .tn-idx-card { padding: 18px 16px 14px; }
}
.tn-fig.mt-tn { margin-top: clamp(40px, 5vw, 64px); }
