#game .game-head {
  padding: clamp(8px, 1.5vw, 16px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}
.game-head-main { display: flex; align-items: center; gap: 12px; min-width: 0; }
#remaining { text-align: center; }
.board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1.5vw, 18px);
}
.board-category {
  display: grid;
  grid-template: repeat(3, minmax(48px, 1fr)) / minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 4px;
  min-width: 0;
  min-height: clamp(156px, 17vw, 227px);
}
.board-category header {
  position: relative;
  isolation: isolate;
  grid-area: 1 / 2 / 4 / 3;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: radial-gradient(ellipse at 50% 25%, var(--tile-color), #152023);
  text-align: center;
}
.board-category .tile-visual {
  min-height: 0;
  padding: 21px 8px 5px;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  overflow: hidden;
  color: #eff6e8;
}
.board-category .tile-visual img { width: 100%; height: 100%; max-height: 138px; }
.board-category .tile-visual svg { width: 38px; height: 38px; }
.board-category h2 {
  padding: 5px 3px;
  background: #d3fa75;
  color: #192515;
  font-size: clamp(.62rem, 1.2vw, .96rem);
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.board-pack {
  position: absolute;
  inset: 4px 4px auto;
  margin-inline: auto;
  width: max-content;
  max-width: 100%;
  padding: 1px 5px;
  border-radius: 5px;
  background: #111918e6;
  color: #e9f3e6;
  font-size: .63rem;
}
.point-grid { display: contents; }
.board-category .point { padding-inline: 0; font-family: var(--english); }
.board-category .point:nth-child(odd) { grid-column: 1; border-start-start-radius: 23px; border-end-start-radius: 23px; }
.board-category .point:nth-child(even) { grid-column: 3; border-start-end-radius: 23px; border-end-end-radius: 23px; }
.board-category .point:nth-child(-n+2) { grid-row: 1; }
.board-category .point:nth-child(n+3):nth-child(-n+4) { grid-row: 2; }
.board-category .point:nth-child(n+5) { grid-row: 3; }
#score-area { margin-top: 12px; }
#score-area :is(.scoreboard, .solo-scoreboard) { margin-bottom: 0; }
@media (max-width: 850px) {
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  #game .game-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .game-head-main { grid-column: 1 / -1; justify-content: space-between; }
  #remaining { text-align: start; }
  .board-category { min-height: 140px; grid-template-rows: repeat(3, minmax(44px, 1fr)); gap: 3px; }
  .board-category .tile-visual { padding-inline: 3px; }
  .board-category .point { font-size: .9rem; }
}
@media (max-width: 365px) {
  .board { grid-template-columns: minmax(0, 1fr); }
  .board-category h2 { font-size: .8rem; }
}
