@media (max-width: 560px) {
  .mobile-result-card-control {
    position: absolute;
    z-index: 6;
    top: 8px;
    right: 8px;
    display: block;
    width: 36px;
    min-height: 0;
    border: 0;
    padding: 0;
    background: transparent;
  }

  .mobile-result-card-control > span {
    display: none;
  }

  .mobile-result-lock {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    display: grid;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 0;
    background: rgba(18, 15, 13, 0.72);
    color: #fff;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
  }

  .mobile-result-lock.is-locked {
    border-color: #f4d27a;
    background: rgba(244, 210, 122, 0.2);
    color: #ffe7a4;
    box-shadow: inset 0 0 0 2px rgba(244, 210, 122, 0.08);
  }

  .mobile-result-lock b {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .mobile-result-lock span {
    font-size: 0.92rem;
  }

  body.has-mobile-draw-result .mobile-stage-lane .battle-card:has(.mobile-result-card-control) {
    min-height: 128px;
  }

  body.has-mobile-draw-result .combo-results .battle-card:has(.mobile-result-card-control) {
    min-height: 168px;
  }

  body.has-mobile-draw-result .combo-results .battle-card:has(.mobile-result-card-control) .card-art,
  body.has-mobile-draw-result .mobile-stage-lane .battle-card:has(.mobile-result-card-control) .card-art {
    top: 0;
  }

  .mobile-resource-exchange {
    min-height: 56px;
    display: grid;
    gap: 2px;
    place-items: center;
    border: 2px solid color-mix(in srgb, var(--mobile-accent), black 12%);
    border-radius: 13px;
    padding: 9px 16px;
    background: color-mix(in srgb, var(--mobile-accent), white 88%);
    color: color-mix(in srgb, var(--mobile-accent), black 42%);
    font: inherit;
  }

  .mobile-resource-exchange strong {
    font-size: 1rem;
  }

  .mobile-resource-exchange span {
    font-size: 0.7rem;
    font-weight: 850;
  }

  .mobile-result-notice {
    min-height: 20px;
    margin: 0;
    color: color-mix(in srgb, var(--mobile-accent), black 36%);
    font-size: 0.75rem;
    font-weight: 900;
    text-align: center;
  }

  .survival-group-actions {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
  }

  body.has-mobile-draw-result .survival-group-actions > span {
    max-width: 92px;
  }

  .survival-group-actions button {
    min-width: 88px;
    min-height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--mobile-accent), white 48%);
    border-radius: 9px;
    padding: 4px 7px;
    background: color-mix(in srgb, var(--mobile-accent), white 88%);
    color: color-mix(in srgb, var(--mobile-accent), black 34%);
    font: inherit;
  }

  .survival-group-actions button b {
    font-size: 0.68rem;
  }

  .survival-group-actions button small {
    font-size: 0.5rem;
    font-weight: 800;
  }
}

@media (min-width: 561px) {
  .mobile-result-card-control,
  .survival-group-actions button {
    display: none;
  }
}
