/* 웹 버전 전용: 로그인 화면 · 저장 중지 알림 · 순위표 */
html.gated #top, html.gated main { visibility: hidden }
#gate { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at top, #1c2233, #0d1018 70%); padding: 16px }
#gate[hidden] { display: none }
#gate .gbox { width: 100%; max-width: 360px; background: var(--p1); border: 1px solid var(--bd2); border-radius: 10px; padding: 28px 26px; box-shadow: 0 20px 60px #0008 }
#gate .gbrand { font-size: 22px; letter-spacing: .5px; text-align: center; margin-bottom: 6px }
#gate .gbrand b { color: var(--ac) }
#gate .gsub { color: var(--mu); text-align: center; font-size: 13px; line-height: 1.6; margin: 0 0 18px }
#gate .gsub b { color: var(--tx) }
#gate form { display: flex; flex-direction: column; gap: 6px }
#gate label { font-size: 12px; color: var(--mu); margin-top: 4px }
#gate input { padding: 10px 11px; font-size: 15px }
#gate button { padding: 10px; font-size: 14px; margin-top: 6px }
#gate .gerr { min-height: 18px; color: var(--dn); font-size: 12.5px; margin-top: 4px }
#gate .gnote { color: var(--mu2); font-size: 11.5px; text-align: center; margin: 16px 0 0; line-height: 1.6 }
#lockBar { position: fixed; left: 50%; top: 56px; transform: translateX(-50%); z-index: 9000; background: #3a2a10; border: 1px solid var(--warn); color: #ffe3a3; border-radius: 8px; padding: 12px 16px; display: flex; gap: 14px; align-items: center; font-size: 13px; line-height: 1.6; box-shadow: 0 10px 30px #0008; max-width: 92vw }
#meBtn { white-space: nowrap; max-width: 160px; overflow: hidden; text-overflow: ellipsis }
table.rank td.r, table.rank th.r { text-align: right; font-family: var(--mono) }
table.rank td { font-size: 13px; padding: 9px 8px }
table.rank td.rk { font-size: 16px; text-align: center; width: 44px }
table.rank tr.me td { background: #1a2540 }
.rpos { display: inline-block; padding: 0 5px; border-radius: 3px; font-size: 11px; background: var(--p3) }
.rpos.up { color: var(--up) } .rpos.dn { color: var(--dn) }
#v-rank .bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px }
#v-rank .bar .sp { flex: 1 }
.rk-acc { display: none; font-size: 11px }
@media (max-width: 820px) {
  /* 폰: 순위 · 닉네임(+계정) · 수익률 · 손익 · 포지션만 */
  table.rank th:nth-child(3), table.rank td:nth-child(3), table.rank th:nth-child(6), table.rank td:nth-child(6),
  table.rank th:nth-child(7), table.rank td:nth-child(7), table.rank th:nth-child(9), table.rank td:nth-child(9) { display: none }
  .rk-acc { display: block }
  table.rank td { padding: 8px 5px; white-space: normal }
  table.rank td.rk { width: 30px }
  #lockBar { flex-direction: column; top: auto; bottom: 70px }
}
