.epg {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 0;
    box-shadow: 0 8px 32px 0 #000000;
    border-right: 1px solid rgba( 255, 255, 255, 0.18 );
    transition: height 0.5s ease, box-shadow 0.35s ease;
    z-index: 9999;
}

.epg.expanded {
    height: 40vh;
}

.epg .handler {
    width: 120vw;
    height: 20px;
    position: absolute;
    bottom: 0px;
    top: -12px;
    left: -10vh;
    transition: top 0.5s cubic-bezier(0.4, 0, 1, 1), bottom 0.5s cubic-bezier(0.4, 0, 1, 1);
    z-index: 1;
}

.epg.expanded .handler {
    transition: top 0.3s cubic-bezier(0.4, 0, 1, 1), bottom 0.3s cubic-bezier(0.4, 0, 1, 1);
}

.epg .handler:hover {
    cursor: pointer;
    box-shadow: inset 0px -13px 10px 0px #00eaff;
}

.epg .container {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.epg .header {
    display: grid;
    grid-template-columns: 200px 1fr;
    background-color: #1e1e1ee3;
    /* Fundo escuro para o cabeçalho */
    padding: 10px;
    color: #FFFFFF;
    font-weight: bold;
    display: none;
}

.epg .header-channel {
    border-right: 2px solid #333333;
    /* Linha de separação */
    padding-right: 10px;
}

.epg .header-programs {
    padding-left: 10px;
}

.epg .epg-wrapper {
    overflow-x: auto;
    overflow-y: auto;
    position: relative;
    /* Sem backdrop-filter: blur sobre o vídeo (muito custo de GPU / sensação de baixo FPS). */
    background: rgba(12, 12, 16, 0.94);
    flex: 1;
    min-height: 0;
}

.epg .epg-grid-table {
    table-layout: fixed;
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    border-spacing: 0;
}

.epg .epg-grid-table thead {
    display: none;
}

.epg .epg-grid-row td {
    vertical-align: top;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 8px 10px 0;
}

.epg .epg-channel-cell {
    width: 200px;
    max-width: 200px;
    box-sizing: border-box;
}

.epg .epg-programs-cell {
    overflow-x: auto;
    overflow-y: visible;
    min-width: 0;
}

.epg .channel-header {
    align-items: center;
    background-color: #222222d4;
    padding: 5px;
    min-height: 49px;
    box-shadow: 0px 0px 10px #000;
    cursor: pointer;
    background: #6d6d6d33;
    overflow: hidden;
    box-sizing: border-box;
}

.epg .channel-header:hover {
    background: linear-gradient(#ffffffaa, #6d6d6daa 40%, #000000c7 3%, #002f61aa);
}

.epg .channel-logo {
    height: auto;
    margin: 3px auto 10px;
    max-width: 180px;
    font-size: 18px;
    /* text-transform: capitalize; */
    display: block;
    vertical-align: middle;
    /* padding: 5px; */
    max-height: 40px;
}

.epg .channel-logo:before {
    content: ' ';
    display: block;
    /* position: absolute; */
    height: 30px;
    width: 50px;
    /* background-image: url(ishere.jpg); */
    margin-top: -100px;
}

.epg img.channel-logo.minilogo {
    max-height: none;
    margin: -20px auto 0;
    width: 90px;
}

.epg img.channel-logo.minilogo.epg-channel-logo--playable,
.epg-full-screen img.channel-logo.minilogo.epg-channel-logo--playable {
    cursor: pointer;
}

.epg img.channel-logo.minilogo.epg-channel-logo--playable:focus-visible,
.epg-full-screen img.channel-logo.minilogo.epg-channel-logo--playable:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.epg img.channel-logo.minilogo.epg-channel-logo--unmatched,
.epg-full-screen img.channel-logo.minilogo.epg-channel-logo--unmatched {
    opacity: 0.5;
    cursor: default;
}

.epg .program-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    width: max-content;
    min-height: 49px;
}

.epg .program {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #000000c2;
    color: #E0E0E0;
    padding: 5px;
    border-radius: 5px;
    margin-right: 5px;
    position: relative;
    text-align: center;
    height: 49px;
    overflow: hidden;
    cursor: pointer;
}

.epg .program-title {
    font-size: 12px;
    font-weight: bold;
}

.epg .program-time {
    font-size: 9px;
    margin-top: 3px;
}

.epg .past-program {
    opacity: 0.7;
    /* Reduz a opacidade para programas passados */
}

.epg .empty-block {
    background: none;
}

.epg .current-time-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: red;
    left: 630px;
    z-index: 1;
    /* Garante que a linha fique acima dos programas */
    opacity: 0.5;
}

.epg .off-canvas {
    text-align: right;
    /* Alinha o texto à direita para os blocos fora da tela */
}

.epg .modal {
    display: none;
    /* Oculta o modal por padrão */
    position: fixed;
    z-index: 9999;
    /* Garante que o modal fique acima de tudo */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    /* Fundo semitransparente para o modal */
}

.epg .modal-content {
    background-color: #333333ab;
    margin: 13% auto;
    padding: 0;
    border: 1px solid #333;
    width: 80%;
    max-width: 600px;
    text-align: center;
    overflow: hidden;
    border-radius: 6px;
    position: relative;
}

.epg .modal-content .epg-modal-channel {
    margin: 44px 60px 0;
    padding: 0 60px 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.3;
}

.epg .modal-content h2 {
    padding: 0 60px;
    margin-top: 0;
}

.epg .channel-header h2 {
    /* display: none; */
    font-size: 17px;
    margin: 7px 0 0 0;
    text-align: center;
    line-height: 22px;
}

.epg div#programModal img {
    width: 100%;
    margin-bottom: -4px;
    filter: drop-shadow(0px 0px 100px #001010);
}

.epg .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    padding: 10px 20px;
    position: absolute;
    right: 0;
    background: #333;
    border-bottom-left-radius: 6px;
}

.epg .close:hover, .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.epg #loading {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 1000;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.epg .spinner {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #333;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

.epg .epg-categories-btn {
    position: absolute;
    right: 52px;
    top: 5px;
    z-index: 9;
    width: 36px;
    height: 32px;
    padding: 0;
    margin: 0;
    line-height: 1;
    font-size: 1.25rem;
    color: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    opacity: 0.6;
    background: linear-gradient(#ffffffaa, #6d6d6daa 40%, #000000c7 3%, #002f61aa);
    cursor: pointer;
}

.epg .epg-categories-btn:hover {
    opacity: 1;
    box-shadow: 0 0 10px cyan;
}

.epg .reload {
    position: absolute;
    right: 15px;
    top: 5px;
    z-index: 9;
    background: #333;
    background: linear-gradient(#ffffffaa, #6d6d6daa 40%, #000000c7 3%, #002f61aa);
    border: 1px solid #ccc;
    border-radius: 6px;
    opacity: 0.6;
}

.epg .reload:hover {
    cursor: pointer;
    opacity: 1;
    box-shadow: 0 0 10px cyan;
}

.epg.expanded.loading .reload {
    opacity: 0.7;
    background: #333;
}

.epg.loading .epg-wrapper {
    opacity: 0.88;
}

.epg.expanded.loading .reload img {
    animation: spin 4s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}



.epg ul.broadcasts.b-linked.time24 li {
    display: inline-block;
    background: #333333b3;
    /* border: 1px solid white; */
    margin: 4px 4px;
    color: white;
    padding: 5px 7px;
    min-width: 200px;
    overflow: hidden;
    font-size: 12px;
    font-family: sans-serif;
    border-radius: 3px;
}

.epg ul.broadcasts.b-linked.time24 {
    display: flex;
    list-style: none;
    height: 100px;
    /* min-width: fit-content; */
    width: calc(100% - 110px);
    /* overflow-x: scroll; */
    padding: 0;
    margin: 0;
}

.epg ul.broadcasts.b-linked.time24 li a.program-link {
    color: white;
    text-decoration: none;
}

.epg div#channels {
    display: block;
}

.epg div.channel {
    width: 100%;
    /* overflow-x: scroll; */
}

.epg .image-parent {
    display: none;
}

.epg div.channel div.channel-inner a.c {
    display: block;
    width: 80px;
    text-decoration: none;
    font-family: sans-serif;
    text-align: center;
    padding: 20px 0 0 5px;
}

.epg div.channel div.channel-inner a.c img.logo {
    width: 60px;
    height: 60px;
}

.epg ul.broadcasts.b-linked.time24 li.with-extended-info.m.ongoing {
    background: #494949c7;
    color: black;
}

.epg ul.broadcasts.b-linked.time24 li.with-extended-info.m.ongoing a.program-link {
    color: white;
}

.epg ul.broadcasts.b-linked.time24 li a.program-link p {
    padding: 0;
    margin: 5px 0;
}

.epg ul.broadcasts.b-linked.time24 li.with-extended-info.m.ongoing a p * {
    color: white;
}


.epg div.channel ul.broadcasts li.ongoing {
    color: #E8420C;
    font-weight: 600
}

.epg div.channel ul.broadcasts li div.progress {
    width: 100%;
    height: 2px;
    margin-bottom: 10px;
    background: #EEE
}

.epg div.channel ul.broadcasts li div.progress span {
    display: block;
    width: 0;
    height: 100%;
    background: #0cbde8
}


.epg span.sub-title {
    font-style: oblique;
    display: block;
    font-size: 11px;
}

.epg span.synopsis {
    font-size: 11px;
}

.epg span.title {
    font-size: 14px;
    font-weight: bold;
}

.epg ul.broadcasts.b-linked.time24 li a p img {
    display: none;
}

.epg .channel-inner {
    display: flex;
    border: 1px solid #333;
    margin: 4px 0;
    background: #0000008a;
}

.epg div.channel div.channel-inner a.c h3 {
    font-size: 10px;
    color: #ffffff;
    text-decoration: none;
    margin: 4px;
}

.epg ul.date-selection-bar {
    display: inline;
    display: none;
}

.epg ul.date-selection-bar li.option {
    display: inline;
    margin: 0 10px;
    color: black;
}

.epg ul.date-selection-bar li.option a {
    text-decoration: none;
    font-family: sans-serif;
    font-size: 12px;
    color: white;
    background: #777;
    padding: 10px 10px 6px 10px;
    border-radius: 6px 6px 0 0;
}

.epg ul.date-selection-bar li.option.selected a {
    background: #333;
}

.epg h1.intro {
    display: none;
}

/* —— Programação completa (tela cheia) —— */
.epg-full-screen {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    flex-direction: column;
    background: rgba(12, 12, 14, 0.97);
    font-family: "Quicksand", sans-serif;
    color: #e8e8e8;
}

.epg-full-screen.loading .epg-full-scroll {
    opacity: 0.5;
    pointer-events: none;
}

.epg-full-toolbar {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(30, 30, 35, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.epg-full-screen .epg-full-loading {
    display: none;
    align-items: center;
    line-height: 0;
}

.epg-full-screen.loading .epg-full-loading {
    display: inline-flex;
}

.epg-full-screen.loading .epg-full-loading img {
    animation: spin 0.85s linear infinite;
    filter: brightness(1.15);
}

.epg-full-back,
.epg-full-refresh,
.epg-full-categories {
    font-family: inherit;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
}

.epg-full-back:hover,
.epg-full-refresh:hover,
.epg-full-categories:hover {
    background: rgba(0, 234, 255, 0.15);
}

.epg-full-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.epg-full-range {
    font-size: 0.85rem;
    opacity: 0.85;
    flex: 1 1 200px;
    min-width: 0;
}

.epg-full-filter {
    font-family: inherit;
    min-width: 160px;
    max-width: 320px;
    flex: 1;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
}

.epg-full-scroll {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 8px 12px 24px;
}

.epg-full-wrapper {
    overflow-x: auto;
    overflow-y: visible;
    position: relative;
    width: 100%;
}

.epg-full-screen .epg-grid-table--full {
    table-layout: fixed;
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    border-spacing: 0;
}

.epg-full-screen .epg-grid-row td {
    vertical-align: top;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 10px 10px 0;
}

.epg-full-screen .epg-channel-cell {
    width: 220px;
    max-width: 220px;
    box-sizing: border-box;
}

.epg-full-screen .epg-programs-cell {
    overflow-x: auto;
    overflow-y: visible;
    min-width: 0;
}

.epg-full-screen .channel-header {
    align-items: center;
    padding: 5px;
    min-height: 49px;
    z-index: 2;
    overflow: hidden;
    cursor: default;
    background: #6d6d6d33;
    box-shadow: 0px 0px 10px #000;
    box-sizing: border-box;
}

.epg-full-screen .channel-header:hover {
    background: linear-gradient(#ffffffaa, #6d6d6daa 40%, #000000c7 3%, #002f61aa);
}

.epg-full-screen .channel-logo {
    height: auto;
    margin: 3px auto 10px;
    max-width: 180px;
    display: block;
    max-height: 40px;
}

.epg-full-screen img.channel-logo.minilogo {
    max-height: none;
    margin: -20px auto 0;
    width: 90px;
}

.epg-full-screen .channel-header h2 {
    font-size: 15px;
    margin: 7px 0 0 0;
    text-align: center;
    line-height: 20px;
}

.epg-full-screen .program-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    width: max-content;
    min-height: 49px;
}

.epg-full-screen .program {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #000000c2;
    color: #e0e0e0;
    padding: 5px 8px;
    border-radius: 5px;
    margin-right: 5px;
    position: relative;
    text-align: center;
    min-height: 49px;
    min-width: 64px;
    max-width: 200px;
    overflow: hidden;
    cursor: pointer;
}

.epg-full-screen .program-title {
    font-size: 11px;
    font-weight: bold;
    line-height: 1.2;
}

.epg-full-screen .program-time {
    font-size: 9px;
    margin-top: 3px;
}

.epg-full-screen .past-program {
    opacity: 0.65;
}

.epg-full-screen .empty-block {
    background: none;
    color: #888;
    font-size: 12px;
    padding: 8px 12px;
}

.epg-full-modal {
    display: none;
    position: fixed;
    z-index: 10060;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.82);
}

.epg-full-modal .modal-content {
    background-color: #333333ee;
    margin: 10vh auto;
    padding: 0;
    border: 1px solid #444;
    width: 88%;
    max-width: 560px;
    text-align: center;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.epg-full-modal .modal-content .epg-modal-channel {
    margin: 0;
    padding: 44px 48px 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.epg-full-modal .modal-content h2 {
    padding: 4px 48px 8px;
    margin: 0;
    font-size: 1.1rem;
}

.epg-full-modal .modal-content p:not(.epg-modal-channel) {
    padding: 0 20px 16px;
    text-align: left;
    white-space: pre-wrap;
    font-size: 14px;
    line-height: 1.45;
}

.epg-full-modal .modal-content img {
    width: 100%;
    max-height: 240px;
    object-fit: contain;
}

.epg-full-modal .close {
    color: #ccc;
    float: right;
    font-size: 26px;
    font-weight: bold;
    padding: 10px 18px;
    position: absolute;
    right: 0;
    top: 0;
    background: #333;
    border-bottom-left-radius: 8px;
    cursor: pointer;
    line-height: 1;
}

.epg-full-modal .close:hover,
.epg-full-modal .close:focus {
    color: #fff;
}

/* Modal: categorias a ocultar no EPG */
.epg-category-filter-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10080;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.82);
    font-family: "Quicksand", sans-serif;
}

.epg-category-filter-modal.is-open {
    display: flex;
}

.epg-category-filter-dialog {
    width: 100%;
    max-width: 420px;
    max-height: min(88vh, 640px);
    display: flex;
    flex-direction: column;
    background: rgba(28, 28, 32, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    color: #eaeaea;
    overflow: hidden;
}

.epg-category-filter-dialog h2 {
    margin: 0;
    padding: 18px 20px 8px;
    font-size: 1.15rem;
    font-weight: 600;
}

.epg-category-filter-hint {
    margin: 0;
    padding: 0 20px 12px;
    font-size: 0.88rem;
    line-height: 1.45;
    opacity: 0.88;
}

.epg-category-filter-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 4px 12px 12px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.epg-category-filter-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    cursor: pointer;
    font-size: 0.92rem;
    line-height: 1.35;
}

.epg-category-filter-row input {
    margin-top: 3px;
    flex-shrink: 0;
}

.epg-category-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.25);
}

.epg-category-filter-btn {
    font-family: inherit;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
}

.epg-category-filter-btn:hover {
    background: rgba(0, 234, 255, 0.12);
}

.epg-category-filter-btn-primary {
    border-color: rgba(0, 234, 255, 0.45);
    background: rgba(0, 234, 255, 0.18);
}

.epg-category-filter-btn-primary:hover {
    background: rgba(0, 234, 255, 0.28);
}

/* —— Configuração: mapear canais do guia ↔ playlist —— */
.epg-map-config-screen {
    position: fixed;
    inset: 0;
    z-index: 10055;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px 16px;
    background: rgba(0, 0, 0, 0.55);
    overflow-y: auto;
    box-sizing: border-box;
    font-family: "Quicksand", sans-serif;
    color: #e8e8e8;
}

.epg-map-config-screen.d-none {
    display: none !important;
}

.epg-map-config-dialog {
    width: min(760px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: rgba(20, 20, 24, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 16px 20px 28px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.epg-map-config-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.epg-map-config-back {
    font-family: inherit;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
}

.epg-map-config-back:hover {
    background: rgba(0, 234, 255, 0.12);
}

.epg-map-config-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    flex: 1 1 auto;
}

.epg-map-config-hint {
    margin: 0 0 16px 0;
    font-size: 0.9rem;
    opacity: 0.88;
    line-height: 1.45;
}

.epg-map-config-subtitle {
    margin: 20px 0 10px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #b8e8ff;
}

.epg-map-config-unmapped-list,
.epg-map-config-manual-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.epg-map-empty {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.75;
    line-height: 1.4;
}

.epg-map-unmapped-row {
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.epg-map-unmapped-head {
    margin-bottom: 8px;
}

.epg-map-unmapped-label {
    font-size: 0.95rem;
}

.epg-map-row-search {
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    margin-bottom: 8px;
}

.epg-map-row-results {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 220px;
    overflow-y: auto;
}

.epg-map-pick-btn {
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #e8e8e8;
    font-size: 0.85rem;
}

.epg-map-pick-btn:hover {
    background: rgba(0, 234, 255, 0.15);
    border-color: rgba(0, 234, 255, 0.35);
}

.epg-map-manual-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(0, 40, 50, 0.25);
    border: 1px solid rgba(0, 234, 255, 0.15);
}

.epg-map-manual-info {
    flex: 1 1 220px;
    min-width: 0;
    font-size: 0.88rem;
    line-height: 1.4;
}

.epg-map-manual-target {
    opacity: 0.9;
    margin-top: 4px;
}

.epg-map-remove-btn {
    font-family: inherit;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 120, 120, 0.4);
    background: rgba(80, 20, 20, 0.35);
    color: #ffb4b4;
    font-size: 0.85rem;
}

.epg-map-remove-btn:hover {
    background: rgba(120, 30, 30, 0.5);
}
