/* vlogn.com — Araçlar Özel CSS (Sıfır harici CDN) */

/* Ortak Araç Düzeni */
.tool-wrap { display: grid; grid-template-columns: 1fr; gap: 32px; }
.tool-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.tool-guide { margin-top: 40px; }
.tool-faq { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 24px; }
.faq-item { margin-bottom: 18px; }
.faq-q { font-weight: 700; font-size: 1.05rem; margin-bottom: 6px; }
.faq-a { color: var(--muted); margin: 0; }

/* 1. YouTube Thumbnail Önizleyici */
.yt-preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 24px; }
.yt-sim-card { border-radius: 12px; padding: 14px; background: #fff; border: 1px solid var(--line); transition: background .15s, color .15s; }
.yt-sim-card.dark-mode { background: #0F0F0F; color: #F1F1F1; border-color: #272727; }
.yt-sim-card.dark-mode .muted { color: #AAAAAA; }
.yt-sim-thumb { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #1E293B; border-radius: 10px; overflow: hidden; display: grid; place-items: center; color: #fff; }
.yt-sim-thumb img { width: 100%; height: 100%; object-fit: cover; }
.yt-sim-time { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,.8); color: #fff; font-size: .75rem; font-family: var(--mono); padding: 2px 5px; border-radius: 4px; }
.yt-sim-meta { display: flex; gap: 12px; margin-top: 12px; align-items: flex-start; }
.yt-sim-avatar { width: 36px; height: 36px; border-radius: 50%; background: #E11D48; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; flex-shrink: 0; }
.yt-sim-title { font-weight: 600; font-size: .95rem; line-height: 1.35; margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 2. Reels / Shorts / TikTok Safe Zone */
.safezone-container { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.safezone-device { position: relative; width: 340px; aspect-ratio: 9 / 16; background: #000; border-radius: 28px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.35); border: 8px solid #1E293B; }
.safezone-device img, .safezone-device video { width: 100%; height: 100%; object-fit: cover; }
.safezone-overlay { position: absolute; inset: 0; pointer-events: none; }
.safezone-bounds { position: absolute; left: 16px; right: 76px; top: 96px; bottom: 120px; border: 2px dashed rgba(5, 150, 105, .8); background: rgba(5, 150, 105, .08); border-radius: 8px; }
.safezone-danger { position: absolute; left: 0; right: 0; background: rgba(225, 29, 72, .22); }
.safezone-danger.top { top: 0; height: 90px; }
.safezone-danger.bottom { bottom: 0; height: 110px; }
.safezone-danger.side { right: 0; width: 70px; top: 90px; bottom: 110px; }
.safezone-ui { position: absolute; right: 12px; bottom: 120px; display: flex; flex-direction: column; gap: 16px; color: #fff; align-items: center; }
.safezone-ui-btn { width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,.4); display: grid; place-items: center; }

/* 3. Bitrate Hesaplayıcı */
.bitrate-result-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 20px; }
.bitrate-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px; text-align: center; }
.bitrate-card strong { display: block; font-size: 1.8rem; color: var(--indigo); margin-top: 4px; }

/* 4. Teleprompter */
.prompter-screen { background: #0A0A0A; color: #FFFFFF; border-radius: 14px; min-height: 380px; max-height: 520px; overflow-y: hidden; position: relative; padding: 30px; user-select: none; }
.prompter-content { font-family: var(--font); line-height: 1.7; transition: transform .05s linear; will-change: transform; }
.prompter-marker { position: absolute; top: 45%; left: 0; right: 0; height: 2px; background: rgba(225, 29, 72, .6); pointer-events: none; }
.prompter-marker::before { content: "▶"; position: absolute; left: 8px; top: -10px; color: var(--rec); font-size: 14px; }
.prompter-screen.mirrored .prompter-content { transform: scaleX(-1); }
.prompter-fullscreen { position: fixed !important; inset: 0 !important; z-index: 999999 !important; border-radius: 0 !important; max-height: 100vh !important; height: 100vh !important; }
.prompter-controls { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 14px; background: var(--surface); padding: 12px 16px; border-radius: 10px; border: 1px solid var(--line); }

/* 5. Title & Pixel Genişlik */
.pixel-meter-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px; margin-top: 16px; }
.pixel-bar-bg { height: 10px; background: #E2E8F0; border-radius: 999px; overflow: hidden; margin: 8px 0; }
.pixel-bar-fill { height: 100%; background: var(--green); transition: width .15s, background .15s; }
.pixel-bar-fill.warning { background: var(--amber); }
.pixel-bar-fill.danger { background: var(--rec); }

/* 6. Aspect Ratio */
.aspect-visual { display: flex; justify-content: center; align-items: center; min-height: 260px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-top: 20px; overflow: hidden; padding: 20px; }
.aspect-box { background: linear-gradient(135deg, var(--indigo), var(--rec)); border-radius: 8px; color: #fff; display: grid; place-items: center; font-weight: 700; transition: width .2s, height .2s; max-width: 100%; max-height: 240px; box-shadow: var(--shadow); }

/* 7. Shot-List Planner */
.shotlist-table input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--indigo); cursor: pointer; }
.shotlist-done { text-decoration: line-through; opacity: .55; }

/* 8. LUFS Audio Rehberi */
.lufs-meter { height: 26px; border-radius: 999px; background: linear-gradient(90deg, #10B981 0% 60%, #F59E0B 75%, #EF4444 90%); position: relative; margin: 16px 0; }
.lufs-target-pin { position: absolute; top: -6px; bottom: -6px; width: 3px; background: #000; border-radius: 2px; }
.lufs-target-pin::after { content: attr(data-label); position: absolute; top: 30px; left: 50%; transform: translateX(-50%); font-size: .75rem; font-weight: 700; white-space: nowrap; }

/* Akıllı Dönüşüm Köprüsü (CTA Bridge) */
.tool-cta-bridge { margin-top: 36px; padding: 28px; border-radius: 16px; background: linear-gradient(135deg, var(--studio), var(--studio-2)); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border: 1px solid rgba(255,255,255,.1); }
.tool-cta-bridge h3 { color: #fff; margin: 0 0 6px; font-size: 1.25rem; }
.tool-cta-bridge p { color: #CBD5E1; margin: 0; font-size: .95rem; }
