.red-news-popup{z-index:150;top:max(16px,env(safe-area-inset-top));border:1px solid var(--border);background:var(--card);width:min(400px,100vw - 32px);color:var(--foreground);border-radius:16px;position:fixed;right:16px;overflow:hidden;box-shadow:0 12px 40px #0003}.red-news-popup-header{justify-content:space-between;align-items:center;padding:8px 8px 0 20px;display:flex}.red-news-label{align-items:center;gap:8px;font-size:12px;font-weight:600;display:flex}.red-news-label>span{background:var(--loss);border-radius:50%;flex-shrink:0;width:7px;height:7px}.red-news-popup-header button{width:44px;height:44px;color:var(--muted-foreground);border-radius:10px;place-items:center;display:grid}.red-news-popup-header button:hover{background:var(--muted);color:var(--foreground)}.red-news-popup-events{max-height:45dvh;padding:0 20px;overflow-y:auto}.red-news-event{padding:12px 0 18px}.red-news-event+.red-news-event{border-top:1px solid var(--border)}.red-news-event-meta{color:var(--muted-foreground);justify-content:space-between;align-items:center;gap:12px;font-size:12px;display:flex}.red-news-event-title{overflow-wrap:anywhere;margin:8px 0 6px;font-size:18px;font-weight:600;line-height:1.35}.red-news-event time{color:var(--muted-foreground);font-size:12px}.red-news-calendar{border-top:1px solid var(--border);text-align:left;width:100%;min-height:48px;padding:12px 20px;font-size:13px;font-weight:500}.red-news-calendar:hover{background:var(--muted)}.red-news-popup button:focus-visible{outline:2px solid var(--foreground);outline-offset:-4px}.red-news-inbox{min-width:0}.red-news-inbox-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.red-news-inbox-intro{color:var(--muted-foreground);margin-top:6px;font-size:12px;line-height:1.5}.red-news-inbox-list{flex-direction:column;margin-top:16px;display:flex}.red-news-inbox-item{text-align:left;border-top:1px solid var(--border);width:100%;padding:14px 0;display:block}.red-news-inbox-item p{overflow-wrap:anywhere;font-size:14px;font-weight:500;line-height:1.4}.red-news-inbox-item time{color:var(--muted-foreground);margin-top:5px;font-size:12px;display:block}.red-news-inbox-item[data-read=true] p{color:var(--muted-foreground)}.red-news-inbox[data-compact]{padding:6px 0}.red-news-inbox[data-compact] .red-news-inbox-item{border-top:0;padding:10px 16px 10px 30px;transition:background-color .15s;position:relative}.red-news-inbox[data-compact] .red-news-inbox-item:hover{background:color-mix(in srgb,var(--foreground)4%,transparent)}.red-news-inbox[data-compact] .red-news-inbox-item[data-read=false]:before{content:"";background:var(--loss);border-radius:50%;width:7px;height:7px;position:absolute;top:17px;left:14px}.red-news-inbox[data-compact] .red-news-inbox-item p{color:var(--foreground);font-size:14px}.red-news-inbox[data-compact] .red-news-inbox-item time{color:color-mix(in srgb,var(--foreground)60%,transparent);margin-top:2px;font-size:13px}.red-news-inbox[data-compact] .red-news-inbox-item[data-read=true] p{color:color-mix(in srgb,var(--foreground)60%,transparent)}.red-news-inbox[data-compact] .red-news-inbox-item{align-items:center;gap:12px;display:flex}.red-news-inbox-main{flex:1;min-width:0}.red-news-countdown{background:color-mix(in srgb,var(--foreground)6%,transparent);font-variant-numeric:tabular-nums;color:var(--foreground);border-radius:999px;flex-shrink:0;padding:3px 8px;font-size:12px;font-weight:600}.red-news-countdown[data-state=soon]{background:color-mix(in srgb,var(--loss)12%,transparent);color:var(--loss)}.red-news-countdown[data-state=out]{color:color-mix(in srgb,var(--foreground)50%,transparent);background:0 0;font-weight:500}
