/* 서든어택 전적 검색 */
.gh-sa { --sa-accent: rgb(var(--gh-accent-rgb)); }
.gh-sa-hero { text-align: center; padding: 28px 16px 18px; }
.gh-sa-hero__badge { font-size: 12px; font-weight: 800; letter-spacing: 3px; color: var(--sa-accent); }
.gh-sa-hero__title { font-size: 28px; font-weight: 900; color: rgb(var(--gh-fg-rgb)); margin: 6px 0 18px; }
.gh-sa-search { display: flex; gap: 8px; max-width: 440px; margin: 0 auto; }
.gh-sa-search input { flex: 1; min-width: 0; padding: 13px 16px; border-radius: 12px; border: 1px solid rgba(var(--gh-fg-rgb),.18); background: rgba(var(--gh-fg-rgb),.05); color: rgb(var(--gh-fg-rgb)); font-size: 15px; }
.gh-sa-search button { padding: 13px 26px; border: none; border-radius: 12px; background: var(--sa-accent); color: #fff; font-weight: 800; font-size: 15px; cursor: pointer; }
.gh-sa-nokey { font-size: 13px; color: #d08; margin-top: 14px; }
.gh-sa-dev { font-size: 13px; color: rgba(var(--gh-fg-rgb),.6); margin-top: 16px; }

.gh-sa-pback { max-width: 680px; margin: 18px auto 0; }
.gh-sa-pback a { font-size: 13px; color: rgba(var(--gh-fg-rgb),.6); text-decoration: none; }
.gh-sa-pback a:hover { color: var(--sa-accent); }
.gh-sa--profile { padding-top: 8px; }
.gh-sa-result { max-width: 680px; margin: 16px auto 48px; }
.gh-sa-loading, .gh-sa-empty { text-align: center; padding: 40px 16px; color: rgba(var(--gh-fg-rgb),.6); font-size: 14px; line-height: 1.7; }
.gh-sa-empty--sm { padding: 20px; }

.gh-sa-card { background: rgba(var(--gh-fg-rgb),.04); border: 1px solid rgba(var(--gh-fg-rgb),.1); border-radius: 16px; padding: 22px 24px; margin-bottom: 16px; }
.gh-sa-user { position: relative; }
.gh-sa-refresh { position: absolute; top: 18px; right: 18px; padding: 7px 14px; border-radius: 9px; border: 1px solid rgba(var(--gh-fg-rgb),.18); background: rgba(var(--gh-fg-rgb),.05); color: rgba(var(--gh-fg-rgb),.7); font-size: 12px; font-weight: 700; cursor: pointer; }
.gh-sa-refresh:hover { background: rgba(var(--gh-fg-rgb),.12); color: var(--sa-accent); }
.gh-sa-matchctrl { display: flex; gap: 8px; margin-bottom: 12px; }
.gh-sa-matchctrl select { flex: 1; min-width: 0; padding: 9px 12px; border-radius: 9px; border: 1px solid rgba(var(--gh-fg-rgb),.18); background: rgba(var(--gh-fg-rgb),.05); color: rgb(var(--gh-fg-rgb)); font-size: 13px; font-weight: 600; cursor: pointer; }
.gh-sa-mcount { font-size: 11px; color: rgba(var(--gh-fg-rgb),.5); margin-bottom: 8px; }
.gh-sa-user__name { font-size: 24px; font-weight: 900; color: rgb(var(--gh-fg-rgb)); }
.gh-sa-user__sub { font-size: 13px; color: rgba(var(--gh-fg-rgb),.6); margin-top: 4px; }
.gh-sa-title { color: var(--sa-accent); font-weight: 700; }

.gh-sa-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 18px 0; }
.gh-sa-stat { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 10px; background: rgba(var(--gh-fg-rgb),.04); }
.gh-sa-stat__l { font-size: 12px; color: rgba(var(--gh-fg-rgb),.55); font-weight: 600; }
.gh-sa-stat__v { font-size: 14px; font-weight: 800; color: rgb(var(--gh-fg-rgb)); display: inline-flex; align-items: center; gap: 5px; }
.gh-sa-gimg { height: 20px; width: auto; vertical-align: middle; }

.gh-sa-recent__head { font-size: 13px; font-weight: 800; color: rgb(var(--gh-fg-rgb)); margin-bottom: 10px; }
.gh-sa-recent__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.gh-sa-rstat { text-align: center; padding: 12px 6px; border-radius: 10px; background: rgba(var(--gh-fg-rgb),.04); display: flex; flex-direction: column; gap: 4px; }
.gh-sa-rstat span { font-size: 11px; color: rgba(var(--gh-fg-rgb),.55); }
.gh-sa-rstat b { font-size: 15px; font-weight: 900; color: var(--sa-accent); }

.gh-sa-mhead { font-size: 13px; font-weight: 800; color: rgb(var(--gh-fg-rgb)); margin-bottom: 12px; }
.gh-sa-match { display: grid; grid-template-columns: 38px 1fr auto auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; margin-bottom: 6px; background: rgba(var(--gh-fg-rgb),.04); border-left: 3px solid rgba(var(--gh-fg-rgb),.2); }
.gh-sa-match--win { border-left-color: #4f7cff; }
.gh-sa-match--lose { border-left-color: #ff5a6e; }
.gh-sa-match__res { font-size: 15px; font-weight: 900; text-align: center; color: rgba(var(--gh-fg-rgb),.7); }
.gh-sa-match--win .gh-sa-match__res { color: #4f7cff; }
.gh-sa-match--lose .gh-sa-match__res { color: #ff5a6e; }
.gh-sa-match__mode { font-size: 13px; font-weight: 700; color: rgb(var(--gh-fg-rgb)); }
.gh-sa-match__kda { font-size: 13px; font-weight: 800; color: rgba(var(--gh-fg-rgb),.85); }
.gh-sa-match { cursor: pointer; }
.gh-sa-match__date { font-size: 11px; color: rgba(var(--gh-fg-rgb),.5); }
.gh-sa-more { display: block; width: 100%; margin-top: 8px; padding: 11px; border: 1px solid rgba(var(--gh-fg-rgb),.15); border-radius: 10px; background: rgba(var(--gh-fg-rgb),.04); color: rgba(var(--gh-fg-rgb),.7); font-size: 13px; font-weight: 700; cursor: pointer; }
.gh-sa-more:hover { background: rgba(var(--gh-fg-rgb),.09); }
.gh-sa-mdetail { margin: 0 0 6px; padding: 0 12px; }
.gh-sa-mdetail__loading { padding: 14px; text-align: center; font-size: 12px; color: rgba(var(--gh-fg-rgb),.5); }
.gh-sa-mdetail__map { font-size: 12px; font-weight: 700; color: rgba(var(--gh-fg-rgb),.7); padding: 8px 2px; }
.gh-sa-dtable { width: 100%; border-collapse: collapse; font-size: 12px; }
.gh-sa-dtable th { font-size: 11px; color: rgba(var(--gh-fg-rgb),.5); font-weight: 600; padding: 6px 4px; text-align: center; border-bottom: 1px solid rgba(var(--gh-fg-rgb),.1); }
.gh-sa-dtable td { padding: 6px 4px; text-align: center; color: rgba(var(--gh-fg-rgb),.85); }
.gh-sa-dtable td:first-child { text-align: left; font-weight: 700; color: rgb(var(--gh-fg-rgb)); }
.gh-sa-drow--t1 { background: rgba(79,124,255,.08); }
.gh-sa-drow--t2 { background: rgba(255,90,110,.08); }

@media (max-width: 560px) {
	.gh-sa-recent__grid { grid-template-columns: repeat(3, 1fr); }
	.gh-sa-match { grid-template-columns: 32px 1fr auto; }
	.gh-sa-match__date { display: none; }
}
