/* public/layout-coach.css -- "Coach en vivo" al grabar (solo celular + skin Video; ver layout-coach.js) */
.cg-card, .cg-opts, .cg-count { display: none; }
html[data-layout="video"].is-big .cg-card:not([hidden]) { display: grid; gap: 10px; padding: 14px; border-radius: 20px; background: rgb(var(--accent-rgb) / 10%); border: 1.5px solid rgb(var(--accent-rgb) / 40%); min-width: 0; }
html[data-layout="video"].is-big .cg-opts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 4px; }
.cg-opts [hidden] { display: none; }
.cg-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 32px; }
.cg-sec { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.7; }
.cg-badge { padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: 0.9rem; background: rgba(255, 255, 255, 0.12); transition: background 0.2s ease, transform 0.2s ease; }
.cg-badge:empty { display: none; }
.cg-badge[data-k="sing"] { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #07070c; }
.cg-badge[data-k="count"] { background: #f0bd4a; color: #3a2a00; animation: cgBeat 0.6s ease-in-out infinite; }
.cg-badge[data-k="breath"] { background: #3aa6d8; color: #04202e; }
.cg-line { position: relative; margin: 0; font-size: 1.35rem; font-weight: 800; line-height: 1.25; text-align: center; min-height: 2.6em; display: grid; align-items: center; }
.cg-base, .cg-fill { grid-area: 1 / 1; overflow-wrap: anywhere; }
.cg-base { opacity: 0.35; }
.cg-fill { --p: 0; color: transparent; background: linear-gradient(90deg, var(--accent-3, #f0bd4a) calc(var(--p) * 1%), transparent 0); -webkit-background-clip: text; background-clip: text; }
.cg-next { margin: 0; text-align: center; font-size: 0.85rem; opacity: 0.7; min-height: 1.2em; }
.cg-meters { display: grid; gap: 8px; }
.cg-tuner { display: flex; align-items: center; gap: 12px; }
.cg-scale { position: relative; flex: 1; height: 14px; border-radius: 999px; background: linear-gradient(90deg, #e0457a 0 18%, #f0bd4a 18% 36%, #2fbf71 36% 64%, #f0bd4a 64% 82%, #e0457a 82% 100%); opacity: 0.9; }
.cg-needle { position: absolute; top: -4px; width: 6px; height: 22px; margin-left: -3px; border-radius: 3px; background: #fff; box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.4); left: 50%; transition: left 0.08s linear; }
.cg-needle.is-off { opacity: 0.25; }
.cg-note { min-width: 64px; display: grid; justify-items: center; line-height: 1.1; }
.cg-note b { font-size: 1.3rem; }
.cg-note small { font-size: 0.72rem; opacity: 0.7; min-height: 1em; }
.cg-level { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.cg-level i { display: block; height: 100%; width: 0; border-radius: 999px; background: #2fbf71; transition: width 0.06s linear, background 0.2s ease; }
.cg-level i[data-k="ok"] { background: #f0bd4a; }
.cg-level i[data-k="bad"] { background: #e0457a; }
.cg-tip { margin: 0; text-align: center; font-weight: 800; font-size: 0.95rem; min-height: 1.3em; }
.cg-tip[data-k="good"] { color: #7fe3a1; }
.cg-tip[data-k="ok"] { color: #f0bd4a; }
.cg-tip[data-k="bad"] { color: #ff8aa6; }
.cg-tip[data-k="breath"] { color: #7cc8ee; }
.cg-tip[data-k="count"] { color: #f0bd4a; }
.cg-dots { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.cg-dots:empty { display: none; }
.cg-dots i { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.cg-count { position: fixed; inset: 0; z-index: 99990; align-content: center; justify-items: center; gap: 10px; background: rgba(8, 4, 2, 0.82); backdrop-filter: blur(4px); }
html[data-layout="video"].is-big .cg-count:not([hidden]) { display: grid; }
.cg-count b { font-size: 8rem; line-height: 1; color: var(--accent-3, #f0bd4a); text-shadow: 0 8px 40px rgb(var(--accent-rgb) / 70%); }
.cg-count small { font-size: 0.95rem; opacity: 0.8; }
.cg-count.cg-tick b { animation: cgTick 0.5s ease-out; }
@keyframes cgTick { 0% { transform: scale(1.6); opacity: 0.2; } 100% { transform: scale(1); opacity: 1; } }
@keyframes cgBeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .cg-badge[data-k="count"], .cg-count.cg-tick b { animation: none; } }
