.sg-card-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 14px; padding: 18px 16px; margin: 0; }
.sg-catalog-card { min-width: 0; position: relative; background: #fff; border: 1px solid #dce5f2; border-radius: 12px; box-shadow: 0 2px 5px #22375a08; }
.sg-card-link { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; padding: 16px 37px 16px 16px; min-height: 88px; color: #142847; text-decoration: none; border-radius: inherit; }
.sg-card-link:hover { background: #f5f8ff; }
.sg-card-link:focus-visible, .sg-detail-tabs a:focus-visible { outline: 2px solid #3659d8; outline-offset: 2px; }
.sg-game-icon { display: block; width: 56px; height: 56px; object-fit: cover; flex-shrink: 0; border-radius: 12px; background: #e8edf5; }
.sg-card-link > .sg-game-icon, .sg-card-link > .wb-game-mark { grid-row: 1 / 3; width: 52px; height: 52px; }
.sg-card-name { grid-column: 2; grid-row: 1; font-weight: 700; font-size: 15px; line-height: 1.35; align-self: end; overflow-wrap: anywhere; }
.sg-card-link > .sg-status { grid-column: 2; grid-row: 2; justify-self: start; align-self: start; }
.sg-card-arrow { grid-column: 3; grid-row: 1 / 3; color: #61729a; }
.sg-card-arrow svg { width: 14px; height: 14px; }
.sg-catalog-card > .wb-pin { position: absolute; top: 8px; right: 8px; }
.sg-status { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 6px; white-space: nowrap; font-size: 12px; line-height: 1.45; font-weight: 700; color: #a12d3d; background: #fcebed; }
.sg-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sg-status.is-ok { color: #17664f; background: #e2f3eb; }
.sg-game-head { flex-wrap: wrap; }
.sg-game-head h1 { font-size: clamp(20px, 3vw, 30px); margin: 0; overflow-wrap: anywhere; }
.sg-game-head .wb-game-copy { flex: 1; min-width: 0; }
.sg-detail-tabs { display: flex; gap: 18px; border-bottom: 1px solid #dce5f2; margin: 15px 0; }
.sg-detail-tabs a { padding: 11px 4px 9px; color: #536685; font-weight: 600; border-bottom: 2px solid transparent; text-decoration: none; }
.sg-detail-tabs a[aria-current] { color: #2446bd; border-color: #3659d8; }
.sg-runtime-grid { display: grid; gap: 14px; }
.sg-panel { padding: 0; overflow: hidden; }
.sg-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid #e6edf6; }
.sg-panel-head h2 { font-size: 17px; margin: 0; }
.sg-panel-head p, .sg-rule-list p { margin: 5px 0 0; color: #5c6d86; font-size: 13px; }
.sg-runtime-fields { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 145px),1fr)); gap: 16px 24px; padding: 18px; margin: 0; }
.sg-runtime-fields dt { margin-bottom: 5px; color: #5c6d86; font-size: 12px; }
.sg-runtime-fields dd { margin: 0; color: #142847; font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }
.sg-rule-list { list-style: none; margin: 0; padding: 0 18px; }
.sg-rule-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0; }
.sg-rule-list li + li { border-top: 1px solid #e6edf6; }
.sg-rule-state { flex: none; color: #536685; background: #edf1f8; border-radius: 6px; padding: 4px 8px; font-size: 12px; font-weight: 600; }
.sg-rule-state.is-enabled { color: #17664f; background: #e2f3eb; }
@media (max-width: 500px) {
  .sg-card-grid { padding: 12px; }
  .sg-game-head .sg-game-icon { width: 44px; height: 44px; border-radius: 9px; }
  .sg-runtime-fields { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .sg-panel-head, .sg-runtime-fields { padding: 13px; }
  .sg-rule-list { padding: 0 13px; }
}
