/* ITBI RADIO v11.1.8 · full mobile layout overhaul; independent of studio hooks */
.gr117-feature-section,.gr117-mobile-dock{display:none}
@media(max-width:767px){
html{scroll-padding-top:12px}
body{background:#070608!important;color:#fff!important;overflow-x:clip;padding-bottom:calc(78px + env(safe-area-inset-bottom))!important}
body::before{opacity:.16!important}
body .gr7-top{display:flex!important;position:relative!important;align-items:center!important;flex-wrap:nowrap!important;gap:6px!important;min-height:63px!important;width:calc(100% - 24px)!important;margin:8px auto 0!important;padding:8px 8px 8px 12px!important;background:#0c080de6!important;border:0!important;border-radius:14px!important}
body .gr7-top::before{content:'▥';display:grid;place-items:center;color:#ff3053;font-size:28px;font-weight:900;margin-right:4px;flex:0 0 25px}
body .gr7-top strong{order:1!important;max-width:calc(100% - 90px)!important;font-size:clamp(19px,5.9vw,28px)!important;letter-spacing:-.045em!important;white-space:nowrap!important;color:#fff!important;line-height:1.1}
body .gr7-top strong span{color:#ff3659!important}
body .gr72-brandline{display:none!important}
body .gr7-top>a{display:none!important}
body .gr7-top .navtools{order:3!important;margin-left:auto!important;display:flex;align-items:center;gap:6px}
body .gr7-top #clock{display:none!important}
body .gr7-top #theme{width:42px;height:42px;min-width:42px;display:grid;place-items:center;background:#20151d!important;color:white!important;border-radius:12px;border:1px solid #ffffff25}
body .gr7-top .gr117-brand-subtitle{position:absolute;left:41px;bottom:0;transform:translateY(-3px);font-size:8px;letter-spacing:.18em;color:#bfc0c8;white-space:nowrap}
body main{display:flex!important;flex-direction:column!important;gap:13px!important;max-width:100%!important;min-width:0!important;padding:5px 12px 90px!important;margin:0 auto!important}
body main>*{box-sizing:border-box;max-width:100%;min-width:0;flex:0 0 auto}
body main>.gr7-intro{order:0;display:none!important}
body main>#player{order:1;display:flex!important;flex-direction:column!important;gap:12px!important;min-width:0!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body #player .art{display:flex!important;position:relative!important;overflow:hidden!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:2.45!important;border-radius:21px!important;border:1px solid #e954754f!important;box-shadow:0 7px 28px #0009!important;background:linear-gradient(0deg,#0d050b9e,transparent 70%),url('studio-background.jpg') center/cover!important}
body #player .art .disc,body #player .art .gr7-orbit,body #player .art .gr71-art-grid,body #player .art .gr71-art-top{display:none!important}
body #player .art.has-cover{background:linear-gradient(0deg,#0d050b9e,transparent 70%),url('studio-background.jpg') center/cover!important}
body #player .art .art-label{position:absolute!important;left:16px!important;bottom:14px!important;color:#fff!important;font-weight:900!important;font-size:clamp(19px,5.5vw,27px)!important;text-shadow:0 2px 6px #000!important;line-height:1.15!important}
body #player .art .art-label small{font-weight:600!important;font-size:9px!important;letter-spacing:.09em!important;opacity:.95!important;margin-top:5px!important;color:#fff!important}
body #player .details{width:100%!important;padding:17px 15px 15px!important;background:linear-gradient(135deg,#311119ee,#120f18f5 55%,#120d13)!important;border:1.5px solid #ff365b!important;border-radius:22px!important;box-shadow:0 0 18px #fe285c46,inset 0 0 25px #ff2b5010!important;color:#fff!important;text-align:left!important;display:block!important}
body #player .state{display:inline-flex!important;align-items:center!important;width:auto!important;font-weight:850!important;letter-spacing:.1em!important;background:#3a111fe8!important;border:1px solid #ff456d!important;border-radius:100px!important;color:#ff718a!important;box-shadow:0 0 12px #e91b494f!important;padding:9px 14px!important;font-size:12px!important;margin:0 9px 8px 0!important}
body #player .eyebrow{display:inline-block!important;font-size:11px!important;color:#dac8d1!important;letter-spacing:.07em!important;font-weight:700!important}
body #player h2{font-size:clamp(19px,5.2vw,25px)!important;line-height:1.19!important;margin:8px 0!important;color:#fff!important;overflow-wrap:anywhere!important;font-weight:850!important;letter-spacing:-.03em!important}
body #player #show{font-size:13px!important;line-height:1.4!important;color:#d4c5cb!important;margin:6px 0 12px!important}
body #player .wave{height:54px!important;display:flex!important;gap:2px!important;margin:10px 0 15px!important;max-width:100%!important;overflow:hidden!important}
body #player .wave i{flex:1 1 0;min-width:1px!important;max-width:5px!important;background:#ff385d!important;opacity:1!important}
body #player .wave i:nth-child(n+43){background:#766b75!important}
body #player .buttons{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;padding:0!important;background:none!important;border:0!important;border-radius:0!important;margin:0 0 12px!important}
body #player .buttons button{height:53px!important;min-height:53px!important;max-height:53px!important;font-size:clamp(12px,3.7vw,16px)!important;border-radius:100px!important;padding:9px 12px!important;white-space:nowrap!important;font-weight:800!important}
body #player #listen{background:linear-gradient(175deg,#e52a51,#9a142e)!important;color:#fff!important;border:1px solid #ff6881!important;box-shadow:0 0 14px #ed235548!important}
body #player #stop{background:#382a32!important;color:#fff!important;border:1px solid #ffffff3d!important;min-width:75px!important}
body #player .volume{display:flex!important;align-items:center!important;gap:8px!important;margin:0!important;border:0!important;padding:5px 2px!important;background:transparent!important;border-radius:0!important;min-width:0!important;font-size:12px!important;color:white!important}
body #player .volume input{min-width:20px!important;flex:1!important;width:0!important;accent-color:#ff3159!important}
body #player .volume output{font-size:12px!important;min-width:35px!important;text-align:right}
body #player .gr72-tools,body #player #status,body #player .gr5-mode{margin-top:9px!important}
body #player .gr72-tools{border-radius:12px!important;background:#130d14!important;color:#f4e8ed!important;padding:8px 10px!important}
body #player .gr72-tools summary{font-size:12px!important;color:#e1d7dd!important}
body #player #status{font-size:12px!important;color:#e3d2dc!important}
body main>#gr12-social{order:2!important;width:100%!important;margin:0!important;grid-column:auto!important;grid-row:auto!important;padding:13px 12px!important;border:1px solid #72515f!important;border-radius:19px!important;background:linear-gradient(130deg,#29161eea,#15131ae9)!important}
body #gr12-social .gr12-social-head{margin-bottom:9px!important}
body #gr12-social .gr12-social-head .gr12-eyebrow{display:none!important}
body #gr12-social .gr12-social-head h2{font-size:19px!important;margin:0 0 2px!important;color:#fff!important}
body #gr12-social .gr12-social-head p{font-size:12px!important;color:#d8ccd3!important;margin:0!important}
body #gr12-social .gr12-social-foot{display:none!important}
body #gr12-social.gr116-ticker .gr116-viewport{mask-image:none!important;-webkit-mask-image:none!important}
body #gr12-social.gr116-ticker .gr12-social-card{border-color:#82485880!important;background:#25171f!important;min-width:125px!important;padding:8px 10px!important}
body .gr117-feature-section{display:block!important;order:3;width:100%;padding:14px 12px;border:1px solid #6b576355;border-radius:19px;background:linear-gradient(130deg,#29181fef,#15151be9);box-shadow:0 8px 18px #0003}
body #gr117-discover{order:4}
body .gr117-feature-title{display:flex;align-items:center;gap:10px;margin-bottom:12px}
body .gr117-symbol{font-size:24px;color:#ff3760;line-height:1}
body .gr117-feature-title h2{font-size:19px;color:#fff;margin:0 0 4px;line-height:1.12}
body .gr117-feature-title p{font-size:12px;color:#d5cbd1;margin:0;line-height:1.4}
body .gr117-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
body .gr117-tile{min-width:0;align-self:start;border-radius:13px;overflow:hidden;background:#191018;border:1px solid #aa48677d}
body .gr117-tile summary{cursor:pointer;display:flex;align-items:flex-end;justify-content:space-between;gap:3px;list-style:none;position:relative;min-height:80px;padding:9px 7px;color:white;font-size:11px;font-weight:750;line-height:1.15;background-image:linear-gradient(0deg,#0a060def 0%,transparent 80%),url('studio-background.jpg');background-size:cover}
body .gr117-tile summary::-webkit-details-marker{display:none}
body .gr117-mic summary{background-position:70% 25%}
body .gr117-mixer summary{background-position:60% 90%}
body .gr117-air summary{background-position:100% 40%}
body .gr117-tile p{font-size:11px;line-height:1.45;color:#f1dee6;padding:10px 8px;margin:0}
body .gr117-discover-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
body .gr117-discover-links a{display:flex;flex-direction:column;gap:5px;justify-content:center;align-items:center;min-height:65px;padding:9px 5px;border:1px solid #a74d6377;border-radius:13px;color:#fff!important;text-decoration:none!important;background:#261820;font-size:15px;text-align:center}
body .gr117-discover-links a span{font-size:11px;font-weight:700;line-height:1.3}
body main>.quick{order:6;margin:6px 0!important;justify-content:center}
body main>#sharepanel{order:7}
body main>.info{order:8!important;display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
body main>#gr3,body main>#gr5-public,body main>#gr6,body main>#gr8-live,body main>#gr8-tools,body main>#gr11,body main>#gr5-chat{order:9!important}
body main>.gr5-bottom{display:none!important}
body .gr117-mobile-dock{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;z-index:85;width:100%;padding:6px 6px calc(6px + env(safe-area-inset-bottom));background:#0b090eed;border-top:1px solid #ffffff24;backdrop-filter:blur(12px)}
body .gr117-mobile-dock button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;background:none;border:0;border-radius:12px;min-height:57px;color:#ddd6dc;font-size:25px;padding:5px 0;line-height:1}
body .gr117-mobile-dock button span{font-size:10px;margin-top:5px}
body .gr117-mobile-dock button.is-active{color:#ff3157!important;text-shadow:0 0 12px #ff315744}
body #minibar{bottom:calc(77px + env(safe-area-inset-bottom))!important;max-width:calc(100vw - 20px)!important;left:10px!important;right:10px!important}
body .gr5-chat-launch{display:none!important}
body #gr5-chat[open]{position:relative!important;inset:auto!important;max-height:none!important;overflow:visible!important;width:100%!important;box-shadow:none!important}
body.gr5-chat-open #minibar{display:none!important}
body .gr5-mode button{font-size:11px!important}
body footer{padding-bottom:100px!important}
}
@media(max-width:380px){body #player .art{aspect-ratio:2.1!important}body .gr117-tiles{gap:5px}body .gr117-tile summary{font-size:10px;min-height:67px}body #player .details{padding:13px 11px!important}}
@media(prefers-reduced-motion:reduce){body .gr117-mobile-dock,body .gr117-feature-section{scroll-behavior:auto}}
/* Place any existing feature panels that are not explicitly positioned AFTER the primary mobile experience. */
@media(max-width:767px){body main>*{order:10}body main>.gr7-intro{order:0}body main>#player{order:1}body main>#gr12-social{order:2}body main>#gr117-experience{order:3}body main>#gr117-discover{order:4}body main>.quick{order:6}body main>#sharepanel{order:7}body main>.info{order:8}}
