/* Canal FM v0.13.07 — Retorno e Descoberta (módulo isolado) */
.cfm-return-discovery{margin:28px 0 34px;padding:24px;border:1px solid #dce8ed;border-radius:24px;background:linear-gradient(135deg,#f8fcfd,#fff 62%);box-shadow:0 12px 30px rgba(7,27,51,.05)}
.cfm-return-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:18px}
.cfm-return-heading h2{margin:4px 0 5px;color:#071b33;font-size:clamp(25px,3.2vw,38px);line-height:1.05}
.cfm-return-heading p{margin:0;color:#667085;font-size:14px}
.cfm-return-actions{display:flex;align-items:center;gap:9px;flex:0 0 auto}
.cfm-surprise-button,.cfm-recent-clear{min-height:42px;border:0;border-radius:12px;padding:10px 15px;font-weight:850;cursor:pointer}
.cfm-surprise-button{background:#071b33;color:#fff;box-shadow:0 8px 20px rgba(7,27,51,.18)}
.cfm-surprise-button span{color:#b9f229}.cfm-surprise-button:hover{transform:translateY(-1px)}
.cfm-surprise-button.is-loading{opacity:.72;cursor:progress}.cfm-recent-clear{background:#eef4f6;color:#526570;font-size:12px}
.cfm-recent-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.cfm-recent-card{display:grid;grid-template-columns:52px minmax(0,1fr);gap:10px;align-items:center;min-width:0;padding:11px;border:1px solid #e4ecef;border-radius:16px;background:#fff;box-shadow:0 6px 16px rgba(7,27,51,.04)}
.cfm-recent-logo img{display:block;width:52px;height:52px;border-radius:12px;object-fit:contain;background:#f4f7f9}
.cfm-recent-card>div{display:grid;min-width:0}.cfm-recent-card small{color:#0b8094;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}
.cfm-recent-name{color:#071b33;font-size:14px;font-weight:850;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cfm-recent-card>div span{color:#667085;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cfm-recent-play{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:36px;padding:8px 10px!important}
.cfm-recent-empty{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:9px;min-height:78px;border:1px dashed #c8d8df;border-radius:16px;color:#667085;text-align:center}
.cfm-recent-empty>span{color:#14aeb7;font-size:22px}.cfm-recent-empty strong{color:#273b4c;font-size:14px}.cfm-recent-empty small{font-size:12px}
.cfm-surprise-feedback{min-height:18px;margin:10px 0 0;color:#0b8094;font-size:12px;font-weight:750}
.cfm-menu-surprise-link{font-weight:850!important}.cfm-menu-surprise-link span{color:#7aa600}.cfm-menu-surprise-link.is-loading{opacity:.6;pointer-events:none}
.cfm-intelligent-mode-action{display:none}
.cfm-intelligent-mode-action button{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:10px;min-width:220px;padding:12px 18px;border:1px solid rgba(185,242,41,.45);border-radius:16px;background:linear-gradient(135deg,#b9f229,#8bd919);color:#071b33;box-shadow:0 12px 32px rgba(0,0,0,.24);font:inherit;cursor:pointer;text-align:left}
.cfm-intelligent-mode-action button>span{grid-row:1/3;font-size:25px}.cfm-intelligent-mode-action button strong{font-size:15px;line-height:1}.cfm-intelligent-mode-action button small{font-size:9px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;opacity:.7}.cfm-surprise-car-label{display:none}
body.cfm-car-mode-active #cfm-player .cfm-intelligent-mode-action,body.cfm-fullscreen-active #cfm-player .cfm-intelligent-mode-action,#cfm-player:fullscreen .cfm-intelligent-mode-action{position:absolute;z-index:18;top:22px;left:50%;display:block;transform:translateX(-50%)}
body.cfm-car-mode-active #cfm-player .cfm-surprise-full-label{display:none}body.cfm-car-mode-active #cfm-player .cfm-surprise-car-label{display:block}
.cfm-tv-console-frame,.cfm-tv-digital-clock{display:none}
@media(min-width:901px) and (min-height:600px){
body.cfm-fullscreen-active #cfm-player .cfm-tv-console-frame,#cfm-player:fullscreen .cfm-tv-console-frame{position:absolute;z-index:1;inset:15px;display:block;border:1px solid rgba(48,209,218,.42);border-radius:36px;background:linear-gradient(145deg,rgba(8,35,54,.64),rgba(2,13,24,.34));box-shadow:inset 0 0 0 1px rgba(255,255,255,.025),inset 0 0 65px rgba(20,215,220,.035),0 22px 70px rgba(0,0,0,.38);pointer-events:none}
body.cfm-fullscreen-active #cfm-player .cfm-tv-console-frame::before,#cfm-player:fullscreen .cfm-tv-console-frame::before{content:"";position:absolute;left:34px;right:34px;top:0;height:3px;border-radius:0 0 4px 4px;background:linear-gradient(90deg,transparent,#14d7dc 20%,#b9f229 50%,#14d7dc 80%,transparent);box-shadow:0 0 18px rgba(20,215,220,.44)}
body.cfm-fullscreen-active #cfm-player .cfm-tv-console-brand,#cfm-player:fullscreen .cfm-tv-console-brand{position:absolute;left:28px;top:18px;color:#69e9ed;font-size:12px;font-weight:950;letter-spacing:.16em}
body.cfm-fullscreen-active #cfm-player .cfm-tv-console-model,#cfm-player:fullscreen .cfm-tv-console-model{position:absolute;left:28px;top:36px;color:rgba(195,220,227,.52);font-size:8px;font-weight:800;letter-spacing:.19em}
body.cfm-fullscreen-active #cfm-player .cfm-tv-console-frame i,#cfm-player:fullscreen .cfm-tv-console-frame i{position:absolute;width:7px;height:7px;border:1px solid rgba(113,205,211,.45);border-radius:50%;background:#061522;box-shadow:inset 0 0 2px #000}
body.cfm-fullscreen-active #cfm-player .cfm-tv-console-frame .is-top-left,#cfm-player:fullscreen .cfm-tv-console-frame .is-top-left{left:14px;top:14px}
body.cfm-fullscreen-active #cfm-player .cfm-tv-console-frame .is-top-right,#cfm-player:fullscreen .cfm-tv-console-frame .is-top-right{right:14px;top:14px}
body.cfm-fullscreen-active #cfm-player .cfm-tv-console-frame .is-bottom-left,#cfm-player:fullscreen .cfm-tv-console-frame .is-bottom-left{left:14px;bottom:14px}
body.cfm-fullscreen-active #cfm-player .cfm-tv-console-frame .is-bottom-right,#cfm-player:fullscreen .cfm-tv-console-frame .is-bottom-right{right:14px;bottom:14px}
body.cfm-fullscreen-active #cfm-player .cfm-tv-digital-clock,#cfm-player:fullscreen .cfm-tv-digital-clock{position:absolute;z-index:20;right:42px;top:27px;display:block;min-width:138px;padding:9px 14px;border:1px solid rgba(185,242,41,.38);border-radius:12px;background:rgba(2,15,25,.78);color:#b9f229;box-shadow:inset 0 0 16px rgba(185,242,41,.06),0 8px 24px rgba(0,0,0,.28);font:800 24px/1 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.09em;text-align:center;text-shadow:0 0 12px rgba(185,242,41,.44)}
body.cfm-fullscreen-active #cfm-player>.cfm-mode-tools,#cfm-player:fullscreen>.cfm-mode-tools{top:78px!important;right:42px!important}
body.cfm-fullscreen-active #cfm-player>.cfm-player-station,body.cfm-fullscreen-active #cfm-player>.cfm-signal-link,body.cfm-fullscreen-active #cfm-player>.cfm-vu,body.cfm-fullscreen-active #cfm-player>.cfm-player-controls,body.cfm-fullscreen-active #cfm-player>.cfm-mode-tools,body.cfm-fullscreen-active #cfm-player>.cfm-intelligent-mode-action,#cfm-player:fullscreen>.cfm-player-station,#cfm-player:fullscreen>.cfm-signal-link,#cfm-player:fullscreen>.cfm-vu,#cfm-player:fullscreen>.cfm-player-controls,#cfm-player:fullscreen>.cfm-mode-tools,#cfm-player:fullscreen>.cfm-intelligent-mode-action{z-index:3}
}
@media(orientation:landscape) and (max-height:599px){
body.cfm-fullscreen-active #cfm-player .cfm-intelligent-mode-action,#cfm-player:fullscreen .cfm-intelligent-mode-action{display:none!important}
body.cfm-fullscreen-active #cfm-player,#cfm-player:fullscreen{grid-template-columns:minmax(220px,.72fr) minmax(430px,1.5fr)!important;grid-template-rows:minmax(0,1fr) auto!important;gap:14px!important;padding:18px 24px!important}
body.cfm-fullscreen-active #cfm-player .cfm-player-station,#cfm-player:fullscreen .cfm-player-station{gap:10px!important}
body.cfm-fullscreen-active #cfm-player .cfm-player-station>img,#cfm-player:fullscreen .cfm-player-station>img{width:clamp(105px,19vh,140px)!important;height:clamp(105px,19vh,140px)!important;border-radius:22px!important}
body.cfm-fullscreen-active #cfm-player .cfm-player-copy strong,#cfm-player:fullscreen .cfm-player-copy strong{font-size:clamp(25px,4.6vh,34px)!important}
body.cfm-fullscreen-active #cfm-player .cfm-player-location,#cfm-player:fullscreen .cfm-player-location{margin-top:5px!important;font-size:clamp(14px,2.8vh,18px)!important}
body.cfm-fullscreen-active #cfm-player .cfm-vu,#cfm-player:fullscreen .cfm-vu{align-self:center!important}
body.cfm-fullscreen-active #cfm-player .cfm-meter canvas,body.cfm-fullscreen-active #cfm-player .cfm-spectrum canvas,#cfm-player:fullscreen .cfm-meter canvas,#cfm-player:fullscreen .cfm-spectrum canvas{height:min(22vh,138px)!important}
body.cfm-fullscreen-active #cfm-player .cfm-player-controls,#cfm-player:fullscreen .cfm-player-controls{gap:10px!important;padding:10px 16px!important;border-radius:22px!important}
body.cfm-fullscreen-active #cfm-player .cfm-player-controls button,#cfm-player:fullscreen .cfm-player-controls button{flex-basis:clamp(58px,12vh,72px)!important;width:clamp(58px,12vh,72px)!important;min-width:58px!important;max-width:72px!important;height:clamp(58px,12vh,72px)!important;min-height:58px!important;max-height:72px!important;font-size:23px!important}
body.cfm-fullscreen-active #cfm-player .cfm-player-controls .cfm-choose,#cfm-player:fullscreen .cfm-player-controls .cfm-choose{width:auto!important;min-width:165px!important;height:72px!important;padding:0 18px!important;font-size:16px!important}
body.cfm-fullscreen-active #cfm-player .cfm-player-controls label,#cfm-player:fullscreen .cfm-player-controls label{display:none!important}
body.cfm-fullscreen-active #cfm-player .cfm-mode-tools,#cfm-player:fullscreen .cfm-mode-tools{top:9px!important;right:10px!important}
body.cfm-fullscreen-active #cfm-player .cfm-player-modes,#cfm-player:fullscreen .cfm-player-modes{display:flex!important}
body.cfm-fullscreen-active #cfm-player .cfm-player-modes .cfm-install-app,body.cfm-fullscreen-active #cfm-player .cfm-player-modes .cfm-car-mode,#cfm-player:fullscreen .cfm-player-modes .cfm-install-app,#cfm-player:fullscreen .cfm-player-modes .cfm-car-mode{display:none!important}
body.cfm-fullscreen-active #cfm-player .cfm-player-modes .cfm-fullscreen-mode,#cfm-player:fullscreen .cfm-player-modes .cfm-fullscreen-mode{min-height:38px!important;padding:8px 12px!important;font-size:11px!important}
}
@media(max-width:980px){.cfm-recent-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.cfm-return-discovery{margin:20px 0 26px;padding:18px;border-radius:20px}.cfm-return-heading{align-items:stretch;flex-direction:column;gap:14px}.cfm-return-heading h2{max-width:100%;font-size:clamp(25px,7.1vw,30px);line-height:1.08;white-space:normal;overflow-wrap:normal;word-break:normal}.cfm-return-actions{display:grid;grid-template-columns:1fr auto}.cfm-surprise-button{width:100%;white-space:nowrap}.cfm-recent-grid{grid-template-columns:1fr}.cfm-recent-empty{display:grid;gap:3px;padding:15px}.cfm-recent-empty>span{display:none}body.cfm-car-mode-active #cfm-player .cfm-intelligent-mode-action,body.cfm-fullscreen-active #cfm-player .cfm-intelligent-mode-action,#cfm-player:fullscreen .cfm-intelligent-mode-action{top:max(10px,env(safe-area-inset-top));left:14px;right:14px;transform:none}body.cfm-car-mode-active #cfm-player .cfm-intelligent-mode-action button,body.cfm-fullscreen-active #cfm-player .cfm-intelligent-mode-action button,#cfm-player:fullscreen .cfm-intelligent-mode-action button{width:100%;min-width:0;min-height:50px;padding:9px 14px;border-radius:14px}.cfm-intelligent-mode-action button>span{font-size:20px}.cfm-intelligent-mode-action button strong{font-size:14px}.cfm-intelligent-mode-action button small{font-size:8px}}
@media(max-width:360px){.cfm-return-heading h2{font-size:24px}.cfm-return-actions{grid-template-columns:1fr}.cfm-recent-clear{width:100%}}
