/* Portrait Wechselwirkung mock. */
body[data-view="tcg-wx"] .canvas {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0.5rem 0.55rem 0.55rem;
}
.view-tcg-wx {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-width: 26rem;
  margin: 0 auto;
  padding: 0;
}
.view-tcg-wx[hidden] { display: none !important; }
.view-tcg-wx .tcg-head { margin: 0 0 0.28rem; }
.wx-hint {
  margin: 0 0 0.45rem;
  color: var(--skin-muted);
  font-size: 0.72rem;
  line-height: 1.35;
}
#wx-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 0;
  overflow: auto;
}
.wx-result {
  padding: 0.7rem 0.8rem 0.75rem;
  border-radius: 0.5rem;
  background: #14161b;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--skin-line) 80%, transparent);
}
.wx-result strong {
  display: block;
  font-size: 1.05rem;
}
.wx-result em {
  display: block;
  margin: 0.12rem 0 0.4rem;
  color: var(--skin-muted);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 650;
}
.wx-result p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
}
.wx-result.is-fire { box-shadow: inset 0 0 0 1px #c23a2b; }
.wx-result.is-earth { box-shadow: inset 0 0 0 1px #9a5a32; }
.wx-result.is-wind { box-shadow: inset 0 0 0 1px #8eb8c4; }
.wx-result.is-water { box-shadow: inset 0 0 0 1px #1e5a8a; }
.wx-result.is-light { box-shadow: inset 0 0 0 1px #d4a017; }
.wx-result.is-shadow { box-shadow: inset 0 0 0 1px #5a3a66; }
.wx-lab {
  margin: 0 0 0.22rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}
.wx-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  margin: 0 0 0.4rem;
}
.wx-chip,
.wx-cell {
  border: 0;
  border-radius: 0.38rem;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.wx-chip {
  padding: 0.28rem 0.48rem;
  background: #14161b;
  font-size: 0.7rem;
  font-weight: 650;
}
.wx-chip.is-on { outline: 2px solid currentColor; }
.wx-chip.is-fire { background: #5a1c16; }
.wx-chip.is-earth { background: #3d2618; }
.wx-chip.is-wind { background: #1c333a; }
.wx-chip.is-water { background: #10263a; }
.wx-chip.is-light { background: #3a2e0c; }
.wx-chip.is-shadow { background: #221828; }
.wx-chip.is-special { opacity: 0.72; }
.wx-grid {
  display: grid;
  grid-template-columns: 2.6rem repeat(4, minmax(0, 1fr));
  gap: 0.2rem;
}
.wx-corner { min-height: 0.7rem; }
.wx-hd {
  display: grid;
  place-items: center;
  min-height: 1.35rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.8;
}
.wx-hd.wx-row { justify-items: start; padding-left: 0.1rem; }
.wx-cell {
  min-height: 2.4rem;
  background: #14161b;
  font-size: 0.62rem;
  font-weight: 700;
}
.wx-cell.is-on { outline: 2px solid #e8e4dc; }
.wx-cell.is-fire { background: #4a1814; }
.wx-cell.is-earth { background: #3a2418; }
.wx-cell.is-wind { background: #183038; }
.wx-cell.is-water { background: #102438; }
@media (min-width: 720px) {
  .view-tcg-wx { max-width: 34rem; }
}
