.play-symbol {
  width: 14px;
  height: 11px;
  border: 1.5px solid;
  border-radius: 4px;
}
.play-symbol::before,
.play-symbol::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.play-symbol::before {
  inset: 3px auto auto 2px;
  width: 4px;
  height: 2px;
}
.play-symbol::after {
  right: 2px;
  top: 3px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
}
.play-page {
  margin-bottom: 32px;
}
.play-page .intro p {
  max-width: 750px;
}
.play-page .section {
  margin-bottom: 0;
}
.activity-tabs,
.play-groups,
.stepper,
.play-sources,
.reward-caption,
.round-tools,
.score-controls,
.tool-head,
.destination-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.activity-tabs {
  border-bottom: 1px solid var(--line);
  margin: 20px 0 15px;
  gap: 3px;
}
.activity-tab {
  padding: 12px 17px;
  font-weight: 730;
  color: var(--muted);
  border-bottom: 3px solid transparent;
}
.activity-tab.active {
  border-color: var(--accent);
  color: var(--deep);
}
.activity-tab:hover,
.play-chip:hover,
.step:hover {
  background: #edf4e9;
}
.activity-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(16px, 2.25vw, 31px);
  margin-top: 12px;
}
.activity-panel h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  line-height: 1.13;
}
.activity-panel h3 {
  font-size: 1.32rem;
  line-height: 1.22;
}
.activity-panel h4 {
  font-size: 1.03rem;
  line-height: 1.3;
}
.play-toolbar {
  padding: 0 2px;
}
.play-toolbar p,
.play-tool > p,
.section-copy,
.travel-scope,
.game-top p,
.extra-notes p,
.clock-result p,
.activity-list dd {
  color: var(--muted);
  line-height: 1.48;
}
.play-toolbar p {
  margin-top: 8px;
}
.play-groups {
  gap: 6px;
}
.play-chip {
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--deep);
  background: white;
  padding: 7px 15px;
  font-weight: 680;
  font-size: 0.92rem;
}
.play-chip.active {
  background: var(--deep);
  border-color: var(--deep);
  color: white;
}
.game-top {
  display: grid;
  grid-template-columns: 88px minmax(180px, 1fr) minmax(165px, 245px);
  align-items: center;
  gap: 17px;
}
.game-shot {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 11px;
  border: 1px solid #95b2a6;
  image-rendering: pixelated;
}
.companion-photo {
  object-fit: contain;
  background: #ecf3e5;
  border: 0;
  padding: 7px;
}
.game-top .overline,
.tool-head .overline {
  display: block;
  margin-bottom: 6px;
}
.game-top p {
  margin: 6px 0 0;
  max-width: 64ch;
}
.play-page .control {
  min-width: 0;
  flex: none;
}
.play-page .control select,
.play-page .control input {
  min-height: 40px;
  max-width: 100%;
  background-color: white;
}
.controls-note,
.guide-note {
  padding: 12px 15px;
  background: #eff5eb;
  border-left: 3px solid #7ba887;
  border-radius: 5px;
  color: #344f4b;
  margin: 18px 0;
}
.controls-note strong {
  margin-right: 12px;
  color: var(--deep);
}
.guide-note .care-mark {
  vertical-align: middle;
  margin-right: 6px;
}
.tool-head {
  justify-content: space-between;
  align-items: center;
  gap: 9px;
}
.tool-head h3 {
  margin: 0;
}
.tool-head .reference-button {
  flex: none;
}
.play-tool {
  border: 1px solid #dce2d5;
  background: #fafbf6;
  border-radius: 12px;
  padding: clamp(13px, 2vw, 21px);
  margin-top: 15px;
}
.play-tool > p,
.section-copy,
.travel-scope {
  margin-top: 8px;
}
.round-tools,
.score-controls {
  gap: 15px;
  margin-top: 14px;
  align-items: end;
}
.row-selector {
  display: flex;
  align-items: end;
  gap: 8px;
}
.stepper {
  gap: 4px;
}
.step {
  height: 40px;
  width: 40px;
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--accent);
}
.answer-box,
.ufo-answer,
.card-answer {
  display: grid;
  gap: 9px;
  margin: 15px 0 10px;
}
.answer-box {
  grid-template-columns: 1.1fr 1fr;
}
.ufo-answer,
.card-answer {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.answer-box > div,
.ufo-answer > div {
  border-radius: 11px;
  background: #e8efe3;
  padding: 13px 16px;
}
.answer-box > div:last-child {
  background: #d7ead7;
}
.answer-box small,
.ufo-answer small,
.card-position small {
  display: block;
  font-size: 0.84rem;
  color: #425c54;
  font-weight: 580;
}
.answer-box strong,
.ufo-answer strong {
  font-family: var(--title);
  font-size: 1.48rem;
  line-height: 1.28;
  display: block;
  margin-top: 4px;
  color: #173f3c;
}
.answer-box strong.feint {
  font-family: var(--body);
  font-size: 1rem;
}
.card-position {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 3px;
  background: #f0f2ee;
  border: 2px solid #d9ddd2;
  border-radius: 10px;
  padding: 9px 4px;
}
.card-position span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 32px;
  background: #a4c3ec;
  border: 2px solid #36568b;
  border-radius: 3px;
  color: white;
  font-size: 1.2rem;
}
.card-position.tama-card {
  border-color: #d29516;
  background: #fff1c5;
}
.card-position.match-card {
  border-color: #168a99;
  background: #d7f4f7;
}
.play-details {
  margin-top: 12px;
  border-top: 1px solid var(--line);
}
.play-details summary {
  padding: 10px 0 4px;
  cursor: pointer;
  font-weight: 680;
  color: var(--accent);
}
.play-table-wrap {
  overflow-x: auto;
  margin: 8px 0;
}
.play-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.92rem;
  text-align: left;
}
.play-table th,
.play-table td {
  padding: 7px;
  border-bottom: 1px solid #dae3d6;
  text-align: left;
}
.play-table thead {
  background: #edf4e8;
  color: var(--deep);
}
.play-table tbody th {
  font-weight: 650;
}
.reward-caption {
  gap: 6px 13px;
  font-size: 0.86rem;
  margin-top: 12px;
}
.reward-caption span {
  white-space: nowrap;
}
.reward-caption span strong {
  color: var(--accent);
  padding-left: 3px;
}
.play-sources {
  justify-content: flex-start;
  font-size: 0.79rem;
  gap: 5px 15px;
  margin-top: 15px;
  color: var(--muted);
}
.play-sources a {
  font-weight: 620;
}
.score-controls input {
  width: 125px;
}
.score-result {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 9px;
  background: #e6f0d8;
  min-height: 41px;
  padding: 7px 12px;
}
.rank-stars {
  color: #82581a;
  white-space: nowrap;
  font-size: 1.04rem;
  letter-spacing: 1px;
}
.time-tool {
  display: grid;
  grid-template-columns: minmax(150px, 215px) 1fr;
  align-items: center;
  gap: 18px;
  background: #f0f4ea;
  border-radius: 12px;
  padding: 16px 19px;
  margin-top: 18px;
}
.time-tool .control input {
  width: 100%;
  font-size: 1.08rem;
}
.time-tool .text-link {
  margin-top: 5px;
}
.clock-result h3 {
  margin: 5px 0;
}
.day-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 17px 0;
}
.period {
  border: 1px solid #dce2dc;
  border-top: 5px solid var(--period);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--paper);
}
.period.current {
  box-shadow: inset 0 0 0 2px var(--deep);
}
.period b,
.period strong,
.period span {
  display: block;
}
.period strong {
  font-size: 0.94rem;
  margin: 4px 0;
}
.period span {
  font-size: 0.87rem;
  color: var(--muted);
}
.period-morning {
  --period: #edacbd;
}
.period-day {
  --period: #e4c55a;
}
.period-evening {
  --period: #af96c6;
}
.period-night {
  --period: #7161a0;
}
.extra-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.extra-notes p {
  margin: 6px 0;
}
.activity-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 15px 0;
}
.activity-list div {
  border: 1px solid #dfe7dc;
  border-radius: 9px;
  padding: 11px;
}
.activity-list dt {
  font-weight: 750;
}
.activity-list dd {
  margin: 4px 0 0;
  font-size: 0.94rem;
}
.destination-bar {
  margin: 16px 0;
  gap: 15px;
  align-items: end;
}
.destination-bar > strong {
  font-size: 0.85rem;
  color: var(--accent);
  padding: 0 0 8px;
}
.travel-scope {
  font-size: 0.91rem;
}
.travel-card {
  display: flex;
  gap: 19px;
  align-items: center;
  background: #f5f7ee;
  padding: 16px;
  border-radius: 12px;
}
.planet-scene-wrap {
  width: 135px;
  flex: none;
  position: relative;
  padding-bottom: 9px;
}
.planet-scene {
  width: 100%;
  display: block;
  border-radius: 8px;
  image-rendering: pixelated;
}
.deco-planet {
  position: absolute;
  width: 49px;
  right: -5px;
  bottom: 0;
  border: 2px solid #e0e7d9;
  border-radius: 50%;
  background: white;
}
.travel-details {
  flex: 1;
  min-width: 0;
}
.travel-inventory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 13px;
}
.travel-inventory h4 {
  margin-bottom: 6px;
}
.souvenir,
.visitor {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 43px;
  font-size: 0.94rem;
}
.souvenir {
  cursor: pointer;
  border-bottom: 1px solid #dce5d9;
}
.souvenir input {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  margin-left: auto;
  flex: none;
}
.item-art {
  width: 39px;
  height: 36px;
  object-fit: contain;
  mix-blend-mode: multiply;
  image-rendering: pixelated;
}
.collection-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 12px;
}
.planet-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.planet-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 15px 12px;
}
.planet-cover {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
  margin: 0 -15px 11px;
  padding: 12px;
  background: var(--planet-tone);
}
.planet-cover > img {
  width: 64px;
  height: 55px;
  object-fit: contain;
  image-rendering: pixelated;
}
.planet-cover img.field-cell {
  width: 32px;
  height: 32px;
}
.planet-card > p {
  font-size: 0.87rem;
  color: var(--muted);
  margin: 6px 0 9px;
}
.planet-families {
  display: grid;
  gap: 4px;
  margin: 9px 0;
}
.planet-branch {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: #f6f7f2;
  border-radius: 6px;
  padding: 5px 8px;
}
.planet-branch img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  image-rendering: pixelated;
}
.planet-branch b,
.planet-branch small {
  display: block;
  line-height: 1.3;
}
.planet-branch b {
  font-size: 0.9rem;
}
.planet-branch small {
  color: var(--muted);
  font-size: 0.82rem;
}
.planet-open {
  display: block;
  text-align: center;
  text-decoration: none;
  margin: 11px 0 6px;
}
@media (max-width: 1040px) and (min-width: 761px) {
  .navigation {
    gap: 2px;
  }
  .navigation a {
    padding: 7px;
  }
  .topbar {
    gap: 12px;
  }
  .navigation .nav-symbol {
    display: none;
  }
}
@media (max-width: 760px) {
  .activity-tabs {
    margin: 12px 0;
    flex-wrap: wrap;
    gap: 0;
  }
  .activity-tab {
    padding: 9px 11px;
    font-size: 0.91rem;
  }
  .activity-panel {
    padding: 14px;
  }
  .play-page .control select,
  .play-page .control input {
    font-size: 16px;
    min-height: 44px;
  }
  .play-chip {
    min-height: 36px;
    padding: 6px 10px;
    font-size: 0.84rem;
  }
  .game-top {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 9px 12px;
  }
  .game-shot {
    width: 62px;
    height: 62px;
  }
  .game-select {
    grid-column: 1/-1;
  }
  .play-page .overline {
    font-size: 0.69rem;
  }
  .answer-box > div,
  .ufo-answer > div {
    padding: 10px;
  }
  .step {
    width: 40px;
    height: 44px;
  }
  .play-sources {
    gap: 5px 10px;
  }
  .day-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .extra-notes,
  .activity-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .time-tool {
    grid-template-columns: 1fr;
    padding: 13px;
    gap: 8px;
  }
  .time-tool > div:first-child {
    display: flex;
    gap: 10px;
    align-items: end;
  }
  .time-tool .text-link {
    min-height: 44px;
  }
  .travel-card {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
  }
  .planet-scene-wrap {
    width: 82px;
  }
  .deco-planet {
    width: 34px;
  }
  .travel-details {
    flex-basis: 230px;
  }
  .planet-routes {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .score-controls,
  .round-tools {
    gap: 8px;
  }
  .score-result {
    flex-grow: 1;
  }
}
@media (max-width: 450px) {
  .navigation {
    justify-content: space-between;
  }
  .navigation a {
    flex: 0 1 auto;
    font-size: 0.78rem;
    gap: 0;
    padding: 8px 3px;
  }
  .play-page .intro h1 {
    font-size: 2.2rem;
  }
  .tool-head {
    align-items: start;
  }
  .play-tool .reference-button {
    padding: 6px 7px;
    font-size: 0.78rem;
  }
  .travel-inventory {
    gap: 10px;
  }
  .item-art {
    width: 26px;
    height: 26px;
  }
  .visitor,
  .souvenir {
    font-size: 0.82rem;
    gap: 5px;
  }
  .answer-box {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }
  .answer-box strong,
  .ufo-answer strong {
    font-size: 1.12rem;
  }
  .answer-box strong.feint {
    font-size: 0.87rem;
  }
  .play-table td,
  .play-table th {
    padding: 5px;
    font-size: 0.83rem;
  }
}

.game-panel > .game-select {
  max-width: 440px;
  margin: 0 0 16px;
}
.game-panel .game-top {
  grid-template-columns: 76px minmax(0, 1fr);
}
.game-panel .game-shot {
  width: 76px;
  height: 76px;
}
.game-controls {
  margin: 10px 0 2px;
}
.game-controls p {
  margin: 0 0 7px;
  max-width: 74ch;
  color: var(--muted);
}
.stepper .step {
  width: auto;
  min-height: 44px;
  min-width: 61px;
  height: auto;
  padding: 8px 10px;
  line-height: 1.2;
  font-size: 0.92rem;
  font-weight: 700;
}
.stepper .step:last-child {
  background: #215e4b;
  color: white;
  border-color: #215e4b;
}
@media (max-width: 760px) {
  .activity-tabs {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 0;
  }
  .activity-tab {
    min-height: 44px;
    padding: 6px 2px;
    font-size: 0.91rem;
  }
  .game-panel .game-top {
    grid-template-columns: 58px minmax(0, 1fr);
  }
  .game-panel .game-shot {
    width: 58px;
    height: 58px;
  }
  .game-panel .round-tools {
    align-items: end;
    gap: 10px;
  }
  .game-panel .row-selector {
    flex-wrap: wrap;
    gap: 5px;
    min-width: 0;
  }
  .game-panel .round-tools .control {
    min-width: 0;
    max-width: 100%;
  }
  .play-page .tool-head .reference-button {
    min-height: 44px;
    font-size: 0.875rem;
  }
  .answer-box small,
  .card-position small,
  .reward-caption,
  .visitor,
  .souvenir {
    font-size: 0.875rem;
  }
}
