:is(.ep-row,.radio-player-tools) .radio-episode-tool{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:28px;border:1px solid #adcbdc;background:rgba(255,255,255,.48);color:#265473;padding:0 9px;border-radius:6px;font:inherit;font-size:12px;font-weight:500;line-height:1;cursor:pointer;flex-shrink:0;transition:color .18s,background .18s,border-color .18s}
:is(.ep-row,.radio-player-tools) .radio-episode-tool:hover{color:#0057b8;background:rgba(0,87,184,.045);border-color:rgba(0,87,184,.1)}
:is(.ep-row,.radio-player-tools) .radio-episode-tool:focus-visible{outline:2px solid #008bc5;outline-offset:3px}
:is(.ep-row,.radio-player-tools) .radio-episode-share{width:28px;padding:0;border-radius:50%;border-color:rgba(0,87,184,.24);color:#37678e}
.radio-episode-share svg{display:block;width:14px;height:14px;flex-shrink:0}
.radio-content-dialog{position:fixed;inset:0;margin:auto;width:min(620px,calc(100vw - 32px));max-height:85dvh;padding:0;border:1px solid #d5e6ef;border-radius:20px;background:#fff;color:#123751;box-shadow:0 24px 80px #001e3b33;font-family:inherit;overflow:auto}
.radio-content-dialog::backdrop{background:#031b36a6;backdrop-filter:blur(5px)}
.radio-content-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid #e4eef4}
.radio-content-dialog h2{font-size:20px;margin:0}.radio-content-dialog h3{font-size:18px;margin:0 0 16px}.radio-content-body{padding:24px}
.radio-content-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:15px}
.radio-content-body img{display:block;width:100%;height:auto;margin-top:20px;border-radius:12px}
.radio-content-dialog button,.radio-content-body a{display:inline-block;padding:9px 14px;border:1px solid #c9dfeb;border-radius:10px;background:#f2f9fc;color:#075080;font:inherit;font-size:13px;cursor:pointer;margin:4px;text-decoration:none}
.radio-content-body input{display:block;box-sizing:border-box;width:100%;margin:16px 0;padding:12px;border:1px solid #c9dfeb;border-radius:8px;color:#123751;background:#fff}
.radio-episode-linked{outline:2px solid #008bc5;outline-offset:-2px}
@media(max-width:600px){.ep-row{flex-wrap:wrap}:is(.ep-row,.radio-player-tools) .radio-episode-tool{font-size:11px;padding:0 6px}:is(.ep-row,.radio-player-tools) .radio-episode-share{width:25px;height:25px;padding:0}.radio-content-dialog header,.radio-content-body{padding:18px}}


.radio-player-tools{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:8px 0 0}.radio-player-tools[hidden]{display:none!important}
.radio-dock .radio-player-tools{padding:0;flex-shrink:0}.radio-console .radio-player-tools{border-top:1px solid rgba(80,130,160,.12);margin-top:8px}
@media(max-width:480px){.radio-dock .radio-player-tools{gap:3px}.radio-dock .radio-player-tools .radio-episode-share{display:none}.radio-dock .radio-player-tools .radio-episode-tool{max-width:90px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}

/* Player surfaces need their own contrast, distinct from the pale episode list. */
#rp2-panel .radio-player-tools .radio-episode-tool{color:#fff;background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.55);height:30px;padding:0 12px;border-radius:8px}
#rp2-panel .radio-player-tools .radio-episode-share{width:30px;padding:0;border-radius:50%}
#rp2-panel .radio-player-tools .radio-episode-tool:hover{background:rgba(255,255,255,.23);border-color:#fff}
#rp2-panel .radio-player-tools .radio-episode-tool:focus-visible{outline-color:#fff}
#rp2-panel .radio-player-tools{border-top-color:rgba(255,255,255,.18);padding-top:10px}
.radio-content-dialog{width:min(580px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:85vh;border:1px solid #d8e5ed;border-radius:20px;box-shadow:0 30px 100px #001b364d;color:#16344e}
.radio-content-dialog header{padding:18px 24px;background:#f6fafc;border-bottom:1px solid #e2edf3}
.radio-content-dialog header h2{font-family:inherit;font-size:16px;font-weight:600;line-height:1.4;color:#173c59}
.radio-content-dialog .radio-modal-close{display:grid;place-items:center;width:32px;height:32px;padding:0;margin:0;border:1px solid #dbe6ed;border-radius:50%;background:#fff;color:#456579;flex-shrink:0}
.radio-content-body{padding:26px}.radio-modal-summary{display:flex;align-items:center;gap:14px;padding-bottom:20px;border-bottom:1px solid #e7eff4;margin-bottom:20px}
.radio-content-body .radio-modal-summary img{width:60px;height:60px;object-fit:cover;flex-shrink:0;margin:0;border-radius:10px}
.radio-modal-summary>div{min-width:0}.radio-modal-summary span{display:block;font-size:11px;line-height:1.5;color:#617c90;margin-bottom:5px}
.radio-content-dialog .radio-modal-summary h3{font-size:20px;line-height:1.35;font-weight:600;margin:0;color:#173c59;overflow-wrap:anywhere}
.radio-content-text{font-size:14px;line-height:1.85;color:#38546b;margin:0}
.radio-share-hint{font-size:13px;line-height:1.6;color:#61798b;margin:0 0 18px}
.radio-share-actions{display:flex;gap:10px;flex-wrap:wrap}
.radio-content-dialog .radio-share-actions>*{display:inline-flex;justify-content:center;align-items:center;min-height:42px;box-sizing:border-box;flex:1 1 auto;margin:0;padding:10px 16px;border:1px solid #d6e3ec;background:#fff;border-radius:10px;color:#234d6b;font-size:13px;font-weight:500}
.radio-content-dialog .radio-share-actions .radio-share-primary{background:#086da4;color:#fff;border-color:#086da4}
.radio-content-body input{background:#f6f9fb;color:#60798c;font-size:12px;border-color:#e1eaf0;margin:18px 0 0}
.radio-content-dialog button:focus-visible,.radio-content-dialog a:focus-visible{outline:2px solid #008bc5;outline-offset:3px}
@media(max-width:480px){.radio-content-body{padding:20px}.radio-content-dialog header{padding:16px 20px}.radio-content-dialog .radio-modal-summary h3{font-size:18px}.radio-share-actions{gap:8px}}

/* Editorial presentation for episode content only; sharing keeps its own layout. */
.radio-content-dialog.radio-recipe-dialog{width:min(700px,calc(100vw - 32px));border-radius:22px;background:#fff;scrollbar-width:thin;scrollbar-color:#c7dae6 transparent}
.radio-recipe-dialog header{position:sticky;top:0;z-index:2;background:#f5fafdf5;backdrop-filter:blur(12px);padding:18px 30px;border-bottom:1px solid #e3edf4}
.radio-recipe-dialog header h2{font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#426c86}
.radio-recipe-dialog .radio-content-body{padding:30px 36px 38px}
.radio-recipe-dialog .radio-modal-summary{align-items:flex-start;gap:16px;padding-bottom:25px;margin-bottom:26px;border-bottom:1px solid #e5eef4}
.radio-recipe-dialog .radio-modal-summary img{width:54px;height:54px;border-radius:12px;border:1px solid #e7edf2}
.radio-recipe-dialog .radio-modal-summary span{font-size:12px;color:#6b8395;margin:0 0 9px;line-height:1.5}
.radio-content-dialog.radio-recipe-dialog .radio-modal-summary h3{font-size:28px;font-weight:600;line-height:1.25;letter-spacing:-.7px;color:#123855}
.radio-recipe-dialog .radio-content-body .radio-recipe-image{width:100%;max-height:440px;object-fit:contain;background:#f4f8fa;border:1px solid #e7eef3;border-radius:14px;margin:0 0 28px}
.radio-recipe-dialog .radio-content-text{font-size:15px;line-height:1.9;color:#365469;white-space:normal;overflow-wrap:anywhere}
.radio-recipe-dialog .radio-content-text p{white-space:pre-wrap;margin:0 0 20px;font:inherit;color:inherit}
.radio-recipe-dialog .radio-content-text p:last-child{margin-bottom:0}
@media(max-width:480px){.radio-content-dialog.radio-recipe-dialog{width:calc(100vw - 24px);max-width:calc(100vw - 24px);border-radius:18px}.radio-recipe-dialog header{padding:15px 20px}.radio-recipe-dialog .radio-content-body{padding:24px 22px 28px}.radio-content-dialog.radio-recipe-dialog .radio-modal-summary h3{font-size:23px;letter-spacing:-.4px}.radio-recipe-dialog .radio-modal-summary{gap:12px}.radio-recipe-dialog .radio-modal-summary img{width:44px;height:44px}.radio-recipe-dialog .radio-content-text{font-size:14px;line-height:1.85}}
/* Content actions must not inherit the fixed width of transport buttons. */
.radio-dock .radio-player-tools{gap:8px;align-items:center}
.radio-dock .radio-player-tools button.radio-episode-tool{display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:64px;height:36px;padding:0 14px;border:1px solid #c7deec;border-radius:999px;background:#f2f9fd;color:#245779;font-size:12px;font-weight:500;line-height:1;white-space:nowrap}
.radio-dock .radio-player-tools button.radio-episode-tool:hover{background:#e6f3fb;border-color:#a9ccdf}
.radio-dock .radio-player-tools button.radio-episode-share{width:32px;min-width:32px;height:32px;padding:0;background:transparent;border-color:#d4e4ee}
.radio-dock .radio-player-tools .radio-episode-share svg{width:14px;height:14px;fill:none;stroke:currentColor}
@media(max-width:480px){.radio-dock .radio-player-tools{gap:5px}.radio-dock .radio-player-tools button.radio-episode-tool{min-width:58px;height:32px;padding:0 10px;font-size:11px}.radio-dock .radio-player-tools button.radio-episode-share{display:none}}
