/* === TWITCH STREAM WINDOW === */
.stream-window {
    position: sticky;
    top: 1.5rem;
    width: 220px;
    min-width: 220px;
    padding: 7px;
    border: 1px solid #8c7b9f;
    border-radius: 3px;
    background: linear-gradient(145deg, #fffaff, #e6daf2);
    box-shadow: inset 1px 1px #fff, inset -1px -1px #b6a5c9,
                3px 3px 0 #a899bd, 0 12px 28px rgba(64, 42, 89, 0.15);
    isolation: isolate;
    overflow: hidden;
}

.stream-window::before {
    content: '';
    position: absolute;
    inset: 43px 7px 7px;
    background: url('imgs/coplandOS.png') center / cover no-repeat;
    filter: grayscale(1);
    mix-blend-mode: multiply;
    opacity: 0.16;
    mask-image: linear-gradient(to bottom, transparent, #000 35%, #000);
    pointer-events: none;
    z-index: 0;
}

.stream-window-content {
    position: relative;
    z-index: 1;
    padding: 7px;
    border: 1px solid #fff;
    border-top-color: #b8a6ca;
    border-left-color: #b8a6ca;
    background: linear-gradient(110deg, rgba(255, 252, 255, 0.82), rgba(246, 235, 255, 0.42));
}

.stream-channel {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 42px;
    padding: 0.55rem 0.65rem;
    border: 1px solid #ad94c4;
    border-right-color: #fff;
    border-bottom-color: #fff;
    background: rgba(218, 198, 238, 0.82);
    color: #553475;
    font-size: 1.1rem;
    text-decoration: none;
}

.stream-channel i {
    width: 20px;
    color: #6e478f;
    text-align: center;
}

.stream-channel:hover {
    background: rgba(231, 216, 246, 0.94);
}

.stream-times {
    margin: 7px 0;
}

.stream-event {
    padding: 0.75rem 0.65rem;
    border: 1px solid #fff;
    border-right-color: #b8a3ce;
    border-bottom-color: #b8a3ce;
    background: rgba(255, 250, 255, 0.72);
    text-align: left;
}

.stream-event + .stream-event {
    margin-top: 6px;
}

.stream-event dt {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: #745a8b;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: lowercase;
}

.stream-event dt::before {
    content: '';
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border: 1px solid #7b648f;
    background: #d2c0e2;
    box-shadow: inset 1px 1px #fff;
}

.stream-event-next dt::before {
    background: #a98aca;
}

.stream-event dd {
    margin: 0.35rem 0 0 1rem;
    color: #483357;
    font-size: 1rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.stream-event time,
.stream-event-time,
.stream-event-name {
    display: block;
}

.stream-event-time {
    margin-top: 0.1rem;
}

.stream-event-name {
    margin-top: 0.45rem;
    padding-top: 0.4rem;
    border-top: 1px dotted #b8a3ce;
    color: #745a8b;
    font-size: 0.9rem;
}

.stream-schedule-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    padding: 0.55rem 0.65rem;
    border: 1px solid #fff;
    border-right-color: #b8a3ce;
    border-bottom-color: #b8a3ce;
    background: rgba(255, 250, 255, 0.76);
    color: #553475;
    font-size: 0.95rem;
    text-decoration: none;
}

.stream-schedule-link:hover {
    background: #fffaff;
}

.stream-channel:focus-visible,
.stream-schedule-link:focus-visible {
    outline: 2px dotted #63477f;
    outline-offset: -4px;
}
