.machine-nav{display:flex;gap:2px;flex:1;align-self:stretch}
.machine-nav .nav-item{min-width:88px;padding:9px 12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border-left:1px solid transparent;border-right:1px solid transparent;border-radius:0;color:#c8d8e3;font-size:10px;white-space:nowrap}
.machine-nav .nav-icon{font-size:21px;color:#b8c9d6}
.machine-nav .nav-item:hover,.machine-nav .nav-item.active{background:linear-gradient(180deg,#062439,#061927);border-color:#0e3e5b;color:#13c3ff}
.machine-nav .nav-item.active{border-bottom:2px solid #13c3ff}
.machine-nav .nav-item.active .nav-icon{color:#13c3ff}
.user-chip{white-space:nowrap}.user-chip span small{display:block;color:#9db1bf;font-size:10px}
.machine-conveyor{position:absolute;left:18%;right:18%;top:454px;height:70px;border:3px solid #294b60;border-radius:8px;background:#07111a;display:flex;overflow:hidden;padding:8px 0;z-index:1}
.machine-conveyor i{flex:0 0 44px;height:100%;margin-right:12px;background:linear-gradient(90deg,#172938,#304557,#172938);border-radius:5px;animation:conveyor-roll 1.2s linear infinite}
@keyframes conveyor-roll{to{transform:translateX(56px)}}
.next-ad{z-index:2;box-shadow:0 12px 25px #000a;animation:ad-bob 2.2s ease-in-out infinite}
.next-ad .ad-avatar{flex:0 0 52px;width:52px;height:52px;overflow:hidden;border:2px solid #fff;box-shadow:0 2px 8px #0005}
.next-ad .ad-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.machine-state-message{min-height:18px;margin:8px auto 0;color:#b9cfdd;font-size:12px}
.machine-dashboard:not(.machine-state-running) .core-gears i,.machine-dashboard:not(.machine-state-running) .feed-pipe em,.machine-dashboard:not(.machine-state-running) .machine-conveyor i,.machine-dashboard:not(.machine-state-running) .next-ad{animation-play-state:paused!important}
.machine-dashboard:not(.machine-state-running) .machine-core:before,.machine-dashboard:not(.machine-state-running) .machine-core:after{filter:saturate(.25);box-shadow:none}
.machine-state-ready .core-screen h2{color:#ffc83d}.machine-state-needs-fuel .core-screen h2,.machine-state-needs-fuel .machine-status-module em{color:#ff9a45!important}.machine-state-offline .core-screen h2,.machine-state-offline .machine-status-module em{color:#ff655b!important}
.machine-screen-ad{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px}.machine-screen-ad small{color:#70dfff;font-size:10px;font-weight:900;letter-spacing:.1em}.machine-screen-ad.type-banner a{display:block;width:min(468px,100%);line-height:0}.machine-screen-banner{display:block;max-width:468px;width:100%;height:auto;max-height:120px;object-fit:contain}.screen-ad-fallback{display:none;color:#8ea8ba;font-size:12px}.machine-screen-ad.banner-error a{display:none}.machine-screen-ad.banner-error .screen-ad-fallback{display:block}.machine-screen-ad.type-text h2{font-size:25px;margin:0}.machine-screen-ad.type-text p{max-width:520px;margin:0;color:#c6d6df;font-size:13px}.screen-text-cta{padding:8px 15px;border-radius:5px;background:#5d28a2;color:#fff;font-size:11px;font-weight:900}.screen-idle{height:100%;display:grid;place-content:center;gap:10px}.screen-idle h2,.screen-idle p{margin:0}
@keyframes ad-bob{50%{transform:translateY(-5px)}}
.machine-feet i{z-index:3}
.live-site-frame{height:310px;border:1px solid #34566d;border-radius:13px;overflow:hidden;background:#fff;position:relative}
.live-site-frame iframe{border:0;background:#fff}
.live-site-open{position:absolute;right:8px;bottom:8px;padding:8px 10px;border-radius:6px;background:#087db6e8;color:#fff;font-size:10px;font-weight:900;box-shadow:0 3px 12px #0008}
@media(max-width:1250px){.machine-nav .nav-item{min-width:72px;padding:8px 7px}.topbar{gap:12px}.brand{min-width:235px}.user-chip span{display:none}}
@media(max-width:1000px){.machine-nav{order:3;width:100%;overflow-x:auto}.machine-nav .nav-item{min-width:92px}.live-site-frame{height:380px}}
@media(max-width:560px){.machine-conveyor{left:10%;right:10%}.live-site-frame{height:300px}}
