/* Front styles for Game Release Table + Spoiler Guard */
.grt-wrapper{margin:1rem 0;font-family:inherit}
.grt-controls{display:flex;gap:.5rem;align-items:center;margin-bottom:.5rem;flex-wrap:wrap}
.grt-controls input.grt-filter{padding:.4rem .6rem;border:1px solid #ddd;border-radius:.5rem;min-width:220px}
.grt-controls .grt-sort{padding:.4rem .7rem;border-radius:.5rem;border:1px solid #ddd;background:#f8f8f8;cursor:pointer}
.grt-table{width:100%;border-collapse:collapse;font-size:15px}
.grt-table th,.grt-table td{border-bottom:1px solid #eee;padding:.6rem .5rem;text-align:left}
.grt-table tr:hover{background:#fafafa}
/* Spoiler */
.grt-spoiler{margin:1rem 0}
.grt-spoiler-toggle{padding:.5rem .8rem;border:1px solid #ddd;border-radius:.6rem;background:#222;color:#fff;cursor:pointer}
.grt-spoiler-content{margin-top:.6rem;border:1px dashed #ccc;border-radius:.6rem;padding:.6rem;background:#fff}
@media (prefers-reduced-motion:no-preference){
  .grt-spoiler-content{transition:opacity .2s ease}
  .grt-spoiler-content[hidden]{opacity:0}
}
