.ylt2d-player,
.ylt2d-player * {
    box-sizing: border-box;
}

.ylt2d-player {
    width: 100%;
    max-width: 960px;
    margin: 0 0 24px;
    color: #fff;
    background: #333;
    border-radius: 10px;
    overflow: hidden;
    font: inherit;
}

.ylt2d-player .widgettitle {
    margin: 0;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    background: #333;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.ylt2d-player__live-indicator {
    margin-right: 4px;
}

.ylt2d-player__current {
    padding: 12px 14px;
}

.ylt2d-player__label {
    margin-bottom: 5px;
    color: #007cba;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.ylt2d-player__title {
    min-height: 1.4em;
    font-size: 17px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.ylt2d-player__title a {
    color: inherit;
    text-decoration: none;
}

.ylt2d-player__title a:hover,
.ylt2d-player__title a:focus {
    text-decoration: underline;
}

.ylt2d-player__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
    color: #ddd;
    font-size: 14px;
    line-height: 1.4;
}

.ylt2d-player__date,
.ylt2d-player__category {
    display: inline;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

.ylt2d-player__category:not(:empty)::before {
    margin-right: 8px;
    content: '·';
}

.ylt2d-player__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.ylt2d-player__target,
.ylt2d-player__frame iframe {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

.ylt2d-player__controls {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 12px 14px;
}

.ylt2d-player__button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid #555;
    border-radius: 4px;
    color: #fff;
    background: #222;
    font: inherit;
    cursor: pointer;
}

.ylt2d-player__icon {
    display: block;
    width: auto;
    max-width: 100%;
    height: 26px;
    object-fit: contain;
}

.ylt2d-player__icon[hidden],
.ylt2d-player__icon-fallback[hidden] {
    display: none;
}

.ylt2d-player__icon-fallback {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.ylt2d-player__button:hover {
    background: #111;
}

.ylt2d-player__button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.ylt2d-player__status {
    padding: 0 14px 12px;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
}

.ylt2d-player__status[hidden] {
    display: none;
}
