/* Shared look for the Tag and Assassin geogames (matches the Adventure Games hub) */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh; color: #fff;
}
a { color: #ff6b6b; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; flex-wrap: wrap; }
.topbar h1 { font-size: 1.6rem; background: linear-gradient(135deg, #e94560, #ff6b6b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.topbar .back { color: #a0a0a0; text-decoration: none; font-size: .9rem; }
.topbar .back:hover { color: #fff; }
.layout { display: grid; grid-template-columns: 300px 1fr 320px; gap: 12px; padding: 0 12px 12px; min-height: calc(100vh - 60px); }
@media (max-width: 1000px) { .layout { grid-template-columns: 1fr; } #map { min-height: 55vh; } }
.panel { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 14px; overflow-y: auto; }
.panel h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: #e94560; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid rgba(233,69,96,0.3); }
.panel h2 + .sub { color: #a0a0a0; font-size: .85rem; margin: -6px 0 10px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: .75rem; color: #a0a0a0; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
input[type=text], select { width: 100%; padding: 8px 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.15); background: rgba(0,0,0,0.3); color: #fff; font-size: .95rem; }
input[type=range] { width: 100%; }
.btn { display: inline-block; padding: 8px 14px; border-radius: 8px; border: none; cursor: pointer; font-weight: 600; font-size: .9rem; color: #fff; background: linear-gradient(135deg, #e94560, #c73650); transition: transform .1s, opacity .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.btn.secondary { background: rgba(255,255,255,0.12); }
.btn.small { padding: 5px 10px; font-size: .8rem; }
.btn.wide { width: 100%; margin-bottom: 8px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.compass { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-bottom: 8px; }
.compass button { padding: 10px 0; border-radius: 8px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.08); color: #fff; cursor: pointer; font-weight: 600; }
.compass button.active { background: #e94560; border-color: #e94560; }
.compass .stop { background: rgba(0,0,0,0.35); }
.stat { display: flex; justify-content: space-between; font-size: .9rem; padding: 4px 0; border-bottom: 1px dashed rgba(255,255,255,0.08); }
.stat b { color: #f5c542; }
#map { border-radius: 12px; min-height: 480px; border: 1px solid rgba(255,255,255,0.1); }
.list { list-style: none; }
.list li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.07); font-size: .9rem; }
.list li .meta { color: #a0a0a0; font-size: .8rem; }
.list li.me { color: #f5c542; }
.badge { display: inline-block; padding: 2px 7px; border-radius: 999px; font-size: .7rem; font-weight: 700; text-transform: uppercase; }
.badge.it { background: #e94560; }
.badge.bot { background: rgba(255,255,255,0.15); }
.badge.dead { background: #444; color: #aaa; }
.badge.armed { background: #2e8b57; }
.feed { font-size: .82rem; color: #ccc; }
.feed div { padding: 4px 0; border-bottom: 1px dashed rgba(255,255,255,0.08); }
.feed .t { color: #777; font-size: .75rem; }
.empty { color: #777; font-size: .85rem; font-style: italic; padding: 6px 0; }
.hint { color: #a0a0a0; font-size: .8rem; line-height: 1.4; margin-top: 8px; }
.big { font-size: 1.4rem; font-weight: 700; color: #f5c542; }
.mode { display: flex; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,0.15); margin-bottom: 12px; }
.mode button { flex: 1; padding: 7px; border: none; background: transparent; color: #a0a0a0; cursor: pointer; font-weight: 600; }
.mode button.active { background: #e94560; color: #fff; }
#toast { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 2000; display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.toast { padding: 10px 18px; border-radius: 8px; background: rgba(20,20,40,0.95); border: 1px solid rgba(255,255,255,0.15); font-weight: 600; box-shadow: 0 6px 20px rgba(0,0,0,0.4); }
.toast-success { border-color: #2e8b57; } .toast-error { border-color: #e94560; }
/* map pins */
.gg-pin { width: 18px; height: 18px; border-radius: 50% 50% 50% 0; background: #9aa; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.5); transform-origin: center; }
.gg-me { background: #3b82f6; }
.gg-it { background: #e94560; animation: pulse 1s infinite; }
.gg-bot { background: #777; border-style: dashed; }
.gg-weapon { background: #2e8b57; border-radius: 3px; }
.gg-target { background: #f5c542; animation: pulse 1s infinite; }
.gg-dead { background: #333; opacity: .5; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(233,69,96,0.6);} 50% { box-shadow: 0 0 0 8px rgba(233,69,96,0);} }
.leaflet-container { background: #0b1020; }

.gg-red { background: #e94560 !important; } .gg-blue { background: #3b82f6 !important; } .gg-gold { background: #f5c542 !important; }
.gg-flag { width: 18px; height: 18px; border-radius: 3px 3px 3px 0; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.5); }
.badge.red { background: #e94560; } .badge.blue { background: #3b82f6; }
.qbox { background: rgba(0,0,0,0.35); border: 1px solid rgba(245,197,66,0.5); border-radius: 12px; padding: 14px; margin: 10px 0; }
.qbox .q { font-weight: 600; margin-bottom: 10px; }
.qbox button { display: block; width: 100%; text-align: left; margin-bottom: 6px; }
.timer { font-variant-numeric: tabular-nums; }
