/* =========================================================
   youtube.css  —  유튜브 앱 디자인
   ========================================================= */

.yt-app { background: #0f0f0f; color: #fff; display: flex; flex-direction: column; font-family: -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; }
.yt-top { flex: none; padding-top: 54px; height: 100px; box-sizing: border-box; display: flex; align-items: center; padding-left: 16px; }
.yt-top b { font-size: 20px; font-weight: 800; letter-spacing: -.3px; }
.yt-top b::before { content: ""; display: inline-block; width: 26px; height: 18px; border-radius: 5px; background: #f00; vertical-align: -3px; margin-right: 8px; }
.yt-player { flex: none; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.yt-player iframe { width: 100%; height: 100%; border: 0; display: block; }
.yt-info { padding: 18px 16px; }
.yt-info p { margin: 0 0 14px; font-size: 13.5px; color: #aaa; line-height: 1.5; }
.yt-open { display: inline-block; padding: 11px 20px; border-radius: 20px; background: #272727; color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; }
.yt-open:active { background: #3a3a3a; }

/* 파일로 열었을 때 보이는 대표 화면 (누르면 유튜브로 이동) */
.yt-fake { display: block; position: relative; width: 100%; height: 100%; background-size: cover; background-position: center; background-color: #111; }
.yt-fake::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .25); }
.yt-play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 13px; background: #f00; }
.yt-play::after { content: ""; position: absolute; left: 27px; top: 14px; border-left: 17px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
