/* The Monster Battle lobby, drawn from the Claude Design mockup "Monster Battle lobby" (12 Nov). */
.lob { min-height: 100%; font-family: Rubik, system-ui, sans-serif; color: #eef1ff; background: radial-gradient(1200px 520px at 50% -120px, #1d2a5c 0%, #0a0d1a 70%) #0a0d1a; display: flex; flex-direction: column; overflow: auto; height: 100%; }
.lob .disp { font-family: Bungee, Rubik, sans-serif; letter-spacing: .02em; font-weight: 400; }
.lob-top { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 14px 24px; border-bottom: 1px solid #1f2747; background: rgba(8,10,22,.7); }
.lob-top h1 { margin: 0; font-size: 28px; color: #ffd23a; text-shadow: 0 3px 0 #7a3d00; }
.lob-top .sp { flex: 1; }
.lob-acct { position: relative; }
.lob-me { cursor: pointer; font: inherit; color: inherit; display: flex; align-items: center; gap: 10px; background: #12183a; border: 1px solid #2a3570; border-radius: 999px; padding: 6px 16px 6px 6px; line-height: 1.1; }
.lob-me .av { width: 34px; height: 34px; border-radius: 50%; background: #4f8cff; display: grid; place-items: center; font-weight: 800; }
.lob-me small { display: block; font-size: 13px; color: #a9b3dc; }
.lob-pts { display: flex; align-items: center; gap: 8px; background: linear-gradient(#ffe27a, #ffbf1f); color: #3a2400; border-radius: 999px; padding: 8px 18px; font-weight: 800; font-size: 20px; box-shadow: inset 0 -3px 0 #c78a00; }
.lob-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.lob-nav a { text-decoration: none; color: #eef1ff; background: #1a2250; border: 1px solid #2f3b7a; border-radius: 12px; padding: 10px 16px; font-weight: 700; min-height: 44px; box-sizing: border-box; display: flex; align-items: center; gap: 8px; }
.lob-nav a:hover { background: #222c66; }
.lob-nav .n { background: #ff6b6b; color: #fff; border-radius: 999px; font-size: 13px; padding: 1px 8px; }
.lob-msg { color: #ffb347; text-align: center; font-weight: 700; min-height: 1.4em; padding: 6px 24px 0; }
.lob-wrap { width: 100%; max-width: 1320px; margin: 0 auto; box-sizing: border-box; padding: 14px 24px 28px; display: flex; flex-direction: column; gap: 16px; }
.lob-cols { display: flex; flex-wrap: wrap; gap: 16px; }
.lob-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.lob-side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.lob-panel { background: #10162f; border: 1px solid #222c5c; border-radius: 20px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.lob-panel h2 { margin: 0; font-size: 20px; }
.lob-panel .hd { display: flex; align-items: center; gap: 10px; }
.lob-panel .hd .sp { flex: 1; }
.lob-panel .hd a { color: #ffd23a; font-weight: 700; font-size: 15px; }
.lob-count { background: #1d2756; color: #a9b3dc; border-radius: 999px; padding: 2px 10px; font-size: 14px; font-weight: 700; }
.lob-battle { background: linear-gradient(160deg, #1b2766, #121838 60%); border: 1px solid #2f3b7a; border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.lob-battle h2 { margin: 0; font-size: 26px; }
.lob-seg { display: flex; background: #0c112a; border-radius: 12px; padding: 4px; gap: 4px; }
.lob-seg button { border: 0; border-radius: 9px; padding: 10px 16px; font: 700 15px Rubik, system-ui, sans-serif; min-height: 44px; background: transparent; color: #a9b3dc; cursor: pointer; }
.lob-seg button.on { background: #4f8cff; color: #fff; font-weight: 800; }
.lob-find { width: 100%; border: 0; border-radius: 16px; padding: 22px; font-size: 30px; color: #3a2400; background: linear-gradient(#ffe27a, #ffbf1f); box-shadow: inset 0 -6px 0 #c78a00, 0 10px 30px rgba(255,191,31,.25); cursor: pointer; }
.lob-find:hover { filter: brightness(1.06); } .lob-find:active { box-shadow: inset 0 -2px 0 #c78a00; transform: translateY(2px); }
.lob-searching { display: flex; align-items: center; gap: 14px; justify-content: center; background: #0c112a; border: 2px dashed #ffbf1f; border-radius: 16px; padding: 16px; font-size: 22px; font-weight: 800; color: #ffd23a; }
.lob-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lob-sec { border: 1px solid #3a4890; background: #18205a; color: #eef1ff; border-radius: 14px; padding: 14px; font: 700 17px Rubik, system-ui, sans-serif; min-height: 52px; cursor: pointer; }
.lob-sec:hover { background: #202a6c; }
.lob-code { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.lob-code label { color: #a9b3dc; font-weight: 700; font-size: 15px; }
#lobby .lob-code input { flex: 1; min-width: 120px; width: auto; font-family: Bungee, Rubik, sans-serif; font-size: 22px; letter-spacing: .3em; text-transform: uppercase; background: #0c112a; color: #ffd23a; border: 2px solid #2f3b7a; border-radius: 12px; padding: 10px 14px; }
.lob-blue { border: 0; background: #4f8cff; color: #fff; border-radius: 12px; padding: 12px 22px; font: 800 16px Rubik, system-ui, sans-serif; min-height: 48px; cursor: pointer; }
.lob-bigcode { font-family: Bungee, Rubik, sans-serif; font-size: 48px; letter-spacing: .14em; color: #ffd23a; text-align: center; }
.lob-check { display: flex; align-items: center; gap: 10px; color: #c8cff0; font-size: 15px; }
#lobby .lob-check input { width: 20px; height: 20px; accent-color: #3ddc84; }
.lob-team { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.lob-mon { min-width: 0; background: #161e45; border: 1px solid #2a3570; border-radius: 16px; padding: 10px 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; overflow: hidden; }
.lob-mon .glow { position: absolute; inset: -40% -20% auto; height: 120px; background: radial-gradient(closest-side, var(--tc, #4f8cff), transparent); opacity: .4; }
.lob-mon img.sp, .lob-mon .sp { position: relative; width: 64px; height: 64px; }
.lob-mon b { position: relative; font-size: 15px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lob-mon .tys { flex-wrap: wrap; justify-content: center; }
.lob-mon .tys { position: relative; display: flex; gap: 4px; }
.lob-evo { width: 100%; display: flex; flex-direction: column; gap: 4px; position: relative; }
.lob-evo .l { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 4px; font-size: 12px; color: #a9b3dc; }
.lob-evo .bar { height: 8px; background: #0c112a; border-radius: 99px; overflow: hidden; }
.lob-evo .bar i { display: block; height: 100%; background: #4f8cff; border-radius: 99px; }
.lob-evo.ready .bar i { background: #3ddc84; } .lob-evo.ready .l { color: #3ddc84; font-weight: 700; }
.lob-packs { background: linear-gradient(160deg, #3b1a5c, #1a1236); border: 1px solid #6a3fa8; border-radius: 20px; padding: 18px 20px; display: flex; align-items: center; gap: 18px; text-decoration: none; color: inherit; }
.lob-packs .stack { position: relative; width: 92px; height: 112px; flex: none; }
.lob-packs .stack i { position: absolute; width: 66px; height: 96px; border-radius: 10px; }
.lob-packs .stack .b { left: 14px; top: 6px; background: linear-gradient(160deg, #8a5cf8, #3a1f80); transform: rotate(8deg); box-shadow: 0 6px 16px rgba(0,0,0,.4); }
.lob-packs .stack .f { left: 8px; top: 8px; background: linear-gradient(160deg, #ffd23a, #ff7a3a 55%, #c2185b); box-shadow: 0 8px 18px rgba(0,0,0,.5); display: grid; place-items: center; }
.lob-packs.has .stack .f { animation: lobBob 2.4s ease-in-out infinite; }
.lob-packs.none .stack { opacity: .45; filter: grayscale(.6); }
.lob-packs .n { font-family: Bungee, Rubik, sans-serif; font-size: 34px; color: #ffd23a; line-height: 1; }
.lob-packs .t { font-size: 16px; color: #d8c8ff; font-weight: 700; }
.lob-packs .go { margin-top: 8px; display: inline-block; border-radius: 12px; padding: 12px 18px; font-weight: 800; font-size: 18px; color: #fff; background: linear-gradient(#a874ff, #7a3ff0); box-shadow: inset 0 -4px 0 #4f22b0; }
@keyframes lobBob { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-6px) rotate(-6deg); } }
.lob-p { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid #1d2550; }
.lob-p .dot { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 800; color: #0a0d1a; }
.lob-p .who { flex: 1; min-width: 0; line-height: 1.2; } .lob-p .who b { display: block; font-size: 16px; } .lob-p .who small { font-size: 13px; color: #a9b3dc; }
.lob-p .st { font-size: 13px; color: #ffb347; font-weight: 700; }
.lob-p button { border: 0; background: #4f8cff; color: #fff; border-radius: 10px; padding: 10px 16px; font: 800 15px Rubik, system-ui, sans-serif; min-height: 44px; cursor: pointer; }
.lob-empty { color: #a9b3dc; font-size: 15px; }
.lob-chal { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; background: linear-gradient(90deg, #3a2306, #1a1530); border: 2px solid #ffb347; border-radius: 16px; padding: 12px 18px; animation: lobPulse 2s infinite; }
.lob-chal .who { font-size: 22px; color: #ffb347; }
.lob-chal .sub { color: #ffd9a8; font-size: 15px; }
.lob-chal .sp { flex: 1; }
.lob-chal .tm { display: flex; gap: 6px; flex-wrap: wrap; }
.lob-chal .tm span { border-radius: 999px; padding: 3px 10px; font-size: 13px; font-weight: 700; color: #0a0d1a; background: #c8c8b8; }
.lob-ok { background: #3ddc84; color: #04310f; border: 0; border-radius: 12px; padding: 12px 26px; font: 800 18px Rubik, system-ui, sans-serif; box-shadow: inset 0 -3px 0 #1f9e57; cursor: pointer; }
.lob-no { background: transparent; color: #ffd9a8; border: 1px solid #7a5530; border-radius: 12px; padding: 12px 20px; font: 700 16px Rubik, system-ui, sans-serif; cursor: pointer; }
.lob-out { animation: none; border-color: #4f8cff; background: linear-gradient(90deg, #13204f, #10162f); }
.lob-out .who { color: #9ec0ff; }
@keyframes lobPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,179,71,.55); } 50% { box-shadow: 0 0 0 10px rgba(255,179,71,0); } }
.lob button:disabled { opacity: .45; cursor: default; }
.lob .card { background: #10162f; border-color: #222c5c; border-radius: 20px; }
@media (prefers-reduced-motion: reduce) { .lob-chal, .lob-packs.has .stack .f { animation: none; } }
@media (max-width: 600px) { .lob-top, .lob-wrap { padding-left: 16px; padding-right: 16px; } .lob-top h1 { font-size: 22px; } .lob-find { font-size: 24px; padding: 18px; } .lob-two { grid-template-columns: 1fr; } .lob-team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lob-chal .acts { display: flex; gap: 10px; flex-wrap: nowrap; margin-left: auto; }

.lob-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; background: #12183a; border: 1px solid #2a3570; border-radius: 12px; padding: 6px; min-width: 160px; box-shadow: 0 12px 30px rgba(0,0,0,.45); }
.lob-menu button { width: 100%; background: transparent; border: 0; color: #fff; font: 600 16px/1 Rubik, system-ui, sans-serif; padding: 12px 14px; border-radius: 8px; text-align: left; cursor: pointer; }
.lob-menu button:hover { background: #1b2452; }
