:root{--rp-accent:#2e8cff;--rp-bg:#06090e;--rp-bg-2:#0a0f16;--rp-surface:#10161f;--rp-surface-2:#151c26;--rp-surface-3:#1b2430;--rp-text:#f5f7fb;--rp-muted:#97a0ad;--rp-line:#242d39;--rp-danger:#ff6b6b;--rp-radius:18px;--rp-player-h:82px;--rp-site-bottom-nav-h:0px;--rp-site-header-h:0px}
.rp-podcast-context{background:var(--rp-bg)!important;color:var(--rp-text)!important;color-scheme:dark}
.rp-podcast-context .kg-header,.rp-podcast-context .kg-bottom-nav,.rp-podcast-context footer{background:#070b11!important;color:#f5f7fb!important;border-color:#1f2935!important}
.rp-podcast-context .kg-header a,.rp-podcast-context .kg-bottom-nav a,.rp-podcast-context footer a{color:inherit!important}
.rp-podcast-context .kg-header svg,.rp-podcast-context .kg-bottom-nav svg{color:currentColor!important}
.rp-app{direction:rtl;background:var(--rp-bg);color:var(--rp-text);min-height:75vh;padding:0 0 128px}.rp-app *{box-sizing:border-box}.rp-app a{color:inherit;text-decoration:none}.rp-icon{display:inline-block;vertical-align:middle;flex:0 0 auto}
.rp-layout{width:min(1240px,calc(100% - 32px));margin:auto;display:grid;grid-template-columns:170px minmax(0,1fr);gap:38px}.rp-content{min-width:0;padding:34px 0 48px}.rp-side-nav{position:sticky;top:88px;height:max-content;padding:28px 14px 18px;border-inline-end:1px solid var(--rp-line);display:flex;flex-direction:column;gap:6px}.rp-side-brand{font-size:28px;font-weight:900;letter-spacing:-1.4px;margin:0 8px 20px}.rp-side-link{display:flex;align-items:center;gap:10px;padding:10px 11px;border-radius:9px;color:var(--rp-muted)!important;font-size:14px}.rp-side-link:hover,.rp-side-link.is-active{background:var(--rp-surface-2);color:var(--rp-text)!important}.rp-mobile-head{display:none}.rp-kicker{font-size:12px;color:var(--rp-muted)!important}.rp-page-head{padding:18px 0 28px;border-bottom:1px solid var(--rp-line)}.rp-page-head h1{font-size:clamp(32px,4vw,56px);margin:7px 0 8px;line-height:1.12}.rp-page-head p{margin:0;color:var(--rp-muted)}
.rp-chips{display:flex;gap:8px;overflow:auto;padding:0 0 18px;scrollbar-width:none}.rp-chips::-webkit-scrollbar{display:none}.rp-chips a{white-space:nowrap;padding:7px 14px;border:1px solid var(--rp-line);border-radius:999px;background:var(--rp-surface);font-size:12px;color:#c8ced7}.rp-chips a.is-active,.rp-chips a:hover{background:#f5f7fb;color:#0b1017;border-color:#f5f7fb}
.rp-featured{position:relative;overflow:hidden;min-height:390px;border-radius:24px;background:var(--rp-surface);background-image:var(--rp-featured-image);background-size:cover;background-position:center}.rp-featured-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,8,13,.2),rgba(5,8,13,.92) 68%)}.rp-featured-copy{position:relative;z-index:1;width:min(570px,58%);padding:56px 48px}.rp-featured-copy>span{color:#a9b1bd;font-size:12px}.rp-featured-copy h1{font-size:clamp(34px,5vw,64px);margin:8px 0 12px;line-height:1.08}.rp-featured-copy p{color:#c6ccd4;line-height:1.9;margin:0 0 20px}
.rp-section{margin-top:34px}.rp-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:13px}.rp-section-head h2{font-size:20px;margin:0}.rp-section-head>a{font-size:12px;color:var(--rp-muted)!important}.rp-episode-list{border-top:1px solid var(--rp-line)}.rp-episode-row{display:grid;grid-template-columns:56px minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:12px 2px;border-bottom:1px solid var(--rp-line)}.rp-episode-thumb{width:56px;height:56px;border-radius:10px;overflow:hidden;background:var(--rp-surface-2)}.rp-episode-thumb img,.rp-pod-art img,.rp-featured img,.rp-podcast-hero figure img,.rp-episode-hero figure img{width:100%;height:100%;object-fit:cover;display:block}.rp-episode-copy{min-width:0}.rp-episode-copy h3{font-size:14px;margin:2px 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rp-episode-copy small{font-size:11px;color:var(--rp-muted)}.rp-row-more{width:38px;height:38px;border:0;border-radius:50%;background:transparent;color:var(--rp-muted);display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.rp-row-more:hover{background:var(--rp-surface);color:var(--rp-text)}
.rp-play{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 16px;border:1px solid #3a4655;border-radius:999px;background:var(--rp-surface-2);color:#fff;font:inherit;font-size:13px;cursor:pointer}.rp-play-primary{background:#fff;color:#0a0e13;border-color:#fff;min-width:126px;font-weight:800}.rp-play-secondary{background:transparent}.rp-play-icon{width:42px;height:42px;min-height:42px;padding:0;border-radius:50%;background:#f4f6fa;color:#0a0e13;border:0}.rp-play-icon .rp-play-label{display:none}.rp-play.is-playing{background:var(--rp-accent);color:#fff;border-color:var(--rp-accent)}
.rp-pod-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.rp-pod-card{border:1px solid var(--rp-line);background:var(--rp-surface);border-radius:16px;overflow:hidden}.rp-pod-art{display:block;aspect-ratio:1;background:var(--rp-surface-2)}.rp-pod-card-copy{padding:14px}.rp-pod-card-copy small{color:var(--rp-muted);font-size:11px}.rp-pod-card-copy h3{font-size:18px;margin:5px 0}.rp-pod-card-copy p{font-size:12px;line-height:1.8;color:var(--rp-muted);min-height:44px}.rp-topic-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.rp-topic-grid a{padding:15px;border:1px solid var(--rp-line);border-radius:12px;background:var(--rp-surface);font-size:13px}
.rp-podcast-hero,.rp-episode-hero{display:grid;grid-template-columns:minmax(260px,360px) minmax(0,1fr);gap:46px;align-items:center;padding:34px 0 30px}.rp-podcast-hero figure,.rp-episode-hero figure{margin:0;aspect-ratio:1;border-radius:22px;overflow:hidden;background:var(--rp-surface)}.rp-podcast-copy h1,.rp-episode-copy h1{font-size:clamp(32px,4vw,56px);line-height:1.12;margin:8px 0 10px}.rp-podcast-copy>p{max-width:62ch;line-height:1.95;color:#c8ced6}.rp-meta{font-size:12px;color:var(--rp-muted)}.rp-hero-actions{display:flex;gap:10px;margin-top:22px;flex-wrap:wrap}.rp-follow{min-height:42px;padding:0 18px;border:1px solid #3a4655;border-radius:999px;background:transparent;color:#fff;font:inherit;cursor:pointer}.rp-follow.is-following{background:var(--rp-surface-2)}
.rp-tabs{display:flex;gap:28px;border-bottom:1px solid var(--rp-line);margin:10px 0 0}.rp-tabs button{position:relative;padding:14px 0;border:0;background:none;color:var(--rp-muted);font:inherit;font-weight:700;cursor:pointer}.rp-tabs button.is-active{color:#fff}.rp-tabs button.is-active:after{content:"";position:absolute;inset-inline:0;bottom:-1px;height:2px;background:var(--rp-accent)}.rp-tab-panel{display:none;padding-top:18px}.rp-tab-panel.is-active{display:block}.rp-prose{font-size:15px;line-height:2.05;color:#d9dee5;max-width:78ch}.rp-prose p:first-child{margin-top:0}.rp-prose img{max-width:100%;height:auto}.rp-about-panel{padding:24px;border-bottom:1px solid var(--rp-line)}
.rp-episode-hero{grid-template-columns:minmax(220px,300px) minmax(0,1fr);max-width:900px;margin:auto}.rp-episode-actions{display:grid;grid-template-columns:repeat(3,minmax(0,180px));justify-content:center;gap:10px;margin:0 auto 20px}.rp-action{min-height:74px;border:1px solid var(--rp-line);border-radius:13px;background:var(--rp-surface);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;font:inherit;font-size:11px;cursor:pointer}.rp-action:hover{border-color:#3a4655}
.rp-pagination{display:flex;justify-content:center;gap:6px;margin-top:28px}.rp-pagination .page-numbers{padding:8px 11px;border:1px solid var(--rp-line);border-radius:8px}.rp-pagination .current{background:#fff;color:#000}
/* Home slot: inherits host theme but is self-contained */
.rp-home-slot{direction:rtl;padding:18px 0}.rp-home-slot *{box-sizing:border-box}.rp-home-slot-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:13px}.rp-home-slot-head h2{margin:0;font-size:18px}.rp-home-slot-head a{font-size:11px;color:inherit}.rp-home-slot-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.rp-home-slot-card{position:relative;min-width:0}.rp-home-slot-art{display:block;aspect-ratio:1;border-radius:12px;overflow:hidden;background:rgba(127,127,127,.12)}.rp-home-slot-art img{width:100%;height:100%;object-fit:cover;display:block}.rp-home-slot-copy{padding-top:8px;min-width:0}.rp-home-slot-copy small{font-size:10px;opacity:.65}.rp-home-slot-copy h3{font-size:13px;line-height:1.55;margin:3px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rp-home-slot-play{position:absolute;inset-inline-end:8px;top:calc(100% - 44px);width:36px;height:36px;min-height:36px;padding:0;border-radius:50%}.rp-home-slot-play .rp-play-label{display:none}
/* Player: always dark and independent from site theme */
.rp-player{--rpp-bg:#06090e;--rpp-surface:#10161f;--rpp-surface2:#171f2a;--rpp-line:#2a3441;--rpp-text:#f5f7fb;--rpp-muted:#98a1ad;position:relative;z-index:450;color:var(--rpp-text);color-scheme:dark;direction:rtl;font-family:inherit}.rp-player[hidden]{display:none!important}.rp-mini{position:fixed;z-index:450;left:0;right:0;bottom:var(--rp-site-bottom-nav-h,0px);height:var(--rp-player-h);display:grid;grid-template-columns:minmax(200px,280px) auto minmax(180px,1fr) auto auto auto;align-items:center;gap:14px;padding:8px max(18px,calc((100vw - 1240px)/2));padding-bottom:max(8px,env(safe-area-inset-bottom));background:rgba(6,9,14,.97);border-top:1px solid var(--rpp-line);backdrop-filter:blur(18px);box-shadow:0 -10px 30px rgba(0,0,0,.22)}.rp-mini-info{display:flex;align-items:center;gap:10px;min-width:0;border:0;background:transparent;color:inherit;text-align:right;font:inherit;cursor:pointer}.rp-mini-info img{width:54px;height:54px;border-radius:9px;object-fit:cover;background:var(--rpp-surface)}.rp-mini-info>span{display:flex;flex-direction:column;min-width:0}.rp-mini-info strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rp-mini-info small{font-size:10px;color:var(--rpp-muted);direction:ltr;text-align:right}.rp-mini-center{display:flex;align-items:center;gap:6px}.rp-main{width:46px;height:46px;border:0;border-radius:50%;background:#f4f6fa;color:#0a0e13;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.rp-mini-skip,.rp-mini-volume,.rp-mini-queue,.rp-mini-expand{border:0;background:transparent;color:var(--rpp-text);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;position:relative}.rp-mini-skip{width:38px;height:38px}.rp-mini-skip b{position:absolute;font-size:8px;font-weight:800}.rp-mini-seek input,.rp-seek input{width:100%;accent-color:#fff}.rp-mini-progress{position:absolute;inset-inline:0;top:0;height:2px;background:#222a34}.rp-mini-progress i{display:block;height:100%;width:0;background:#fff}.rp-mini-expand{transform:rotate(180deg)}
.rp-full{display:none;position:fixed;inset:0;z-index:440;background:radial-gradient(circle at 50% 0,rgba(255,255,255,.04),transparent 32%),var(--rpp-bg);color:var(--rpp-text)}.rp-player.is-expanded .rp-full{display:block}.rp-player.is-expanded .rp-mini{display:none}.rp-full-head{height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 max(18px,calc((100vw - 1240px)/2));border-bottom:1px solid var(--rpp-line)}.rp-full-head>button{width:42px;height:42px;border:0;border-radius:50%;background:transparent;color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.rp-full-body{width:min(980px,calc(100% - 36px));height:calc(100dvh - 68px);margin:auto;display:grid;grid-template-columns:minmax(300px,420px) minmax(0,1fr);align-items:center;gap:60px}.rp-full-art{aspect-ratio:1;border-radius:24px;overflow:hidden;background:var(--rpp-surface)}.rp-full-art img{width:100%;height:100%;object-fit:cover}.rp-full-copy{text-align:right}.rp-full-copy h2{font-size:clamp(30px,4vw,52px);line-height:1.15;margin:0 0 7px}.rp-full-copy>p{margin:0 0 28px;color:var(--rpp-muted);font-size:13px}.rp-full-copy>p span+span:before{content:" · ";margin:0 4px}.rp-seek>div{display:flex;justify-content:space-between;direction:ltr;color:var(--rpp-muted);font-size:10px;margin-top:4px}.rp-controls{display:flex;align-items:center;justify-content:center;gap:34px;margin:26px 0}.rp-controls>button:not(.rp-main){width:58px;height:58px;border:0;background:transparent;color:#fff;position:relative;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.rp-controls>button b{position:absolute;font-size:9px}.rp-main-full{width:78px;height:78px}.rp-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.rp-tools button{min-height:70px;border:1px solid var(--rpp-line);border-radius:12px;background:var(--rpp-surface);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font:inherit;font-size:10px;cursor:pointer}.rp-tools strong{font-size:16px}.rp-player-error{padding:10px 12px!important;margin-top:14px!important;border:1px solid rgba(255,107,107,.35);border-radius:10px;background:rgba(255,107,107,.08);color:#ffd2d2!important;display:flex;justify-content:space-between;align-items:center;gap:12px}.rp-player-error button{border:0;border-radius:8px;padding:7px 10px;background:#fff;color:#111;cursor:pointer}
.rp-sheet-backdrop{position:fixed;inset:0;z-index:2147482100;background:rgba(0,0,0,.55)}.rp-sheet{position:fixed;z-index:2147482200;left:50%;bottom:24px;transform:translateX(-50%);width:min(460px,calc(100% - 28px));max-height:min(620px,75dvh);overflow:auto;padding:14px;border:1px solid var(--rpp-line);border-radius:18px;background:#0d131b;color:#fff;box-shadow:0 24px 70px rgba(0,0,0,.5)}.rp-sheet[hidden],.rp-sheet-backdrop[hidden]{display:none!important}.rp-sheet header{display:flex;justify-content:space-between;align-items:center;padding:4px 4px 12px;border-bottom:1px solid var(--rpp-line)}.rp-sheet h3{margin:0;font-size:16px}.rp-sheet header button{width:38px;height:38px;border:0;background:transparent;color:#fff;display:inline-flex;align-items:center;justify-content:center}.rp-option-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding-top:12px}.rp-option-grid button,.rp-option-list>*{min-height:44px;border:1px solid var(--rpp-line);border-radius:10px;background:var(--rpp-surface);color:#fff;font:inherit;display:flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer}.rp-option-grid button.is-active{background:#fff;color:#111}.rp-option-list{display:grid;gap:8px;padding-top:12px}.rp-option-list .rp-danger{color:#ffb1b1;border-color:rgba(255,107,107,.3)}.rp-queue-current{padding:12px 0;border-bottom:1px solid var(--rpp-line)}.rp-queue-list{display:grid}.rp-queue-item{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:9px;align-items:center;padding:10px 0;border-bottom:1px solid var(--rpp-line)}.rp-queue-item img{width:46px;height:46px;border-radius:8px;object-fit:cover}.rp-queue-item strong{font-size:12px;display:block}.rp-queue-item small{font-size:10px;color:var(--rpp-muted)}.rp-queue-item button{width:34px;height:34px;border:0;background:transparent;color:var(--rpp-muted)}
body.rp-player-active{padding-bottom:calc(var(--rp-player-h) + var(--rp-site-bottom-nav-h,0px))!important}
@media(max-width:1100px){.rp-layout{grid-template-columns:150px minmax(0,1fr);gap:24px}.rp-pod-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rp-featured-copy{width:68%}.rp-full-body{gap:36px}}
@media(max-width:767.98px){:root{--rp-player-h:74px}.rp-layout{display:block;width:100%}.rp-side-nav{display:none}.rp-content{padding:0 14px 34px}.rp-app{padding-bottom:calc(112px + env(safe-area-inset-bottom));min-height:100dvh}.rp-mobile-head{position:sticky;top:var(--rp-site-header-h,0px);z-index:30;height:56px;margin:0 -14px;padding:0 16px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;background:rgba(6,9,14,.96);border-bottom:1px solid var(--rp-line);backdrop-filter:blur(16px)}.rp-mobile-head>div{display:flex;align-items:center;gap:6px;justify-self:start}.rp-mobile-head>a,.rp-mobile-head button{width:38px;height:38px;border:0;background:transparent;color:#fff;display:inline-flex;align-items:center;justify-content:center}.rp-mobile-head>strong{justify-self:center;font-size:13px}.rp-mobile-brand{width:auto!important;font-size:22px;font-weight:900}.rp-chips{padding-top:10px;padding-bottom:10px}.rp-featured{min-height:0;aspect-ratio:1.22;border-radius:14px;background-position:center}.rp-featured-shade{background:linear-gradient(0deg,rgba(5,8,13,.88),rgba(5,8,13,.08) 72%)}.rp-featured-copy{position:absolute;inset-inline:16px;bottom:15px;width:auto;padding:0}.rp-featured-copy>span{display:none}.rp-featured-copy h1{font-size:28px;margin:0 0 4px}.rp-featured-copy p{font-size:12px;line-height:1.7;margin:0 0 12px}.rp-featured .rp-play-primary{min-width:108px;min-height:38px}.rp-section{margin-top:24px}.rp-section-head h2{font-size:17px}.rp-episode-row{grid-template-columns:52px minmax(0,1fr) 40px;padding:10px 0;gap:10px}.rp-episode-thumb{width:52px;height:52px}.rp-row-more{display:none}.rp-episode-copy h3{font-size:13px}.rp-episode-copy small{font-size:10px}.rp-pod-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rp-pod-card{border:0;background:transparent;border-radius:0}.rp-pod-art{border-radius:11px}.rp-pod-card-copy{padding:7px 1px}.rp-pod-card-copy p,.rp-pod-card-copy>.rp-play{display:none}.rp-pod-card-copy h3{font-size:13px;margin:2px 0}.rp-pod-card-copy small{font-size:9px}.rp-topic-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.rp-topic-grid a{padding:9px 5px;text-align:center;font-size:10px;border-radius:999px}.rp-podcast-hero,.rp-episode-hero{display:flex;flex-direction:column;gap:14px;text-align:center;padding:26px 0 12px}.rp-podcast-hero figure{width:min(60vw,250px);border-radius:16px}.rp-episode-hero figure{width:min(46vw,190px);border-radius:14px}.rp-podcast-copy h1,.rp-episode-copy h1{font-size:24px;margin:5px 0}.rp-podcast-copy>p{font-size:12px;line-height:1.85;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.rp-hero-actions{justify-content:center;margin-top:14px}.rp-tabs{justify-content:space-around;gap:0}.rp-tabs button{flex:1;font-size:12px}.rp-tab-panel{padding-top:12px}.rp-about-panel{padding:16px 0}.rp-prose{font-size:13px;line-height:1.95}.rp-episode-actions{grid-template-columns:repeat(3,1fr);gap:8px}.rp-action{min-height:70px;font-size:10px}.rp-mobile-topics{display:block}.rp-page-head{padding:18px 0}.rp-page-head h1{font-size:30px}.rp-home-slot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rp-home-slot-card:nth-child(n+5){display:none}
.rp-player{z-index:900}.rp-mini{z-index:900;grid-template-columns:minmax(0,1fr) 46px 34px;gap:8px;height:74px;bottom:var(--rp-site-bottom-nav-h,0px);padding:8px 12px;background:#080c12}.rp-mini-info img{width:46px;height:46px}.rp-mini-info strong{font-size:12px}.rp-mini-info small{font-size:9px}.rp-mini-center{display:block}.rp-mini-expand{display:inline-flex}.rp-desktop-only{display:none!important}.rp-full{z-index:850;top:var(--rp-site-header-h,0px);bottom:var(--rp-site-bottom-nav-h,0px);inset-inline:0;height:auto;background:radial-gradient(circle at 50% 0,rgba(255,255,255,.035),transparent 30%),#06090e}.rp-full-head{height:54px;padding:0 12px}.rp-full-head>strong{font-size:12px}.rp-full-body{height:calc(100% - 54px);width:min(100% - 26px,520px);display:flex;flex-direction:column;justify-content:center;gap:18px;padding:12px 0 18px}.rp-full-art{width:min(72vw,320px);border-radius:18px}.rp-full-copy{width:100%;text-align:center}.rp-full-copy h2{font-size:24px;margin-bottom:5px}.rp-full-copy>p{font-size:11px;margin-bottom:18px}.rp-controls{gap:26px;margin:18px 0}.rp-controls>button:not(.rp-main){width:54px;height:54px}.rp-main-full{width:72px;height:72px}.rp-tools{gap:8px}.rp-tools button{min-height:64px;font-size:9px}.rp-sheet{bottom:calc(var(--rp-site-bottom-nav-h,0px) + 10px);border-radius:18px 18px 12px 12px}.rp-sheet-backdrop{z-index:920}.rp-sheet{z-index:930}.rp-podcast-context .kg-header{position:relative!important;z-index:1000!important}.rp-podcast-context .kg-bottom-nav{z-index:1000!important}
}
@media(min-width:768px) and (max-width:1023.98px){.rp-layout{display:block}.rp-side-nav{display:none}.rp-content{padding-top:26px}.rp-pod-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.rp-featured{min-height:340px}.rp-featured-copy{width:70%;padding:42px 34px}.rp-podcast-hero,.rp-episode-hero{grid-template-columns:260px 1fr;gap:30px}.rp-mini{grid-template-columns:minmax(190px,260px) auto 1fr auto auto auto}}
/* Standalone podcast chrome: the plugin owns podcast navigation; the host header remains for non-podcast routes. */
.rp-podcast-context .kg-header{display:none!important}
body.rp-player-active .kg-header,body.rp-player-active .kg-bottom-nav{z-index:500!important}
.rp-player[data-state="loading"] .rp-main,.rp-player[data-state="buffering"] .rp-main{position:relative;color:transparent!important;pointer-events:auto!important;cursor:pointer!important}
.rp-player[data-state="loading"] .rp-main:after,.rp-player[data-state="buffering"] .rp-main:after{content:"";position:absolute;width:18px;height:18px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;color:#111;animation:rp-spin .7s linear infinite}
@keyframes rp-spin{to{transform:rotate(360deg)}}
@media(max-width:767.98px){.rp-mobile-head{z-index:1000}.rp-sheet-backdrop{z-index:870}.rp-sheet{z-index:880}.rp-player.is-expanded~*{pointer-events:auto}}
.rp-queue-actions{display:flex;gap:2px}.rp-queue-actions button{width:28px;height:30px!important;border:0!important;background:transparent!important;color:var(--rpp-muted)!important;cursor:pointer}
@media(max-width:767.98px){.rp-chips.is-open{flex-wrap:wrap;overflow:visible}}

/* v2.0.2: plugin-owned podcast surface. The theme bottom navigation remains available above the player. */
.rp-podcast-context #primary-content.rp-app{isolation:isolate}
.rp-podcast-context footer{display:none!important}
@media(max-width:767.98px){
  .rp-podcast-context .kg-header,.rp-podcast-context #masthead,.rp-podcast-context header.site-header{display:none!important}
  .rp-podcast-context .rp-mobile-head{top:0!important}
}

/* v2.0.3: readable podcast content and a clearly visible primary play control.
   Scope to the app itself: the host can replace body classes during navigation. */
html[data-theme="light"] .rp-app{
  --rp-bg:#f5f6f8;--rp-bg-2:#fff;--rp-surface:#fff;
  --rp-surface-2:#e8edf4;--rp-surface-3:#dce4ef;
  --rp-text:#172130;--rp-muted:#526174;--rp-line:#c6d0dd;
  color-scheme:light;
}
#primary-content.rp-app{background:var(--rp-bg)!important;color:var(--rp-text)!important}
#primary-content.rp-app :is(h1,h2,h3,h4,h5,h6){color:var(--rp-text)!important}
#primary-content.rp-app :is(.rp-prose,.rp-prose p,.rp-prose li,.rp-prose strong,.rp-prose a,.rp-podcast-copy>p){color:var(--rp-text)!important}
#primary-content.rp-app :is(.rp-meta,.rp-kicker,.rp-episode-copy small,.rp-pod-card-copy small,.rp-pod-card-copy p,.rp-page-head p){color:var(--rp-muted)!important}
#primary-content.rp-app .rp-tabs button{color:var(--rp-muted)!important}
#primary-content.rp-app .rp-tabs button.is-active{color:var(--rp-text)!important}
#primary-content.rp-app :is(.rp-follow,.rp-action,.rp-play-secondary){color:var(--rp-text)!important;border-color:var(--rp-line);background:var(--rp-surface)}
#primary-content.rp-app .rp-chips a{color:var(--rp-text);background:var(--rp-surface)}
#primary-content.rp-app .rp-chips a:is(.is-active,:hover){color:var(--rp-bg);background:var(--rp-text);border-color:var(--rp-text)}
#primary-content.rp-app .rp-mobile-head{background:var(--rp-bg);color:var(--rp-text)}
#primary-content.rp-app .rp-mobile-head :is(a,button){color:var(--rp-text)!important}
#primary-content.rp-app .rp-featured h1{color:#f5f7fb!important}
#primary-content.rp-app .rp-featured-copy p{color:#d9dee5!important}
#primary-content.rp-app .rp-play-primary{
  min-width:174px;min-height:54px;padding:12px 24px;
  background:#2184ff!important;border:2px solid #2184ff!important;
  color:#07111f!important;font-size:16px;font-weight:800;line-height:1.4;
}
#primary-content.rp-app .rp-play-primary :is(svg,span){color:inherit!important}
#primary-content.rp-app .rp-play-primary .rp-icon{width:24px;height:24px}
#primary-content.rp-app .rp-play-primary:hover{background:#59a3ff!important;border-color:#59a3ff!important}
#primary-content.rp-app .rp-play-primary.is-playing{background:#a9ccff!important;border-color:#a9ccff!important}
#primary-content.rp-app .rp-episode-copy>.rp-play-primary{margin-top:20px}
#primary-content.rp-app .rp-action{min-height:48px;flex-direction:row;font-size:12px}
#primary-content.rp-app :is(button,a):focus-visible{outline:3px solid var(--rp-text);outline-offset:4px}
#runama-podcast-player :is(h2,h3){color:var(--rpp-text)!important}
@media(max-width:767.98px){
  #primary-content.rp-app :is(.rp-episode-copy,.rp-podcast-copy){width:100%}
  #primary-content.rp-app :is(.rp-episode-copy,.rp-hero-actions)>.rp-play-primary{width:min(100%,320px)}
  #primary-content.rp-app .rp-action{font-size:10px;gap:5px}
}

/* v2.0.4 — isolate player from the site chrome; light mode uses a light player surface. */
html[data-theme="light"] .rp-player{--rpp-bg:#fff;--rpp-surface:#f5f6f8;--rpp-surface2:#eceff3;--rpp-line:#dfe3e8;--rpp-text:#181a1f;--rpp-muted:#6f7680;color-scheme:light}
html[data-theme="light"] .rp-mini{background:rgba(255,255,255,.97);box-shadow:0 -10px 30px rgba(0,0,0,.10)}
html[data-theme="light"] .rp-full{background:radial-gradient(circle at 50% 0,rgba(46,140,255,.06),transparent 32%),#fff;color:#181a1f}
html[data-theme="light"] .rp-full-head>button,html[data-theme="light"] .rp-controls>button:not(.rp-main){color:#181a1f}
html[data-theme="light"] .rp-tools button{background:#f5f6f8;color:#181a1f;border-color:#dfe3e8}
html[data-theme="light"] .rp-sheet{background:#fff;color:#181a1f;border-color:#dfe3e8;box-shadow:0 24px 70px rgba(0,0,0,.18)}
html[data-theme="light"] .rp-sheet header button,html[data-theme="light"] .rp-option-grid button,html[data-theme="light"] .rp-option-list>*{color:#181a1f}


/* Runama Podcast 2.0.6 — isolated full player screen */
.rp-player.is-expanded{
  position:fixed!important;
  inset:0!important;
  z-index:2147483000!important;
}
.rp-player.is-expanded .rp-full{
  display:block!important;
  position:fixed!important;
  inset:0!important;
  z-index:2147483001!important;
  background:#000!important;
  color:#fff!important;
  color-scheme:dark!important;
}
.rp-player.is-expanded .rp-full-head{
  position:sticky!important;
  top:0!important;
  z-index:2147483002!important;
  background:#000!important;
  border-bottom:1px solid rgba(255,255,255,.14)!important;
}
.rp-player.is-expanded .rp-full-head>button{
  position:relative!important;
  z-index:2147483003!important;
  color:#fff!important;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.14)!important;
}
.rp-player.is-expanded .rp-full-body,
.rp-player.is-expanded .rp-full *,
.rp-player.is-expanded .rp-sheet,
.rp-player.is-expanded .rp-sheet-backdrop{
  color-scheme:dark!important;
}
body.rp-player-expanded{
  overflow:hidden!important;
  background:#000!important;
}
body.rp-player-expanded :is(.kg-header,header.site-header,.site-header,.kg-bottom-nav,footer,.kg-footer-pro,footer.site-footer){
  visibility:hidden!important;
  pointer-events:none!important;
}
body.rp-player-expanded .rp-player,
body.rp-player-expanded .rp-player *{
  visibility:visible!important;
  pointer-events:auto;
}


/* Runama Podcast 2.0.7 — explicit close control + sheets above fullscreen player */
.rp-player.is-expanded .rp-full-close,
.rp-player.is-expanded .rp-full-more{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:46px!important;
  min-width:46px!important;
  height:46px!important;
  min-height:46px!important;
  padding:0!important;
  border-radius:50%!important;
  color:#fff!important;
  background:rgba(255,255,255,.10)!important;
  border:1px solid rgba(255,255,255,.18)!important;
  cursor:pointer!important;
  pointer-events:auto!important;
  opacity:1!important;
}
.rp-player.is-expanded .rp-full-close svg,
.rp-player.is-expanded .rp-full-more svg{
  width:24px!important;
  height:24px!important;
  display:block!important;
}
.rp-player.is-expanded .rp-full-close{
  position:relative!important;
  z-index:2147483303!important;
}
.rp-player.is-expanded .rp-full-more{
  position:relative!important;
  z-index:2147483303!important;
}
.rp-player.is-expanded ~ .rp-sheet-backdrop,
body.rp-player-expanded .rp-sheet-backdrop{
  z-index:2147483400!important;
}
.rp-player.is-expanded ~ .rp-sheet,
body.rp-player-expanded .rp-sheet{
  z-index:2147483500!important;
}
body.rp-player-expanded .rp-sheet,
body.rp-player-expanded .rp-sheet *,
body.rp-player-expanded .rp-sheet-backdrop{
  visibility:visible!important;
  pointer-events:auto!important;
}


/* Runama Podcast 2.0.8 — fullscreen palette matched to Runama dark footer */
.rp-player.is-expanded,
.rp-player.is-expanded .rp-full,
body.rp-player-expanded{
  background:#111214!important;
  color:#f3f4f6!important;
}
.rp-player.is-expanded .rp-full-head{
  background:#111214!important;
  color:#f3f4f6!important;
  border-color:#2d3137!important;
}
.rp-player.is-expanded :is(
  .rp-full-close,
  .rp-full-more,
  button,
  .rp-tool,
  .rp-speed,
  .rp-sleep,
  .rp-queue-item
){
  color:#f3f4f6!important;
  border-color:#32363d!important;
}
.rp-player.is-expanded :is(.rp-full-close,.rp-full-more,.rp-tool,.rp-speed,.rp-sleep){
  background:#17191d!important;
}
.rp-player.is-expanded :is(
  .rp-full-sub,
  .rp-full-meta,
  .rp-full-description,
  .rp-muted,
  small
){
  color:#a6adb7!important;
}
.rp-player.is-expanded :is(.rp-progress,.rp-volume){
  accent-color:#f3f4f6;
}
body.rp-player-expanded .rp-sheet{
  background:#17191d!important;
  color:#f3f4f6!important;
  border-color:#32363d!important;
}
body.rp-player-expanded .rp-sheet :is(button,a){
  color:#f3f4f6!important;
  border-color:#32363d!important;
}
body.rp-player-expanded .rp-sheet :is(p,small,span.rp-muted){
  color:#a6adb7!important;
}
body.rp-player-expanded .rp-sheet-backdrop{
  background:rgba(0,0,0,.58)!important;
}


/* ==========================================================
   Runama Podcast 2.0.9 — final fullscreen UI normalization
   Palette matches Runama dark footer and overrides ALL theme modes.
   ========================================================== */
body.rp-player-expanded,
body.rp-player-expanded .rp-player,
body.rp-player-expanded .rp-player.is-expanded,
body.rp-player-expanded .rp-full{
  --rpp-bg:#111214!important;
  --rpp-surface:#17191d!important;
  --rpp-surface-2:#202329!important;
  --rpp-line:#32363d!important;
  --rpp-text:#f3f4f6!important;
  --rpp-muted:#a6adb7!important;
  background:#111214!important;
  color:#f3f4f6!important;
  color-scheme:dark!important;
}

body.rp-player-expanded .rp-full{
  background:#111214!important;
  box-shadow:none!important;
}

body.rp-player-expanded .rp-full-head{
  height:68px!important;
  background:#111214!important;
  color:#f3f4f6!important;
  border-bottom:1px solid #2d3137!important;
  box-shadow:none!important;
}

body.rp-player-expanded .rp-full-head>strong{
  color:#f3f4f6!important;
  font-weight:600!important;
}

body.rp-player-expanded .rp-full-close,
body.rp-player-expanded .rp-full-more,
body.rp-player-expanded .rp-sheet header button{
  width:44px!important;
  min-width:44px!important;
  height:44px!important;
  min-height:44px!important;
  padding:0!important;
  border:1px solid #32363d!important;
  border-radius:50%!important;
  background:#17191d!important;
  color:#f3f4f6!important;
  box-shadow:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  opacity:1!important;
}

body.rp-player-expanded .rp-full-close:hover,
body.rp-player-expanded .rp-full-more:hover,
body.rp-player-expanded .rp-sheet header button:hover{
  background:#202329!important;
  border-color:#454b54!important;
}

body.rp-player-expanded .rp-full-close svg,
body.rp-player-expanded .rp-full-more svg,
body.rp-player-expanded .rp-sheet header button svg{
  width:22px!important;
  height:22px!important;
  color:currentColor!important;
  fill:none!important;
  stroke:currentColor!important;
}

body.rp-player-expanded .rp-full-art{
  background:#17191d!important;
  border:1px solid #2d3137!important;
  box-shadow:0 18px 55px rgba(0,0,0,.34)!important;
}

body.rp-player-expanded .rp-full-copy h2{
  color:#f3f4f6!important;
}

body.rp-player-expanded .rp-full-copy>p,
body.rp-player-expanded .rp-seek>div,
body.rp-player-expanded .rp-tools span,
body.rp-player-expanded .rp-queue-item small{
  color:#a6adb7!important;
}

/* Transport controls: clean, icon-only secondary controls. */
body.rp-player-expanded .rp-controls{
  gap:28px!important;
}
body.rp-player-expanded .rp-controls>button:not(.rp-main){
  width:54px!important;
  min-width:54px!important;
  height:54px!important;
  min-height:54px!important;
  padding:0!important;
  border:1px solid #32363d!important;
  border-radius:50%!important;
  background:#17191d!important;
  color:#f3f4f6!important;
  box-shadow:none!important;
}
body.rp-player-expanded .rp-controls>button:not(.rp-main):hover{
  background:#202329!important;
  border-color:#454b54!important;
}
body.rp-player-expanded .rp-controls>button:not(.rp-main) svg{
  color:#f3f4f6!important;
  stroke:currentColor!important;
}

/* Main play remains the single branded accent. */
body.rp-player-expanded .rp-main-full{
  width:78px!important;
  min-width:78px!important;
  height:78px!important;
  min-height:78px!important;
  border:0!important;
  border-radius:50%!important;
  background:#2184ff!important;
  color:#fff!important;
  box-shadow:0 10px 28px rgba(33,132,255,.24)!important;
}
body.rp-player-expanded .rp-main-full svg{
  color:#fff!important;
  stroke:currentColor!important;
  fill:currentColor!important;
}

/* The three utility buttons are dark cards, not white/gray browser-like blocks. */
body.rp-player-expanded .rp-tools{
  gap:10px!important;
}
body.rp-player-expanded .rp-tools button{
  min-height:70px!important;
  padding:10px 8px!important;
  border:1px solid #32363d!important;
  border-radius:12px!important;
  background:#17191d!important;
  color:#f3f4f6!important;
  box-shadow:none!important;
}
body.rp-player-expanded .rp-tools button:hover{
  background:#202329!important;
  border-color:#454b54!important;
}
body.rp-player-expanded .rp-tools button svg,
body.rp-player-expanded .rp-tools button strong{
  color:#f3f4f6!important;
}

/* Range controls. */
body.rp-player-expanded input[type="range"]{
  accent-color:#2184ff!important;
}

/* Bottom sheets / three-dot menus. */
body.rp-player-expanded .rp-sheet{
  background:#17191d!important;
  color:#f3f4f6!important;
  border:1px solid #32363d!important;
  box-shadow:0 24px 70px rgba(0,0,0,.52)!important;
}
body.rp-player-expanded .rp-sheet header{
  border-color:#32363d!important;
}
body.rp-player-expanded .rp-sheet h3{
  color:#f3f4f6!important;
}

body.rp-player-expanded .rp-option-grid button,
body.rp-player-expanded .rp-option-list>*{
  min-height:48px!important;
  border:1px solid #32363d!important;
  border-radius:10px!important;
  background:#202329!important;
  color:#f3f4f6!important;
  box-shadow:none!important;
}
body.rp-player-expanded .rp-option-grid button:hover,
body.rp-player-expanded .rp-option-list>*:hover{
  background:#282c33!important;
  border-color:#454b54!important;
}
body.rp-player-expanded .rp-option-grid button.is-active{
  background:#2184ff!important;
  border-color:#2184ff!important;
  color:#fff!important;
}

body.rp-player-expanded .rp-option-list .rp-danger{
  background:rgba(255,107,107,.08)!important;
  color:#ffb7b7!important;
  border-color:rgba(255,107,107,.28)!important;
}

body.rp-player-expanded .rp-queue-current,
body.rp-player-expanded .rp-queue-item{
  border-color:#32363d!important;
}
body.rp-player-expanded .rp-queue-item button{
  background:transparent!important;
  color:#a6adb7!important;
}

/* Error message no longer creates a white button. */
body.rp-player-expanded .rp-player-error{
  background:rgba(255,107,107,.08)!important;
  border-color:rgba(255,107,107,.28)!important;
  color:#ffd0d0!important;
}
body.rp-player-expanded .rp-player-error button{
  background:#202329!important;
  color:#f3f4f6!important;
  border:1px solid #32363d!important;
}

/* Force dark fullscreen even if site itself is in light mode. */
html[data-theme="light"] body.rp-player-expanded .rp-full,
html[data-theme="light"] body.rp-player-expanded .rp-sheet,
html[data-theme="light"] body.rp-player-expanded .rp-tools button,
html[data-theme="light"] body.rp-player-expanded .rp-option-grid button,
html[data-theme="light"] body.rp-player-expanded .rp-option-list>*{
  background-color:inherit;
  color:inherit;
}

/* Mobile keeps the same visual language. */
@media(max-width:767.98px){
  body.rp-player-expanded .rp-full-head{
    height:58px!important;
    padding-inline:12px!important;
  }
  body.rp-player-expanded .rp-full-close,
  body.rp-player-expanded .rp-full-more{
    width:42px!important;
    min-width:42px!important;
    height:42px!important;
    min-height:42px!important;
  }
  body.rp-player-expanded .rp-full-body{
    height:calc(100dvh - 58px)!important;
    padding-bottom:max(18px,env(safe-area-inset-bottom))!important;
  }
  body.rp-player-expanded .rp-tools button{
    min-height:62px!important;
  }
  body.rp-player-expanded .rp-sheet{
    bottom:max(12px,env(safe-area-inset-bottom))!important;
  }
}
