/* hazeljs-examples, Mahjong solitaire (ticket 803): the counters, the felt the stacks sit on, the buttons' switches */
.ms-bar { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; font-variant-numeric: tabular-nums; margin: 6px 0; }
.ms-bar #time { font-size: 1.4em; font-weight: 700; }
.ms-wrap { display: flex; justify-content: center; padding: 10px; border-radius: 16px; background: radial-gradient(ellipse at 50% 35%, #1f6e4c, #0f3d2e); box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.35); overflow: hidden; }
.ms-wrap canvas { display: block; max-width: 100%; touch-action: manipulation; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; cursor: pointer; }
.ms-toggle[aria-pressed="false"] { opacity: 0.45; }
.ms-toggle[aria-pressed="true"] { border-color: var(--accent); }
.controls button:disabled { opacity: 0.4; cursor: default; }
/* full screen: the controls on the left (behind ☰ on a landscape screen), the felt filling the rest */
html.oracle-fs .ms-ui { grid-template-columns: minmax(200px, 0.55fr) minmax(0, 3fr); grid-template-rows: auto minmax(0, 1fr); }
html.oracle-fs .ms-ui > .ms-bar { grid-column: 2; grid-row: 1; justify-self: center; margin: 0 0 8px; }
html.oracle-fs .ms-ui > .ms-wrap { grid-column: 2; grid-row: 2; align-self: stretch; min-height: 0; align-items: center; }
html.oracle-fs .ms-ui > .fs-cast { grid-row: 1 / -1; }
@media (orientation: portrait) {
  html.oracle-fs .oracle-ui.ms-ui { display: grid; overflow: hidden; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto minmax(0, 1fr); padding: 8px; }
  /* (0.0.48) ✕ Leave full screen in a row of its own at the top, as every activity has it in one column */
  html.oracle-fs .ms-ui > .fs-bar { grid-column: 1; grid-row: 1; justify-self: end; position: static; margin: 0 0 4px; }
  html.oracle-fs .ms-ui > .fs-left { grid-column: 1; grid-row: 2; align-self: start; overflow: visible; padding: 0; }
  html.oracle-fs .ms-ui .fs-left .status.ok, html.oracle-fs .ms-ui .fs-left #info { display: none; }
  html.oracle-fs .ms-ui > .ms-bar { grid-column: 1; grid-row: 3; }
  html.oracle-fs .ms-ui > .ms-wrap { grid-column: 1; grid-row: 4; }
  html.oracle-fs .ms-ui > .fs-cast { grid-column: 1; }
}
