/* The supplied FrontDoor.dc.html design, scoped below the existing orb page. */
.front-door { position: relative; z-index: 4; width: min(100%, 390px); margin: 0 auto; background: #fdfdfc; color: #131318; overflow-x: clip; }
.front-door svg { flex-shrink: 0; }
.front-door button { font-family: inherit; }
.front-door button:focus-visible, .front-door-player button:focus-visible, .more-nudge:focus-visible { outline: 2px solid #755267; outline-offset: 4px; }
.front-door footer { line-height: normal; }
.more-nudge svg { height: 32px; }
.front-door h2 { margin-top: 0; }
.more-nudge { position: absolute; z-index: 4; bottom: 90px; left: calc(50% - 40px); width: 80px; display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; color: #5c5c66; font: italic 400 15px/1.2 var(--display); animation: front-door-bob 2.6s ease-in-out infinite; }
.front-door-player { position: fixed; bottom: calc(14px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(366px, calc(100% - 24px)); z-index: 30; padding: 10px 12px; border-radius: 999px; background: rgba(19,19,24,.94); color: #fdfdfc; display: flex; align-items: center; gap: 12px; box-shadow: 0 10px 30px rgba(19,19,24,.25); }
.front-door-mini-orb { flex: none; width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 31% 27%, rgba(255,255,255,.98) 0%, rgba(255,255,255,.5) 14%, transparent 34%), radial-gradient(circle at 64% 62%, rgba(232,96,172,.85) 0%, rgba(238,152,202,.4) 26%, transparent 56%), radial-gradient(circle at 50% 46%, #f8f3f7 0%, #f2ebf1 56%, #d8cdd9 100%); box-shadow: 0 0 18px rgba(228,0,124,.6); animation: front-door-talk 1.1s ease-in-out infinite; }
.orb-stage.is-podcast-playing .orb { animation: front-door-talk 1.1s ease-in-out infinite; }
.front-door-episode { padding: 14px; border-radius: 18px; background: #fff; border: 2px solid #ececef; transition: border-color .2s; }
.front-door-episode.is-playing { border-color: var(--episode-color); box-shadow: 0 6px 22px rgba(228,0,124,.14); }
.episode-row { display: flex; align-items: flex-start; gap: 12px; }
.episode-badge { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 2.4px solid var(--episode-color); display: flex; align-items: center; justify-content: center; font: 400 18px var(--display); transform: rotate(var(--episode-tilt)); }
.episode-copy { flex: 1; min-width: 0; }
.episode-title { margin: 0; font: 400 19px/1.15 var(--display); }
.episode-line { margin: 4px 0 0; font-size: 13px; color: #5c5c66; line-height: 1.35; }
.episode-meta { margin: 6px 0 0; font-size: 12px; color: #8b8b95; }
.episode-season, .episode-season-cards { display: flex; flex-direction: column; gap: 12px; }
.episode-season-title { margin: 0; font: 500 13px/1.4 var(--sans); color: #5c5c66; letter-spacing: .04em; }
.episode-coming { flex: none; max-width: 44px; font-size: 11px; line-height: 1.4; color: #8b8b95; text-align: center; }
.episode-play { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #f6e9f0; color: #131318; font-size: 13px; cursor: pointer; }
.episode-play[aria-pressed="true"], #front-door-song[aria-pressed="true"] { background: #e4007c !important; color: #fff !important; }
html[data-room="open"] .front-door-player { bottom: calc(84px + env(safe-area-inset-bottom)); }
@keyframes front-door-talk { 0%,100% { transform:scale(1.04) } 25% { transform:scale(1.1) } 60% { transform:scale(1.02) } 80% { transform:scale(1.08) } }
@keyframes front-door-bob { 0%,100% { transform:translateY(0) rotate(-3deg) } 50% { transform:translateY(6px) rotate(3deg) } }
@keyframes front-door-hop { 0%,100% { transform:translateY(0) } 50% { transform:translateY(-5px) } }
/* On short screens the nudge fits beside the player, leaving the original credit clear. */
@media (max-width:819px) and (max-height:800px) { .more-nudge { left: auto; right: 8px; bottom: 62px; width: 72px; } }
@media (min-width:820px) { .more-nudge { left:auto; right:30px; bottom:26px; } }
@media (prefers-reduced-motion:reduce) { .more-nudge, .front-door-mini-orb, .orb-stage.is-podcast-playing .orb, .front-door img, .front-door svg { animation:none !important; } }

html[data-room="open"] .more-nudge { position: static; margin: 18px auto 0; }
