html, body { margin: 0; padding: 0; background: transparent; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; color: #222; }

/* Náhled pro iframe */
.tvp-card { max-width: 596px; margin: 0 auto; background: #fff; border: 1px solid #555; box-sizing: border-box; }
.tvp-page { display: flex; align-items: center; justify-content: center; background: #f3f4f8; padding: 18px 0 0; min-height: 200px; cursor: zoom-in; }
.tvp-page canvas { display: block; max-width: 100%; height: auto; }
.tvp-msg { color: #888; font-size: 14px; padding: 80px 20px; }
.tvp-bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; font-size: 15px; }
.tvp-name { flex: 1; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tvp-nav { display: flex; align-items: center; gap: 6px; }
.tvp-right { flex: 1; text-align: right; }
.tvp-bar button { background: none; border: 0; border-radius: 4px; padding: 6px 8px; font-size: 18px; line-height: 1; cursor: pointer; color: inherit; }
.tvp-bar button:hover { background: rgba(127, 127, 127, .18); }
.tvp-bar button:disabled { opacity: .3; cursor: default; background: none; }
.tvp-num { min-width: 62px; text-align: center; font-weight: 600; }

/* Celá obrazovka (z iframu) a velké prohlížení */
.tvp-card:fullscreen, body.tvp-full .tvp-card { max-width: none; border: 0; display: flex; flex-direction: column; background: #3a3f44; color: #fff; }
body.tvp-full { background: #3a3f44; }
body.tvp-full .tvp-card { height: 100vh; height: 100dvh; }
.tvp-card:fullscreen .tvp-page, body.tvp-full .tvp-page { flex: 1; min-height: 0; padding: 12px; background: #3a3f44; cursor: default; }
.tvp-card:fullscreen .tvp-page canvas, body.tvp-full .tvp-page canvas { max-height: 100%; width: auto; box-shadow: 0 4px 20px rgba(0, 0, 0, .5); }
.tvp-card:fullscreen .tvp-bar, body.tvp-full .tvp-bar { background: #22262a; flex: 0 0 auto; }
