/* SmilhY Dice v5.9: ONE ROW header + responsive premium giveaway.
   Isolated visual changes; Dice and wallet JS are untouched. */
@media(min-width:1281px){
  /* Wider page composition is necessary for a truly one-line, readable premium bar. */
  .app-shell{width:min(94vw,1970px)!important;}

  .site-header{display:flex!important;flex-direction:row!important;align-items:center!important;
    flex-wrap:nowrap!important;min-height:70px!important;height:70px!important;
    max-height:70px!important;grid-template-columns:none!important;grid-template-rows:none!important;
    gap:clamp(5px,.52vw,12px)!important;padding:0 clamp(10px,1vw,20px)!important;}
  .site-header .brand{grid-column:auto!important;grid-row:auto!important;flex:0 0 auto!important;
    white-space:nowrap!important;margin:0!important;font-size:clamp(17px,1.40vw,25px)!important;gap:6px!important;}
  .site-header .brand-icon.brand-logo{width:clamp(29px,2.45vw,43px)!important;height:clamp(29px,2.45vw,43px)!important;}
  .site-header .desktop-nav{grid-column:auto!important;grid-row:auto!important;align-self:center!important;
    display:flex!important;justify-content:flex-start!important;align-items:center!important;min-width:0!important;
    flex:1 1 auto!important;width:auto!important;margin:0!important;gap:0!important;white-space:nowrap!important;overflow:visible!important;}
  .site-header .desktop-nav .nav-link{padding:7px clamp(3px,.38vw,8px)!important;gap:clamp(3px,.25vw,6px)!important;
    flex-shrink:1!important;font-size:clamp(9px,.62vw,12px)!important;line-height:1.2!important;}
  .site-header .desktop-nav .ui-nav-ico{width:clamp(16px,1.38vw,24px)!important;height:clamp(16px,1.38vw,24px)!important;}
  .site-header .header-toolcluster{grid-column:auto!important;grid-row:auto!important;align-self:center!important;
    display:flex!important;flex:0 0 auto!important;margin-left:auto!important;margin-right:0!important;
    width:auto!important;padding:0!important;gap:clamp(3px,.34vw,8px)!important;
    border-top:none!important;justify-content:flex-end!important;}
  .site-header .header-toolcluster .community-header-actions,.site-header .header-toolcluster .header-actions{
    gap:clamp(3px,.34vw,8px)!important;}
  .site-header .header-toolcluster .community-header-btn{height:40px!important;min-height:40px!important;max-height:40px!important;
    min-width:0!important;padding:0 clamp(5px,.52vw,11px)!important;gap:3px!important;}
  .site-header .header-toolcluster .community-btn-label{font-size:clamp(9px,.56vw,12px)!important;}
  .site-header .header-toolcluster .community-btn-ico,.site-header .header-toolcluster .community-btn-ico img{width:20px!important;height:20px!important;}
  .site-header .header-toolcluster #deposit-button{min-width:clamp(64px,5.5vw,95px)!important;max-height:40px!important;
    min-height:40px!important;height:40px!important;padding:0 7px!important;font-size:11px!important;}
  .site-header .header-toolcluster .wallet-switcher .wallet-trigger{height:40px!important;min-height:40px!important;
    max-height:40px!important;width:clamp(128px,11vw,172px)!important;min-width:0!important;padding:0 7px!important;gap:5px!important;}
  .site-header .header-toolcluster .wallet-coin{width:24px!important;height:24px!important;flex-basis:24px!important;}
  .site-header .header-toolcluster #account-button,.site-header .header-toolcluster #signup-button{height:40px!important;
    min-height:40px!important;max-height:40px!important;min-width:0!important;padding:0 9px!important;font-size:10px!important;}
  .site-header .header-toolcluster .notification-btn{height:40px!important;width:40px!important;min-height:40px!important;min-width:40px!important;}
  .site-header .header-toolcluster .mobile-menu-button{display:none!important;}
  .guest-community-row{display:flex!important;gap:8px!important;justify-content:center!important;align-items:center!important;
    background:linear-gradient(180deg,rgba(10,22,48,.94),rgba(7,15,33,.96));border-bottom:1px solid #5073b02b;padding:7px 12px;}
  .guest-community-row:has(.public-stats-strip[hidden]){display:none!important;}
  .guest-community-row>.community-compact-actions{display:none!important;}
  .guest-community-row>.public-stats-strip:not([hidden]){display:flex!important;gap:8px;justify-content:center;align-items:center;}
}
/* When the page is narrow, use the existing mobile navigation rather than
   squeezing unreadable labels or letting the header form a second row. */
@media(min-width:901px) and (max-width:1280px){
  .site-header{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
    grid-template-columns:none!important;grid-template-rows:none!important;height:64px!important;min-height:64px!important;gap:8px!important;padding:0 15px!important;}
  .site-header .desktop-nav{display:none!important;}
  .site-header .brand{grid-column:auto!important;grid-row:auto!important;}
  .site-header .header-toolcluster{width:auto!important;grid-column:auto!important;grid-row:auto!important;
    display:flex!important;align-items:center!important;margin-left:auto!important;justify-content:flex-end!important;
    border:0!important;padding:0!important;}
  .site-header .header-toolcluster .community-header-actions{display:none!important;}
  .site-header .header-toolcluster .desktop-only{display:none!important;}
  .site-header .header-toolcluster .mobile-menu-button{display:grid!important;place-items:center!important;
    width:44px;height:44px;border:1px solid #477abb82;border-radius:12px;background:#162549;color:#fff;}
  .guest-community-row>.community-compact-actions{display:flex!important;}
  .guest-community-row:has(.public-stats-strip[hidden]){display:none!important;}
}
/* Clear guidance when player posts during the 2-minute confirm window. */
#lc-window .sm-gw-confirm:not(:disabled){cursor:pointer;}
#lc-window .sm-gw-confirm:focus-visible{outline:2px solid #7affdc;outline-offset:3px;}
#lc-window .sm-gw-status{line-height:1.4;overflow-wrap:anywhere;}
