/* Information first; the main action completes the reading path. */
.nav-account{margin-left:auto;flex-shrink:0}
.cg-home-state>.button{display:flex;width:fit-content;margin-left:auto}
.cg-home-panel .call-form{display:flex;justify-content:flex-start}
.cg-home-panel .call-form .button{width:auto;min-width:210px}
.live-colony[hidden]{display:none}
#colony-join-form{display:flex;justify-content:flex-end}
#colony-join-form[hidden]{display:none}
#colony-join-form .button{width:auto;min-width:210px}
.sync-panel .sync-form{grid-template-columns:minmax(180px,1fr) minmax(280px,1.15fr)}
.sync-panel .sync-form>.button{grid-column:1/-1;justify-self:end;margin-top:8px;min-width:180px}
.rules-page>.button{justify-self:end}
.rule-controls #rule-reveal{margin-right:auto}
.kogane-page>.button,.kogane-card>a.button{justify-self:end}
.kogane-card[data-ready-market] [data-ready-form]{width:100%}
.kogane-card[data-ready-market] [data-ready-form][hidden]{display:none}
.kogane-shop .kogane-reward-card{grid-template-rows:auto auto auto auto 1fr}
.kogane-shop .kogane-form{align-self:end}
.replay-panel .replay-form{display:grid;grid-template-columns:1fr;justify-items:end;margin-left:auto}
.replay-panel .replay-form>.button{justify-self:end}
@media(min-width:1001px){
  .kogane-customs{grid-template-columns:1fr}
  .kogane-card[data-ready-market]{grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);column-gap:48px;align-items:start}
  .kogane-card[data-ready-market]>h3{grid-column:1;grid-row:1}
  .kogane-card[data-ready-market]>[data-ready-status]{grid-column:2;grid-row:1;text-align:right}
  .kogane-card[data-ready-market]>[data-bet-clock]{grid-column:2;grid-row:2;text-align:right}
  .kogane-card[data-ready-market]>.ready-teams{grid-column:1;grid-row:2/6;margin:0}
  .kogane-card[data-ready-market]>.player-ready-panel{grid-column:2;grid-row:3}
  .kogane-card[data-ready-market]>.kogane-form,.kogane-card[data-ready-market]>.kogane-feedback{grid-column:2;grid-row:4}
}
@media(max-width:600px){
  .sync-panel .sync-form{grid-template-columns:1fr}
  .sync-panel .sync-form>.button,.rules-page>.button,.kogane-page>.button{justify-self:stretch}
  .cg-home-panel .call-form .button,#colony-join-form .button,.cg-home-state>.button{width:100%;min-width:0}
  .rule-controls #rule-reveal{flex-basis:100%;text-align:left}
  .replay-panel .replay-form{justify-items:stretch;width:100%}
  .replay-panel .replay-form>.button{justify-self:stretch}
}
