@media (max-width: 760px) {
  :root {
    background: #ffffff;
  }

  main {
    width: 100%;
    padding: 0 0 20px;
  }

  .comparison,
  .comparison tbody {
    display: block;
    width: 100%;
  }

  .comparison colgroup,
  .comparison thead {
    display: none;
  }

  .comparison tbody > tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 30px;
    padding-bottom: 28px;
    border-bottom: 1px solid #dce5df;
  }

  .comparison tbody > tr:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .comparison td {
    display: block;
    min-width: 0;
  }

  .comparison .character-cell:first-child {
    grid-area: 1 / 1;
  }

  .comparison .character-cell:last-child {
    grid-area: 2 / 1;
  }

  .comparison .character-cell {
    padding: 16px;
    border: 1px solid #dce5df;
    border-radius: 14px;
    background: #f5f8f5;
  }

  .comparison .character-cell:last-child {
    border-color: #e7dfd2;
    background: #faf7f1;
  }

  .character-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 84px;
    gap: 10px 12px;
    align-items: center;
    position: relative;
    padding-top: 18px;
  }

  .character-panel::before {
    content: attr(data-team) " 队";
    position: absolute;
    top: 0;
    left: 0;
    color: var(--accent);
    font-size: 14px;
    font-weight: 650;
    line-height: 1;
    letter-spacing: .08em;
  }

  .character-button {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-height: 128px;
    padding: 6px 3px;
    touch-action: manipulation;
  }

  .character-name {
    font-size: 22px;
    line-height: 1.5;
    letter-spacing: 1px;
    text-align: left;
  }

  .portrait-window {
    flex: 0 0 66px;
    width: 66px;
    max-width: 66px;
    height: 116px;
    margin: 0;
    border-radius: 28px 28px 10px 10px;
  }

  .character-button[aria-pressed="true"] {
    outline: 2px solid var(--accent);
    outline-offset: 0;
  }

  .character-button[aria-pressed="true"]::after {
    display: none;
  }

  .tool-button {
    width: 84px;
    min-height: 76px;
    margin: 0;
    padding: 8px 4px;
    align-self: center;
    border: 1px solid #d7dfd7;
    border-radius: 10px;
    background: #ffffff;
    touch-action: manipulation;
  }

  .tool-illustration {
    height: 56px;
  }

  .ability-copy {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    margin: 2px 0 0;
    padding: 0;
    text-align: left;
  }

  .ability-copy strong {
    margin-bottom: 7px;
    font-size: 18px;
    line-height: 1.55;
  }

  .ability-copy p {
    font-size: 18px;
    line-height: 1.8;
    overflow-wrap: anywhere;
    text-wrap: pretty;
  }

  .comparison .puzzle-cell {
    grid-area: 3 / 1;
    padding: 16px 0 0;
    border: 0;
    background: #ffffff;
    scroll-margin-top: 24px;
  }

  .module-host,
  .truth-module,
  .joint-shell,
  .pins-demo {
    width: 100%;
    min-width: 0;
  }

  .truth-speakers {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .truth-speaker {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 5px 12px;
    align-items: start;
    padding: 14px 12px;
    border-radius: 10px;
    box-shadow: 0 2px 0 #dfd4bd;
  }

  .truth-person {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .truth-face-svg {
    width: 100%;
    height: 78px;
  }

  .truth-speaker-label {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-start;
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
  }

  .truth-verdict {
    font-size: 15px;
  }

  .truth-prose {
    grid-column: 1 / -1;
    grid-row: 3;
    min-height: 0;
    margin: 7px 0 0;
    font-size: 18px;
    line-height: 1.8;
    text-align: left;
  }

  .truth-word-grid {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    max-width: 240px;
    margin: 0;
  }

  .truth-cell {
    font-size: 18px;
  }

  .truth-collected {
    gap: 8px;
    margin-top: 22px;
  }

  .truth-collected span {
    width: 78px;
    font-size: 18px;
  }

  .truth-result-stage {
    height: 132px;
    margin-top: 22px;
  }

  .truth-candidates {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .truth-candidate {
    width: 100%;
    min-width: 0;
    height: 50px;
    gap: 4px;
    padding: 7px 4px;
    font-size: 16px !important;
  }

  .truth-candidate svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .truth-candidate i {
    font-size: 14px;
  }

  .truth-slot {
    width: calc((100% - 16px) / 3);
    height: 50px;
  }

  .joint-stage {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .joint-cards {
    padding: 13px 6px 20px;
  }

  .joint-card {
    height: 100px;
  }

  .joint-symbol-grid {
    width: calc(100% - 6px);
    height: calc(100% - 8px);
    gap: 1px;
    font-size: 18px;
  }

  .pins-stage {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .pins-force {
    top: 8px;
    right: 8px;
    gap: 4px;
    padding: 7px 6px;
  }

  .pins-force-cell {
    width: 19px;
  }
}
