  /* ============================================================
     PLATFORM TAG — outlined capsule, top-right of the title block
     ============================================================
     Floated out of the title's text flow rather than placed after it,
     so the marker sits in the same spot on every card whether the title
     runs to one line or four, and the title wraps around it.

     line-height:1 keeps the capsule (21px tall) shorter than the title's
     own line box (23.6px on mobile, 26.6px on desktop), so it can never
     add height to the card. Card height, thumbnail, condition rows and
     the Add button are all untouched.

     This replaces the old inline `.tag` line, which appeared only on
     non-conditionRows rows and cost those cards a full line. */
  h4 .platform-tag{
    float:right;
    display:inline-block;
    margin:1px 0 4px 12px;
    padding:4px 10px;
    line-height:1;
    font-family:'Inter',sans-serif;
    font-size:11px;
    font-weight:600;
    letter-spacing:.04em;
    white-space:nowrap;
    /* Long platform names ("Xbox Series X", "Game Boy Color") must never
       take more than they need from the title's first line. */
    max-width:58%;
    overflow:hidden;
    text-overflow:ellipsis;
    color:#5C6259;
    background:var(--white,#fff);
    border:1px solid #DDE2D9;
    border-radius:999px;
    /* Metadata, not a control. No hover, no cursor change, and taps fall
       through to the card underneath so it can never read as a button. */
    pointer-events:none;
    -webkit-user-select:none;
    user-select:none;
  }

  /* Desktop titles are 3px larger, so the capsule steps up with them and
     keeps the same optical relationship to the cap height. */
  @media (min-width:761px){
    h4 .platform-tag{
      font-size:11.5px;
      padding:4px 11px;
      margin-top:2px;
    }
  }

  /* The old inline tag line is no longer emitted by render.js. The rule is
     kept as a no-op guard in case a cached page still contains one. */
  .result-info .tag{display:none;}
