/* Kick section for the Lampa fork — same card metrics as the Twitch section so
   the two read as one app. The chat overlay and the player-panel chat button
   are shared with Twitch and styled in plugins/twitch.css. Ratio boxes use
   padding rather than CSS aspect-ratio, which old webOS Chromium (<88) lacks. */

.kick-card {
    width: 16em;
    flex-shrink: 0;
}
.kick-card + .kick-card {
    margin-left: 1em;
}
.kick-card .card__view {
    padding-bottom: 56.25%;
    background: #3e3e3e;
    border-radius: 0.3em;
    overflow: hidden;
}
.kick-category {
    width: 8.4em;
}
.kick-category .card__view {
    padding-bottom: 133%;
}
/* A channel with nothing to preview: its avatar, in a square exactly as tall
   as a 16:9 stream card, so a row mixing the two stays level. */
.kick-user {
    width: 9em;
}
.kick-user .card__view {
    padding-bottom: 100%;
}
.kick-card__live {
    position: absolute;
    top: 0.4em;
    left: 0.4em;
    background: #e91916;
    color: #fff;
    font-size: 0.72em;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.12em 0.45em;
    border-radius: 0.2em;
    z-index: 2;
}
.kick-card__viewers {
    position: absolute;
    left: 0.4em;
    bottom: 0.4em;
    max-width: 90%;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 0.78em;
    padding: 0.1em 0.45em;
    border-radius: 0.2em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 2;
}
.kick-card__meta {
    margin-top: 0.25em;
    font-size: 0.9em;
    opacity: 0.7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.kick-more .card__view {
    background: rgba(255, 255, 255, 0.08);
}
.kick-action .card__view {
    background: rgba(83, 252, 24, 0.16);
}
.kick-card__label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6em;
    text-align: center;
    font-size: 1.15em;
}

.kick-grid {
    display: flex;
    flex-wrap: wrap;
    padding: 1em 1em 2em;
}
.kick-grid .card {
    margin: 0 1.2em 1.6em 0;
}

.kick-channel {
    padding: 1.2em 1.5em 2em;
}
.kick-channel__hero {
    display: flex;
    margin-bottom: 1.4em;
}
.kick-channel__preview {
    width: 28em;
    flex-shrink: 0;
    margin-right: 1.4em;
    position: relative;
    background: #3e3e3e;
    border-radius: 0.4em;
    overflow: hidden;
}
.kick-channel__preview img {
    width: 100%;
    display: block;
}
.kick-channel__info {
    flex: 1;
    min-width: 0;
}
.kick-channel__name {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 0.3em;
}
.kick-channel__title {
    font-size: 1.25em;
    margin-bottom: 0.4em;
}
.kick-channel__meta,
.kick-channel__desc {
    opacity: 0.75;
    margin-bottom: 0.35em;
    line-height: 1.35;
}
.kick-channel__actions {
    display: flex;
    margin-top: 1em;
}
.kick-channel__btn {
    margin-right: 0.8em;
    padding: 0.55em 1.1em;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 0.3em;
}
.kick-channel__btn.focus {
    background: #fff;
    color: #000;
}
.kick-channel__vods-title {
    font-size: 1.4em;
    margin: 0.4em 0 0.8em;
}
.kick-channel .kick-grid {
    padding: 0;
}
