/* Orbit Letters: the playfield is all canvas; this only holds the safe-area probe. */
/* Safe-area probe (main.js reads its padding): the HUD row and the ring keep clear of notches. */
.ol-safe {
  position: absolute; left: 0; top: 0; width: 0; height: 0; visibility: hidden; pointer-events: none;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
}
.ol-more, .ol-words button {
  appearance: none; cursor: pointer; background: #F6F3EC; color: #17171C;
  border: 2px solid #94928E; border-radius: 24px; min-width: 44px; min-height: 44px;
  font: 700 14px/1 var(--f-ui);
}
.ol-more { position: absolute; z-index: 3; padding: 0 8px; }
.ol-more[hidden] { display: none; }
.ol-more:focus-visible, .ol-words button:focus-visible {
  outline: 2px solid #17171C; outline-offset: 3px;
}
.ol-words {
  box-sizing: border-box; margin: auto auto max(12px, env(safe-area-inset-bottom, 0px));
  width: min( calc(100% - 24px), 480px );
  max-height: calc(100dvh - 100px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  padding: 20px; border: 2px solid #94928E; border-radius: 24px;
  background: #F6F3EC; color: #17171C; overflow-y: auto;
  touch-action: pan-y; overscroll-behavior: contain;
}
.ol-words::backdrop { background: #245361; }
.ol-words header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ol-words h2 { margin: 0; font: 800 24px/1.2 var(--f-display); }
.ol-words button { flex: 0 0 44px; font-size: 28px; }
.ol-words ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 20px 0 0; list-style: none; }
.ol-words li {
  background: #7FC8C0; border: 2px solid #598C86; border-radius: 20px; padding: 8px 12px;
  font: 700 15px/1.2 var(--f-ui);
}
