#ac-felt { overflow-y: auto; overflow-x: hidden; scrollbar-gutter: stable; }
#ac-felt .sol-wrap { --cardw: 72px; --cardh: 100.8px; width: 100%; max-width: 1100px; padding: 14px 20px 24px; box-sizing: border-box; }
#ac-app #ac-top { display: block; margin: 0; }
#ac-app #ac-top, #ac-app #ac-board { background: #1f5a3d; }
#ac-app .ac-scores { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; color: #fbf6ea; }
#ac-app .ac-score { font: 1.6rem/1.2 var(--display); }
#ac-app .ac-small-score { color: #d6e2d5; font-size: 0.76rem; line-height: 1.5; }
#ac-app .ac-sequence-key { color: #c3d5c5; font-size: 0.72rem; line-height: 1.55; margin: 12px 0 4px; }
#ac-app .ac-legal-count { color: #d6e2d5; font-size: 0.72rem; line-height: 1.5; margin: 0 0 6px; }
#ac-app .game-msg { min-height: 2.6em; margin: 4px 0 0; justify-content: flex-start; text-align: left; line-height: 1.45; }
#ac-app #ac-board { display: block; width: 100%; min-height: 0; margin: 0; }
#ac-app .ac-row { margin-top: 14px; }
#ac-app .ac-row-label { color: #c3d5c5; font-size: 0.62rem; letter-spacing: 0.02em; line-height: 1.5; margin: 0 0 8px; overflow-wrap: anywhere; }
#ac-app .ac-row-piles { display: grid; gap: 12px; justify-content: start; align-items: start; }
#ac-app .ac-pile { appearance: none; position: relative; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; width: 72px; min-width: 72px; min-height: 148px; margin: 0; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #f0eedc; text-align: left; font: inherit; font-weight: 400; cursor: pointer; touch-action: manipulation; }
#ac-app .ac-pile:hover { background: transparent; filter: brightness(1.08); }
#ac-app .ac-pile:focus-visible { outline: 3px solid #f3d59f; outline-offset: 5px; }
#ac-app .ac-face { display: block; position: relative; width: 72px; height: 100.8px; border-radius: 5px; background: #fffdf5; outline: 1px solid #ffffff40; box-shadow: 0 2px 5px #0005; }
#ac-app .ac-face .pc { display: block; position: relative; width: 72px; height: 100.8px; min-width: 72px; padding: 0; border-radius: 5px; pointer-events: none; cursor: inherit; }
#ac-app .ac-face .pc svg { width: 72px; height: 100.8px; }
#ac-app .ac-pile-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 0 1px; font-size: 0.7rem; line-height: 1.3; }
#ac-app .ac-pile-count { color: #c3d5c5; font-size: 0.64rem; }
#ac-app .ac-tag { display: block; min-height: 16px; margin-top: 5px; border-radius: 3px; text-align: center; font-size: 0.6rem; font-weight: 700; line-height: 16px; white-space: nowrap; }
#ac-app .ac-selected .ac-face { outline: 3px solid #e5b76a; outline-offset: 3px; }
#ac-app .ac-selected .ac-tag { background: #e5b76a; color: #203a30; }
#ac-app .ac-destination .ac-face { outline: 3px solid #bde6a7; outline-offset: 3px; }
#ac-app .ac-destination .ac-tag { background: #bde6a7; color: #1b3929; }
@media (max-width: 650px) {
  #ac-felt .sol-wrap { padding: 12px 14px 22px; }
  #ac-app .ac-scores { gap: 6px 16px; }
  #ac-app .ac-score { font-size: 1.35rem; }
  #ac-app .ac-small-score { font-size: 0.68rem; }
  #ac-app .ac-sequence-key, #ac-app .ac-legal-count { font-size: 0.68rem; }
  #ac-app .ac-row-label { font-size: 0.58rem; }
}
