/* 게임방 로비 */
.pmg-games { background: #0a0908; }
.pmg-games .main-area { width: min(1240px, calc(100% - 32px)); padding-top: 0; }
.gl-hero { position: relative; min-height: 360px; display: flex; align-items: flex-end; color: #f3eee4; background: #0a0908 url(/play/img/lobby.webp) center 40% / cover no-repeat; border-bottom: 1px solid rgba(217,178,106,.25); }
.gl-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,7,6,.92) 0%, rgba(8,7,6,.62) 45%, rgba(8,7,6,.2) 100%), linear-gradient(0deg, rgba(10,9,8,1) 0%, rgba(10,9,8,0) 45%); }
.gl-hero .in { position: relative; width: min(1240px, calc(100% - 32px)); margin: 0 auto; padding: 56px 0 34px; display: flex; gap: 28px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
.gl-eyebrow { font-family: "Cinzel", Georgia, serif; letter-spacing: 6px; font-size: 14px; color: #d9b26a; }
.gl-hero h1 { margin: 8px 0 10px; font-size: clamp(34px, 5vw, 56px); line-height: 1.08; letter-spacing: -.02em; font-weight: 800; color: #f6efe0; }
.gl-hero p { margin: 0; max-width: 520px; color: #c9c0ad; font-size: 16px; line-height: 1.65; }
.gl-live { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; background: rgba(0,0,0,.5); border: 1px solid rgba(217,178,106,.35); font-size: 14px; color: #e9e2d2; }
.gl-live i { width: 8px; height: 8px; border-radius: 50%; background: #3fbf7f; box-shadow: 0 0 10px #3fbf7f; }
.gl-wallet { min-width: 300px; padding: 20px 22px; border-radius: 18px; background: rgba(12,11,10,.72); border: 1px solid rgba(217,178,106,.45); backdrop-filter: blur(10px); box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.gl-wallet small { display: block; font-size: 13px; color: #b3aa98; letter-spacing: 1px; }
.gl-wallet b { display: block; margin: 4px 0 12px; font-family: "Oswald", sans-serif; font-weight: 600; font-size: 44px; color: #f1d79a; letter-spacing: .02em; }
.gl-wallet b em { font-style: normal; font-size: 22px; margin-left: 4px; color: #b98a3e; }
.gl-wallet .row { display: flex; gap: 8px; flex-wrap: wrap; }
.gl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 18px; border-radius: 99px; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; border: 1.5px solid rgba(217,178,106,.45); color: #f3eee4; background: linear-gradient(180deg, rgba(40,38,36,.9), rgba(14,14,16,.95)); }
.gl-btn:hover { border-color: #d9b26a; }
.gl-btn.gold { color: #1b1408; border-color: rgba(255,236,190,.7); background: linear-gradient(180deg, #f1d79a, #d6ae62 45%, #a87d36); }
.gl-tabs { display: flex; gap: 6px; margin: 30px 0 18px; flex-wrap: wrap; }
.gl-tabs button { height: 42px; padding: 0 20px; border-radius: 99px; border: 1px solid rgba(217,178,106,.3); background: rgba(255,255,255,.03); color: #d8cfbd; font-weight: 700; font-size: 15px; cursor: pointer; }
.gl-tabs button.on { background: linear-gradient(180deg, #f1d79a, #c9a052); color: #1b1408; border-color: transparent; }
.gl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.gl-card { position: relative; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #14120f; border: 1px solid rgba(217,178,106,.22); color: #f3eee4; text-decoration: none; transition: transform .18s, border-color .18s, box-shadow .18s; }
.gl-card:hover { transform: translateY(-4px); border-color: rgba(217,178,106,.75); box-shadow: 0 18px 40px rgba(0,0,0,.55); }
.gl-card .ph { position: relative; aspect-ratio: 4 / 3; background: #0d0c0b center / cover no-repeat; }
.gl-card .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,18,15,1) 0%, rgba(20,18,15,0) 55%); }
.gl-card .tag { position: absolute; z-index: 1; left: 12px; top: 12px; padding: 4px 10px; border-radius: 99px; background: rgba(0,0,0,.65); border: 1px solid rgba(217,178,106,.5); font-size: 12px; color: #f1d79a; font-weight: 700; }
.gl-card .now { position: absolute; z-index: 1; right: 12px; top: 12px; padding: 4px 10px; border-radius: 99px; background: rgba(0,0,0,.65); font-size: 12px; color: #c8f0d8; display: none; }
.gl-card .now.on { display: block; }
.gl-card .bd { position: relative; padding: 0 18px 18px; margin-top: -40px; z-index: 1; }
.gl-card h3 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: #f6efe0; }
.gl-card h3 small { font-size: 13px; color: #b3aa98; font-weight: 600; margin-left: 6px; }
.gl-card p { margin: 6px 0 14px; font-size: 14px; color: #b9b09e; line-height: 1.55; min-height: 43px; }
.gl-card .go { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 99px; background: linear-gradient(180deg, #f1d79a, #c9a052); color: #1b1408; font-weight: 800; font-size: 14px; }
.gl-side { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 34px 0 10px; }
@media (max-width: 860px) { .gl-side { grid-template-columns: 1fr; } .gl-hero .in { padding-top: 34px; } .gl-wallet { min-width: 0; width: 100%; } }
.gl-box { border-radius: 18px; padding: 20px; background: #14120f; border: 1px solid rgba(217,178,106,.22); color: #e9e2d2; }
.gl-box h2 { margin: 0 0 12px; font-size: 18px; color: #f6efe0; display: flex; justify-content: space-between; align-items: baseline; }
.gl-box h2 small { font-size: 12px; color: #9a917f; font-weight: 600; }
.gl-rank { list-style: none; margin: 0; padding: 0; }
.gl-rank li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.06); }
.gl-rank li:first-child { border-top: 0; }
.gl-rank .n { width: 28px; text-align: center; font-family: "Oswald", sans-serif; font-size: 20px; color: #9a917f; }
.gl-rank li:nth-child(-n+3) .n { color: #f1d79a; }
.gl-rank img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.gl-rank .nm { flex: 1; font-weight: 700; }
.gl-rank .v { font-family: "Oswald", sans-serif; font-size: 18px; color: #9fe3bd; }
.gl-hist td { padding: 7px 4px; border-top: 1px solid rgba(255,255,255,.06); font-size: 14px; }
.gl-hist .p { color: #9fe3bd; } .gl-hist .m { color: #f5a29a; }
.gl-hist .r { text-align: right; font-family: "Oswald", sans-serif; font-size: 16px; }
.gl-empty { color: #9a917f; font-size: 14px; padding: 8px 0; }
.gl-note { margin: 24px 0 40px; font-size: 13px; color: #8a8270; line-height: 1.7; }
.gl-note a { color: #d9b26a; }
@media (max-width: 560px) { .gl-eyebrow { letter-spacing: 3px; font-size: 11px; white-space: nowrap; } .gl-tabs { flex-wrap: nowrap; gap: 5px; } .gl-tabs button { flex: 1 1 0; padding: 0 8px; font-size: 14px; white-space: nowrap; } }
/* 로그인 전 게임 소개 */
.gi-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 34px; align-items: center; margin: 30px 0 10px; padding: 22px; border-radius: 22px; background: #14120f; border: 1px solid rgba(217,178,106,.25); }
.gi-ph { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; background: #0b0a09 center/cover; border: 1px solid rgba(217,178,106,.35); }
.gi-ph .tag { position: absolute; left: 14px; top: 14px; padding: 4px 12px; border-radius: 99px; background: rgba(0,0,0,.65); border: 1px solid rgba(217,178,106,.5); color: #f1d79a; font-size: 13px; font-weight: 700; }
.gi-bd h1 { margin: 10px 0 12px; font-size: clamp(34px, 5vw, 56px); font-weight: 900; letter-spacing: -.03em; color: #f6efe0; line-height: 1.1; }
.gi-bd h1 small { font-size: .38em; font-weight: 700; color: #d9b26a; letter-spacing: 0; }
.gi-bd > p { font-size: 17px; line-height: 1.7; color: #d8cfbd; margin: 0 0 22px; word-break: keep-all; }
.gi-bd .row { display: flex; gap: 10px; flex-wrap: wrap; }
.gi-bd .gi-note { margin: 18px 0 0; font-size: 13px; line-height: 1.6; color: #8f8778; }
@media (max-width: 860px) { .gi-hero { grid-template-columns: 1fr; gap: 20px; padding: 14px; } }
.gi-bd > p.gi-invite { margin: -4px 0 14px; padding: 10px 14px; border-radius: 12px; background: rgba(217,178,106,.14); border: 1px solid rgba(217,178,106,.45); color: #f1d79a; font-weight: 700; font-size: 15px; }
