
/* My Pumpkin FM v2.5.5 reconstructed core stylesheet */
.mpfm-wrap{width:100vw;max-width:none;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);padding:20px;color:#f2e1e1;background:#090909;border-radius:12px;font-family:Arial,Helvetica,sans-serif}
.mpfm-wrap *{box-sizing:border-box}
.mpfm-wrap h1,.mpfm-wrap h2,.mpfm-wrap h3{color:#fff}.mpfm-wrap p,.mpfm-wrap span,.mpfm-wrap label,.mpfm-wrap li{color:inherit}
.mpfm-hero{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:24px;border-radius:12px;background:#151515;border:1px solid #3d3d3d;margin-bottom:18px}
.mpfm-eyebrow{font-size:12px;font-weight:700;letter-spacing:.08em;color:#ff9900;margin-bottom:6px}
.mpfm-hero h1{margin:0 0 8px;font-size:clamp(26px,4vw,42px)}.mpfm-hero p{margin:0;color:#c8c8c8;line-height:1.55}
.mpfm-hero-avatar{width:78px;height:78px;flex:0 0 78px;border-radius:50%;overflow:hidden;border:2px solid #e68635;background:#202020;box-shadow:0 0 0 4px rgba(230,134,53,.12)}.mpfm-hero-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.mpfm-now-playing-panel,.mpfm-card,.mpfm-next{background:#151515;border:1px solid #444;border-radius:12px;padding:18px;margin-bottom:18px}
.mpfm-now-head,.mpfm-card-head,.mpfm-item,.mpfm-item-inner,.mpfm-message-meta{display:flex;align-items:center;justify-content:space-between;gap:12px}
.mpfm-now-head h2,.mpfm-card-head h2{margin:0}
.mpfm-timezone-controls{display:inline-flex;gap:8px;align-items:center;margin-left:10px;font-size:12px;font-weight:400}
.mpfm-timezone-controls select,.mpfm-message-form select{background:#111;color:#fff;border:1px solid #555;border-radius:6px;padding:7px}
.mpfm-local-time-badge{font-size:12px;color:#ffb86b}
.mpfm-now-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.mpfm-now-loading,.mpfm-empty{color:#aaa;padding:12px}
.mpfm-now-item{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:12px;border-radius:8px;background:#101010;border:1px solid #333}
.mpfm-now-logo{width:48px;height:48px;object-fit:contain}.mpfm-now-station{font-weight:700;color:#fff}.mpfm-now-title{font-size:14px;color:#ddd}.mpfm-now-next{font-size:12px;color:#aaa;margin-top:4px}
.mpfm-quick-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}.mpfm-quick-stats>div{background:#151515;border:1px solid #444;border-radius:10px;padding:16px;text-align:center}.mpfm-quick-stats strong{display:block;font-size:26px;color:#ff9900}.mpfm-quick-stats span{font-size:12px;color:#bbb}
.mpfm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.mpfm-card-wide{grid-column:1/-1}
.mpfm-card-head>div{display:flex;align-items:center;gap:9px}.mpfm-icon{font-size:21px}.mpfm-help,.mpfm-reminder-note{color:#bbb;line-height:1.5}
.mpfm-login-button,.mpfm-send-message,.mpfm-refresh-now,.mpfm-outline-button,.mpfm-now-listen,.mpfm-search-result,.mpfm-add-next-reminder{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 13px;border-radius:7px;border:1px solid #e68635;background:#d66f2f;color:#fff!important;text-decoration:none;font-weight:700;cursor:pointer}
.mpfm-outline-button{background:transparent;border-color:#777}.mpfm-refresh-now{background:#222;border-color:#666}.mpfm-now-listen{font-size:12px;padding:7px 10px}
.mpfm-library-search{margin:0 0 14px}.mpfm-search-input{width:100%;padding:10px 12px;border-radius:7px;border:1px solid #555;background:#101010;color:#fff}
.mpfm-search-results{display:grid;gap:5px;margin-top:7px}.mpfm-search-result{justify-content:flex-start;background:#222;border-color:#444;font-weight:400;text-align:left}
.mpfm-items{display:flex;flex-wrap:wrap;gap:9px}.mpfm-item{background:#202020;border:1px solid #444;border-radius:8px;padding:8px 10px;color:#eee}.mpfm-small-list{display:grid;gap:8px}.mpfm-small-list .mpfm-item{width:100%}
.mpfm-item>div{min-width:0}.mpfm-item span{display:block;color:#aaa;font-size:12px;margin-top:2px}
.mpfm-remove,.mpfm-modal-close{width:28px;height:28px;border-radius:50%;border:1px solid #855;background:#3b1717;color:#fff;cursor:pointer;font-size:18px;line-height:1}
.mpfm-message-form{display:grid;gap:10px;margin-top:14px}.mpfm-message-form textarea{min-height:100px;padding:10px;border-radius:7px;background:#101010;color:#fff;border:1px solid #555}
.mpfm-message{padding:12px;margin:9px 0;background:#101010;border:1px solid #333;border-radius:8px}.mpfm-message-meta{justify-content:flex-start;font-size:12px;color:#aaa}.mpfm-admin-reply{margin-top:10px;padding:10px;border-left:3px solid #ff9900;background:#181818}
.mpfm-news-list{display:grid;gap:10px}.mpfm-news-item{padding:12px;border:1px solid #333;border-radius:8px;background:#101010}.mpfm-news-item h3{margin:6px 0}.mpfm-news-item p{margin:0;color:#ccc}.mpfm-news-meta{display:flex;justify-content:space-between;color:#ffb86b;font-size:12px}
.mpfm-next{display:flex;justify-content:space-between;align-items:center;gap:18px}.mpfm-next h2{margin:0 0 8px}.mpfm-next p{margin:0;color:#bbb}
.mpfm-modal[hidden]{display:none!important}.mpfm-modal{position:fixed;inset:0;z-index:999999;background:rgba(0,0,0,.75);display:flex;align-items:center;justify-content:center;padding:18px}.mpfm-modal-box{position:relative;width:min(520px,100%);background:#191919;color:#fff;border:1px solid #555;border-radius:12px;padding:22px}.mpfm-modal-box label{display:block;margin:10px 0 4px}.mpfm-modal-box input{width:100%;padding:10px;border:1px solid #555;border-radius:7px;background:#101010;color:#fff}.mpfm-modal-close{position:absolute;right:10px;top:10px}
.mpfm-login-required{text-align:center;padding:45px 20px;background:#151515;color:#eee;border-radius:12px}.mpfm-lock{font-size:42px}
@media(max-width:760px){.mpfm-wrap{padding:12px}.mpfm-grid{grid-template-columns:1fr}.mpfm-now-list{grid-template-columns:1fr}.mpfm-hero{padding:18px}.mpfm-hero-pumpkin{display:none}.mpfm-quick-stats{grid-template-columns:1fr}.mpfm-now-item{grid-template-columns:auto 1fr}.mpfm-now-item .mpfm-now-listen{grid-column:1/-1}.mpfm-next{align-items:flex-start;flex-direction:column}.mpfm-timezone-controls{display:flex;flex-wrap:wrap;margin:8px 0 0}.mpfm-now-head{align-items:flex-start;flex-direction:column}}


/* Profile image uploader v2.6.2 */
.mpfm-profile-image-file{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.mpfm-profile-image-upload-button{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;width:auto!important;min-width:220px;padding:11px 16px!important;border-radius:7px!important;border:1px solid #e68635!important;background:#d66f2f!important;color:#fff!important;font-weight:700!important;cursor:pointer!important;margin-top:10px!important}
.mpfm-profile-image-upload-button:hover{filter:brightness(1.1)}
.mpfm-profile-image-selected{margin-top:8px;font-size:12px;color:#bbb}


/* ==========================================================
   v2.6.9 – Reliable reminder alarm
========================================================== */
#mpfm-alarm-overlay{
  position:fixed;
  inset:0;
  z-index:2147483647;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(3px);
}
#mpfm-alarm-overlay[hidden]{display:none!important}
.mpfm-alarm-card{
  width:min(520px,100%);
  text-align:center;
  padding:28px;
  border-radius:20px;
  color:#fff;
  background:linear-gradient(145deg,#32220f,#17100a);
  border:2px solid rgba(243,178,66,.9);
  box-shadow:0 20px 80px rgba(0,0,0,.65);
  animation:mpfmReminderPulse 1.25s ease-in-out infinite;
}
.mpfm-alarm-bell{font-size:54px;line-height:1;margin-bottom:10px}
.mpfm-alarm-card h2{margin:0 0 16px;font-size:26px}
.mpfm-alarm-programme{font-size:24px;font-weight:700;color:#ffd56b;margin-bottom:8px}
.mpfm-alarm-station{font-size:17px;opacity:.92}
.mpfm-alarm-message{margin:18px auto 22px;opacity:.9}
.mpfm-alarm-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.mpfm-alarm-actions button,
.mpfm-enable-notifications{
  border:0;
  border-radius:999px;
  padding:10px 18px;
  cursor:pointer;
  font-weight:700;
}
.mpfm-alarm-listen{background:#f0a928;color:#1d1204}
.mpfm-alarm-close{background:#eee;color:#222}
.mpfm-enable-notifications{
  display:block;
  margin:8px 0 0;
  font-size:12px;
  background:rgba(240,169,40,.18);
  color:inherit;
  border:1px solid rgba(240,169,40,.5);
}
.mpfm-enable-notifications:disabled{opacity:.7;cursor:default}
@keyframes mpfmReminderPulse{
  0%,100%{transform:scale(1);box-shadow:0 20px 80px rgba(0,0,0,.65)}
  50%{transform:scale(1.015);box-shadow:0 20px 90px rgba(240,169,40,.35)}
}
@media(max-width:520px){
  .mpfm-alarm-card{padding:22px 16px}
  .mpfm-alarm-card h2{font-size:22px}
  .mpfm-alarm-programme{font-size:20px}
}

/* Favourite station artwork and popup-player controls (v2.7.7). */
.mpfm-station-button .mpfm-item-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;}
.mpfm-station-brand{display:flex;align-items:center;gap:12px;min-width:0;}
.mpfm-station-logo{width:54px;height:54px;flex:0 0 54px;object-fit:contain;border-radius:7px;background:#202020;}
.mpfm-station-logo-fallback{width:54px;height:54px;flex:0 0 54px;display:flex;align-items:center;justify-content:center;font-size:27px;background:#202020;border-radius:7px;}
.mpfm-station-button .mpfm-item-title{font-weight:700;color:#fff;}
.mpfm-station-button .mpfm-item-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto;}
.mpfm-station-listen{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border:1px solid #e68635;border-radius:7px;background:#d66f2f;color:#fff!important;font-weight:700;cursor:pointer;}
.mpfm-station-button .mpfm-remove{flex:0 0 auto;}
@media(max-width:520px){.mpfm-station-logo,.mpfm-station-logo-fallback{width:44px;height:44px;flex-basis:44px}.mpfm-station-button .mpfm-item-inner{gap:7px}.mpfm-station-listen{padding:7px 9px;font-size:12px}}

/* Rich news content support (v2.8.3) */
.mpfm-news-content{color:#ccc;line-height:1.65;overflow-wrap:anywhere}.mpfm-news-content p{margin:0 0 1em;color:inherit}.mpfm-news-content a{color:#ffb86b;text-decoration:underline}.mpfm-news-content img{max-width:100%;height:auto;border-radius:6px;display:block;margin:10px auto}.mpfm-news-content figure{max-width:100%;margin:12px 0}.mpfm-news-content ul,.mpfm-news-content ol{padding-left:1.5em;margin:0 0 1em}.mpfm-news-content iframe,.mpfm-news-content video{max-width:100%}

/* v2.8.5 favourite-only three-hour timeline */
.mpfm-favourite-timeline-panel{margin:18px 0 26px;padding:18px;border:1px solid rgba(240,169,40,.25);border-radius:14px;background:rgba(17,17,17,.65);color:#eee}
.mpfm-timeline-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
.mpfm-timeline-head h2{margin:3px 0 0;font-size:20px;color:#f5d28b}
.mpfm-timeline-range{font-size:12px;color:#ffbd67;background:rgba(255,183,86,.1);border:1px solid rgba(255,183,86,.3);border-radius:20px;padding:5px 10px}
.mpfm-favourite-timeline{overflow-x:auto;padding-bottom:5px;min-width:0}
.mpfm-timeline-axis,.mpfm-timeline-row{display:grid;grid-template-columns:minmax(120px,175px) minmax(540px,1fr);gap:10px;align-items:center;min-width:690px}
.mpfm-timeline-axis{margin-bottom:8px;color:#aaa;font-size:10px}
.mpfm-timeline-hours{display:flex;justify-content:space-between;position:relative}
.mpfm-timeline-hours span{white-space:nowrap;transform:translateX(-50%)}.mpfm-timeline-hours span:first-child{transform:none}.mpfm-timeline-hours span:last-child{transform:translateX(0)}
.mpfm-timeline-row{margin:7px 0}
.mpfm-timeline-station{display:flex;align-items:center;gap:8px;min-width:0;font-size:12px;color:#f4d69b}
.mpfm-timeline-station img{width:34px;height:34px;object-fit:contain;border-radius:5px;background:#222;flex:0 0 34px}
.mpfm-timeline-track{height:36px;position:relative;overflow:hidden;border-radius:7px;background:linear-gradient(90deg,rgba(255,255,255,.04),rgba(255,255,255,.025));border:1px solid rgba(255,255,255,.08)}
.mpfm-timeline-track:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(33.333% - 1px),rgba(255,255,255,.1) calc(33.333% - 1px),rgba(255,255,255,.1) 33.333%);pointer-events:none}
.mpfm-timeline-block{position:absolute;top:3px;bottom:3px;overflow:hidden;border-radius:4px;background:linear-gradient(135deg,#a75d26,#d28c43);color:#fff;font-size:11px;display:flex;align-items:center;padding:0 5px;box-sizing:border-box;white-space:nowrap;z-index:1}
.mpfm-timeline-block span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mpfm-timeline-now{position:absolute;top:0;bottom:0;width:2px;background:#ffed87;box-shadow:0 0 5px rgba(255,237,135,.7);z-index:3}
.mpfm-timeline-now:before{content:"NOW";position:absolute;top:0;left:2px;background:#ffed87;color:#33220a;font-weight:800;font-size:8px;padding:1px 3px;border-radius:2px}
@media(max-width:600px){.mpfm-favourite-timeline-panel{padding:12px}.mpfm-timeline-head h2{font-size:18px}}
\n/* Compact, clickable episode information icon */\n.mpfm-episode-info{display:inline-flex!important;align-items:center!important;justify-content:center!important;position:relative!important;z-index:5!important;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;margin:0 2px!important;padding:4px 6px!important;border:1px solid rgba(233,167,94,.55)!important;border-radius:4px!important;background:rgba(233,167,94,.08)!important;color:#e9a75e!important;font-size:6px!important;line-height:1.1!important;cursor:pointer!important;pointer-events:auto!important;vertical-align:middle!important;box-shadow:none!important}\n.mpfm-episode-info:hover,.mpfm-episode-info:focus-visible{background:transparent!important;color:#ffe0a5!important;outline:1px solid #e9a75e!important;outline-offset:1px!important}\n.mpfm-episode-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(0,0,0,.78)}\n.mpfm-episode-dialog{position:relative;width:min(560px,100%);max-height:80vh;overflow:auto;padding:24px;background:#171411;border:1px solid #b97732;border-radius:14px;box-shadow:0 16px 55px rgba(0,0,0,.55);color:#f4e5d1}\n.mpfm-episode-dialog h3{margin:0 35px 16px 0;color:#e9a75e;font-size:20px}\n.mpfm-episode-description{line-height:1.65;color:#eee;white-space:normal}\n.mpfm-episode-close{position:absolute;right:12px;top:10px;background:transparent;border:0;color:#e9a75e;font-size:28px;line-height:1;cursor:pointer}\n
/* Episode modal structured information card */
.mpfm-episode-section{margin:0 0 16px;padding:0;color:#f4e5d1}
.mpfm-episode-section strong{display:block;margin-bottom:5px;color:#e9a75e;font-weight:700}
.mpfm-episode-value{line-height:1.6;white-space:normal;color:#eee}
.mpfm-episode-section.description .mpfm-episode-value{line-height:1.7}
.mpfm-episode-last-heard{margin-top:18px;padding-top:12px;border-top:1px solid #55402c;font-size:12px;color:#b8aa99}

/* v2.8.28 timeline header controls */
.mpfm-timeline-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.mpfm-timeline-controls .mpfm-local-time-badge{font-size:12px;color:#ffb86b;white-space:nowrap}
.mpfm-timeline-controls select{background:#111;color:#fff;border:1px solid #555;border-radius:6px;padding:5px 7px;font-size:12px}
@media(max-width:600px){.mpfm-timeline-head{align-items:flex-start;flex-direction:column}.mpfm-timeline-controls{justify-content:flex-start}}

/* v2.8.32: compact Episode Info button; remove scale/zoom which caused it to disappear */
.mpfm-now-item button.mpfm-episode-info,
.mpfm-episode-info {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  margin: 0 3px !important;
  padding: 2px 5px !important;
  font-size: 9px !important;
  line-height: 12px !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  transform: none !important;
  zoom: 1 !important;
  vertical-align: middle !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

/* v2.8.33: 50% larger, mobile-readable Episode Info Available button with solid navy background */
.mpfm-now-item button.mpfm-episode-info,
.mpfm-episode-info {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  width: auto !important; height: auto !important; min-width: 0 !important; min-height: 0 !important; max-width: none !important;
  margin: 0 3px !important; padding: 3px 7px !important; font-size: 13.5px !important; line-height: 1.25 !important; font-weight: 600 !important;
  white-space: nowrap !important; transform: none !important; zoom: 1 !important; vertical-align: middle !important;
  cursor: pointer !important; pointer-events: auto !important; color: #ffffff !important; background: #12365a !important;
  border: 1px solid #12365a !important; border-radius: 4px !important; box-shadow: none !important;
}
.mpfm-now-item button.mpfm-episode-info:hover, .mpfm-episode-info:hover,
.mpfm-now-item button.mpfm-episode-info:focus-visible, .mpfm-episode-info:focus-visible {
  background: #1b4b78 !important; color: #ffffff !important; border-color: #1b4b78 !important; outline: 2px solid #8bb9e5 !important; outline-offset: 1px !important;
}
@media (max-width: 600px) { .mpfm-now-item button.mpfm-episode-info, .mpfm-episode-info { font-size: 13.5px !important; padding: 3px 7px !important; } }

/* v2.8.36: full-bleed dashboard on all screen sizes; mobile spacing retained */
@media (max-width: 760px) {
  .mpfm-wrap {
    border-radius: 0 !important;
    padding: 12px !important;
    box-sizing: border-box !important;
  }
  .mpfm-wrap > * { max-width: 100%; }
}
