/* Lamma LIVE v0.7: social icons, authenticated coach drawer, visible bottom message strip.
   Additive layer only; no changes to scoring, Google or invitation permissions. */
.live-header-social {display:inline-flex!important;align-items:center;gap:30px!important;padding:0 7px!important;flex:0 0 auto;direction:ltr}
.live-header-social .social-link {display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;box-sizing:border-box;padding:5px!important;border-radius:11px!important;box-shadow:0 1px 9px #0004;border:1px solid #9c83bc80;background:#1c2044!important;transition:transform .12s ease,border-color .12s ease}
.live-header-social .social-link:hover,.live-header-social .social-link:focus-visible {transform:translateY(-2px);border-color:#fce0a0;outline:2px solid #d49dff;outline-offset:2px}
.live-header-social .social-link svg {width:25px;height:25px;display:block;flex:none}
.live-header-social .social-instagram {background:linear-gradient(135deg,#5c32be 5%,#d32c80 53%,#ffae3e 100%)!important}
.site-identity {flex:0 0 auto;min-width:0}
.site-header {gap:12px!important}
.site-header .header-links {min-width:0;gap:10px}
.sr-only{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}
/* The header trophy is the ONLY coach opener on /host; it provides no visible hint text. */
.coach-trophy {font-family:inherit;cursor:pointer;color:#ffdda1;line-height:1;flex:none}
.coach-trophy:focus-visible {outline:2px solid #d49dff;outline-offset:3px}
.coach-trophy[aria-expanded="true"]{border-color:#ffe1a0;box-shadow:0 0 0 2px #ffe1a047,0 6px 20px #6e37ac33}
#coach-screen-dim[hidden],#host-coach-drawer[hidden],#coach-note-form[hidden] {display:none!important}
.coach-screen-dim {position:fixed;inset:0;background:#06091ccb;z-index:390;backdrop-filter:blur(3px)}
body[data-role="host"] .page-stage #host-coach-drawer {position:fixed!important;z-index:400!important;inset:58px 12px 10px auto;width:min(465px,calc(100vw - 24px));height:calc(100dvh - 68px)!important;max-height:calc(100dvh - 68px);margin:0;display:block;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin;box-shadow:0 24px 90px #000a,0 0 0 1px #d6a3ff33;border:1px solid #a37ad4;border-radius:17px}
body[data-role="host"] #host-coach-drawer>.panel-heading {position:sticky;top:0;background:#231d42;z-index:1;min-height:52px;justify-content:space-between;gap:7px}
.coach-close {font:inherit;background:#3a2c59;color:#fff;border:1px solid #876da7;border-radius:9px;width:35px;height:34px;cursor:pointer;flex:none}
.coach-close:hover,.coach-close:focus-visible {background:#67418d}
body.coach-drawer-open {overflow:hidden!important}
/* Remove the old persistent coach column while keeping the leaderboard on the left. */
@media(min-width:1050px){
 body[data-role="host"] .page-stage>.content-grid {grid-template-columns:220px minmax(0,1fr)!important;grid-template-areas:none!important}
 body[data-role="host"] .app-shell {grid-template-rows:44px 98px minmax(0,1fr) auto 82px}
}
@media(min-width:701px) and (max-width:1049px){
 body[data-role="host"] .page-stage>.content-grid {grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"game" "ranking"!important}
 body[data-role="host"] .page-stage .game-center {grid-area:game}
 body[data-role="host"] .page-stage .leaderboard-panel {grid-area:ranking}
}
/* The notice area is permanent. Host has an authenticated editor; players see read-only messages. */
.footer.glass.app-footer .public-notice {display:flex;align-items:center;flex:1 1 auto;min-width:0;padding:6px 10px;white-space:normal;max-height:none;overflow:hidden;line-height:1.4}
#public-notice-text {overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}
.footer.glass.app-footer .public-notice-kind {font-size:11px;white-space:nowrap;flex:none}
body[data-role="host"] .footer.glass.app-footer {min-height:78px;height:82px;padding:5px 10px;display:flex;flex-wrap:wrap;justify-content:space-between;align-content:center;gap:4px;overflow:hidden}
body[data-role="host"] .footer-status-and-compose {display:flex;align-items:center;flex:1 1 100%;gap:9px;min-width:0}
body[data-role="host"] .footer-status-and-compose .live-indicator {flex:none}
body[data-role="host"] #coach-note-form {display:flex;flex:1 1 auto;align-items:center;gap:7px;min-width:0;flex-wrap:nowrap}
body[data-role="host"] #coach-note-form input {min-width:0;flex:1 1 auto;height:33px}
body[data-role="host"] #coach-note-form select {height:33px}
body[data-role="host"] #coach-note-form button {height:33px}
body[data-role="host"] .footer.glass.app-footer .public-notice {flex:1 1 100%;height:29px;box-sizing:border-box}
body[data-role="host"] .footer.glass.app-footer .footer-brand,
body[data-role="host"] .footer.glass.app-footer .footer-middle {display:none}
@media (max-width:1049px){
 .site-header {flex-wrap:wrap;height:auto!important}
 .site-header .header-links {flex-wrap:wrap;justify-content:flex-start}
 .entry-header{flex-wrap:wrap}
 .live-header-social {gap:20px!important}
 body[data-role="host"] .footer.glass.app-footer {height:auto;min-height:86px;flex-wrap:wrap;overflow:visible}
 body[data-role="host"] #coach-note-form {flex-wrap:wrap}
 body[data-role="host"] #coach-note-form input {flex:1 1 100%}
 body[data-role="host"] .footer.glass.app-footer .public-notice {height:auto;min-height:32px}
}
@media (max-width:550px){
 .site-identity{flex-wrap:wrap;row-gap:5px}
 .site-identity .live-header-social{gap:18px!important}
 .site-header .header-links{gap:4px;flex-wrap:wrap}
 .live-header-social .social-link{width:32px;height:32px}
 .live-header-social .social-link svg{width:23px;height:23px}
 body[data-role="host"] .page-stage #host-coach-drawer {inset:8px 8px 8px auto;width:calc(100vw - 16px);height:calc(100dvh - 16px)!important;max-height:calc(100dvh - 16px)}
 body[data-role="guest"] .footer.glass.app-footer{flex-wrap:wrap;height:auto;min-height:54px;overflow:visible}
 body[data-role="guest"] .footer.glass.app-footer .public-notice{flex:1 1 100%;white-space:normal}
}
