* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: #0b0e18; color: #e8ecf5; overflow: hidden;
  font-family: "Consolas", "Menlo", monospace;
}
.hidden { display: none !important; }
.view { position: fixed; inset: 0; }
button { cursor: pointer; font-family: inherit; }

/* ---------------- start screen ---------------- */
#start {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 26px;
  background: radial-gradient(ellipse at 50% 120%, #1a2f4a 0%, #0b0e18 65%);
}
.stars { position: absolute; inset: 0; pointer-events: none;
  background-image:
  radial-gradient(1px 1px at 12% 20%, #fff8, transparent),
  radial-gradient(1px 1px at 78% 12%, #fff6, transparent),
  radial-gradient(1.5px 1.5px at 45% 70%, #fff5, transparent),
  radial-gradient(1px 1px at 90% 55%, #fff7, transparent),
  radial-gradient(1px 1px at 30% 40%, #fff4, transparent),
  radial-gradient(1px 1px at 62% 30%, #fff5, transparent); }
.doors { position: relative; z-index: 2; }
.logo {
  font-size: 84px; letter-spacing: 8px; color: #ffd054;
  text-shadow: 0 4px 0 #7a5a10, 0 8px 24px #000;
}
.tagline { color: #96a0b8; letter-spacing: 2px; }
.doors { display: flex; gap: 30px; margin-top: 20px; }
.door {
  width: 260px; padding: 28px 20px; background: #141826;
  border: 2px solid #2a3048; border-radius: 14px; color: #e8ecf5;
  display: flex; flex-direction: column; gap: 10px; align-items: center;
  transition: transform .12s, border-color .12s;
}
.door:hover { transform: translateY(-4px); border-color: #ffd054; }
.doorIcon { font-size: 44px; }
.doorTitle { font-size: 20px; font-weight: bold; letter-spacing: 3px; }
.doorSub { font-size: 12px; color: #8a94ac; }
.foot { position: absolute; bottom: 48px; color: #566078; font-size: 12px; }
.legalFoot {
  position: absolute; bottom: 16px; z-index: 3;
  color: #566078; font-size: 11px; text-align: center;
}
.legalFoot a { color: #8a94ac; }
.legalLink {
  background: none; border: none; color: #8a94ac; font: inherit;
  text-decoration: underline; padding: 0; cursor: pointer;
}
.legalLink:hover { color: #ffd054; }

/* ---------------- spectator ---------------- */
#map { position: absolute; inset: 0; background: #10131f; cursor: grab; }
#topbar {
  position: absolute; top: 0; left: 0; right: 0; height: 46px;
  display: flex; align-items: center; gap: 18px; padding: 0 16px;
  background: rgba(16, 20, 32, .92); border-bottom: 1px solid #2a3048;
}
.brand { color: #ffd054; font-weight: bold; letter-spacing: 2px; }
.hudItem { color: #c8d0e2; font-size: 14px; }
.hudWeather { display: flex; align-items: center; gap: 2px;
              padding: 2px 8px; border: 1px solid #3a425e; border-radius: 8px; }
.wico { font-size: 16px; line-height: 1; opacity: 0.32; filter: grayscale(.4);
        padding: 1px 3px; transition: opacity .2s, transform .2s, filter .2s; }
.wico.on { opacity: 1; filter: none; transform: scale(1.28);
           text-shadow: 0 0 8px #ffd054; }
.warn { color: #ff5c50 !important; }
.spacer { flex: 1; }
.mini {
  background: #232a40; color: #e8ecf5; border: 1px solid #3a425e;
  border-radius: 7px; padding: 6px 12px; font-size: 12px;
}
.mini:hover { border-color: #ffd054; }
.mini.primary { background: #3a2f14; border-color: #ffd054; color: #ffd054; }
#leader {
  position: absolute; top: 58px; right: 12px; width: 280px;
  background: rgba(16, 20, 32, .9); border: 1px solid #2a3048;
  border-radius: 10px; padding: 10px;
}
#leader h3 { font-size: 12px; color: #8a94ac; letter-spacing: 2px; margin-bottom: 8px; }
.lhead, .lrow {
  display: grid; grid-template-columns: minmax(0, 1fr) 46px 62px;
  gap: 6px; font-size: 12px; padding: 4px 2px; align-items: center;
}
.lhead { color: #8a94ac; font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
         border-bottom: 1px solid #2a3048; margin-bottom: 4px; }
.lhead span:nth-child(2), .lhead span:nth-child(3),
.lrow .pp, .lrow .fund { text-align: right; }
.lrow { border-bottom: 1px solid #1c2233; cursor: pointer; }
.lrow:hover { background: #1a2032; }
.lrow.following { color: #ffd054; background: #2a2414; }
.hudFollowWrap { display: flex; align-items: center; gap: 8px; }
#hudFollow { color: #ffd054; }
.lrow .nm { color: #e8ecf5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lrow .pp { color: #6edc82; }
.lrow .fund { color: #ffd054; }
#minimapWrap {
  position: absolute; left: 12px; top: 58px;
  background: rgba(16, 20, 32, .9); border: 1px solid #2a3048;
  border-radius: 10px; padding: 0; overflow: hidden;
}
#minimap {
  display: block; width: 148px; height: 148px;
  background: transparent; border: none; border-radius: 0;
  cursor: pointer; image-rendering: pixelated;
}
#feed {
  position: absolute; left: 12px; bottom: 12px; width: 460px;
  display: flex; flex-direction: column-reverse; gap: 4px;
  max-height: 40vh; overflow: hidden; pointer-events: none;
}
.feedItem {
  background: rgba(14, 18, 28, .85); border-left: 3px solid #6edc82;
  padding: 5px 9px; font-size: 12px; border-radius: 4px;
  transition: opacity .6s, transform .6s;
}
.feedItem.gone { opacity: 0; transform: translateY(8px); }
#hint { position: absolute; bottom: 12px; right: 14px; color: #4a5468;
        font-size: 11px; pointer-events: none; }
#inspect {
  position: absolute; background: rgba(13, 16, 26, .95);
  border: 1px solid #6ec8ff; border-radius: 9px; padding: 10px 14px;
  font-size: 12px; pointer-events: none; max-width: 300px;
}
#inspect b { color: #6ec8ff; }

/* ---------------- wizard ---------------- */
#wizard { display: flex; align-items: center; justify-content: center;
          background: radial-gradient(ellipse at 50% -20%, #1a2f4a 0%, #0b0e18 65%); }
.wizCard { width: 860px; max-height: 86vh; overflow: auto; background: #12162a;
           border: 1px solid #2a3048; border-radius: 14px; padding: 26px 30px; }
.wizCard h2 { color: #ffd054; margin-bottom: 14px; letter-spacing: 2px; }
.steps { display: flex; gap: 10px; margin-bottom: 16px; }
.step { font-size: 12px; color: #566078; padding: 4px 10px;
        border: 1px solid #2a3048; border-radius: 20px; }
.step.on { color: #ffd054; border-color: #ffd054; }
.step.done { color: #6edc82; border-color: #2f5a3a; }
.wizBody { min-height: 320px; font-size: 13px; line-height: 1.55; }
.wizBody pre { background: #0b0e18; border: 1px solid #232a40; padding: 12px;
               border-radius: 8px; overflow: auto; font-size: 11px;
               margin: 10px 0; white-space: pre-wrap; }
.wizBody input { background: #0b0e18; border: 1px solid #3a425e; color: #e8ecf5;
                 padding: 9px 12px; border-radius: 7px; font-size: 15px;
                 width: 280px; font-family: inherit; }
.wizBody .big { color: #6edc82; font-size: 15px; }
.wizNav { display: flex; justify-content: space-between; margin-top: 16px; }
.keyBox { background: #0b0e18; border: 1px dashed #6edc82; color: #6edc82;
          padding: 10px; border-radius: 8px; font-size: 15px; margin: 8px 0; }
.warnBox { color: #ff5c50; font-size: 12px; }
#pickHint { color: #ffd054; margin: 8px 0; }

/* ---------------- god ---------------- */
.modal { position: fixed; inset: 0; background: rgba(4, 6, 12, .6);
         display: flex; align-items: center; justify-content: center; }
.godCard { width: 520px; background: #1a1420; border: 2px solid #ff5c50;
           border-radius: 12px; padding: 22px; position: relative; }
.godCard h2 { color: #ff5c50; margin-bottom: 14px; }
.godCard input { width: 100%; background: #0b0e18; border: 1px solid #3a425e;
                 color: #e8ecf5; padding: 9px; border-radius: 7px; margin: 8px 0;
                 font-family: inherit; }
.godPowers { display: flex; gap: 8px; margin: 10px 0; }
.godPowers .power.armed { border-color: #ff5c50; color: #ff5c50; }
.godRow { display: flex; gap: 8px; margin: 10px 0; }
#godAgents { max-height: 180px; overflow: auto; }
.grow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
        font-size: 12px; padding: 7px 2px; border-bottom: 1px solid #2a2030; }
.grow .gn { flex: 1 1 90px; color: #e8ecf5; }
.grow .gp { color: #6edc82; }
.grow .gf { color: #ffd054; min-width: 64px; text-align: right; }
.grow .gfund { width: 90px; background: #0b0e18; border: 1px solid #3a425e;
              color: #ffd054; padding: 3px 6px; border-radius: 5px;
              font-family: inherit; font-size: 11px; }
.grow button { background: #3a1420; border: 1px solid #ff5c50; color: #ff9c90;
               border-radius: 5px; padding: 3px 8px; font-size: 11px; }
.grow button.rst { background: #3a2f14; border-color: #ffd054; color: #ffd054; }
.close { position: absolute; top: 12px; right: 12px; }

/* ---------------- leaderboard ---------------- */
.leaderCard { width: 440px; max-height: 70vh; overflow: auto; background: #12162a;
              border: 2px solid #ffd054; border-radius: 12px; padding: 22px; position: relative; }
.leaderCard h2 { color: #ffd054; margin-bottom: 14px; letter-spacing: 2px; }
.leaderTabs { display: flex; gap: 8px; margin-bottom: 14px; }
.leaderTabs .ltab { font-size: 12px; }
.leaderTabs .ltab.active { background: #3a2f14; border-color: #ffd054; color: #ffd054; }
.lbrow { display: flex; justify-content: space-between; align-items: center;
         font-size: 13px; padding: 7px 4px; border-bottom: 1px solid #1c2233; }
.lbrow:hover { background: #1a2032; }
.lbrow .rank { color: #566078; width: 28px; text-align: right; margin-right: 10px; }
.lbrow .nm { flex: 1; color: #e8ecf5; }
.lbrow .stat { width: 80px; text-align: right; font-size: 12px; }
.lbrow .stat.pop { color: #6edc82; }
.lbrow .stat.fund { color: #ffd054; }
.lbrow .stat.land { color: #6ec8ff; }
.lbrow .tier { color: #96a0b8; font-size: 11px; margin-left: 8px; }

.detailCard { width: 860px; max-width: 96vw; max-height: 82vh; overflow: auto;
              background: #12162a; border: 2px solid #6ec8ff; border-radius: 12px;
              padding: 22px; position: relative; }
.detailSplit { display: grid; grid-template-columns: 1fr 280px; gap: 22px;
               align-items: start; }
@media (max-width: 720px) {
  .detailSplit { grid-template-columns: 1fr; }
}
.detailCard h2 { color: #6ec8ff; margin-bottom: 6px; letter-spacing: 2px; }
.detailCard .sub { color: #96a0b8; font-size: 12px; margin-bottom: 14px; }
.dgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 10px 0 16px; }
.drow { display: flex; justify-content: space-between; font-size: 13px;
        padding: 3px 0; border-bottom: 1px solid #1c2233; }
.drow .k { color: #8a94ac; }
.drow .v { color: #e8ecf5; }
.drow .v.good { color: #6edc82; }
.drow .v.bad { color: #ff5c50; }
.drow .v.gold { color: #ffd054; }
.detailCard h3 { color: #8a94ac; font-size: 11px; letter-spacing: 2px; margin: 14px 0 6px; }
.detailWarn { background: #3a1420; border: 1px solid #ff5c50; color: #ff9c90;
              padding: 6px 10px; border-radius: 7px; font-size: 12px; margin: 8px 0; }
.relGrid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-top: 8px; }
.relCol h4 { font-size: 10px; letter-spacing: 1px; margin-bottom: 6px; }
.relCol.f h4 { color: #6edc82; }
.relCol.n h4 { color: #8a94ac; }
.relCol.u h4 { color: #ff5c50; }
.relRow { display: flex; justify-content: space-between; font-size: 11px;
          padding: 2px 0; border-bottom: 1px solid #1c2233; }
.relRow .empty { color: #566078; }
.drow .ico { width: 22px; text-align: center; margin-right: 6px; }
.detailBudget { background: #0b0e18; border: 1px solid #2a3048; border-radius: 10px;
                padding: 12px 14px; }
.detailBudget h3 { margin-top: 0; color: #ffd054; }
.detailBudget .bsec { font-size: 10px; letter-spacing: 1.5px; margin: 10px 0 4px;
                      color: #8a94ac; }
.detailBudget .bsec.in { color: #6edc82; }
.detailBudget .bsec.out { color: #ff9c90; }
.detailBudget .brow { display: flex; justify-content: space-between; gap: 8px;
                      font-size: 11px; padding: 3px 0; border-bottom: 1px solid #1c2233; }
.detailBudget .bk { color: #c8d0e2; flex: 1; }
.detailBudget .bv { white-space: nowrap; }
.detailBudget .bv.good { color: #6edc82; }
.detailBudget .bv.bad { color: #ff5c50; }
.detailBudget .brow.tot { font-weight: bold; border-bottom: none; margin-top: 2px; }
.detailBudget .brow.net { margin-top: 8px; padding-top: 8px;
                          border-top: 1px solid #3a425e; border-bottom: none;
                          font-size: 13px; }
.detailBudget .bnote { color: #566078; font-size: 10px; margin-top: 10px; line-height: 1.4; }
.detailBudget .empty { color: #566078; font-size: 12px; }
#btnCharts { margin: 4px 0 10px; }
.chartsCard { width: 620px; max-height: 82vh; overflow: auto; background: #12162a;
              border: 2px solid #ffd054; border-radius: 12px; padding: 22px;
              position: relative; }
.chartsCard h2 { color: #ffd054; margin-bottom: 6px; letter-spacing: 2px; }
.chartBlock { margin: 12px 0 18px; }
.chartLab { color: #c8d0e2; font-size: 13px; margin-bottom: 6px;
            display: flex; justify-content: space-between; }
.chartLast { color: #ffd054; }
.chartBlock canvas { width: 100%; height: 120px; background: #0b0e18;
                     border: 1px solid #1c2233; border-radius: 6px; }

.legalCard { width: 640px; max-height: 82vh; overflow: auto; background: #12162a;
             border: 1px solid #2a3048; border-radius: 12px; padding: 22px 26px;
             position: relative; }
.legalCard h2 { color: #ffd054; margin-bottom: 12px; letter-spacing: 2px; }
.legalBody { font-size: 13px; line-height: 1.55; color: #c8d0e2; }
.legalBody h3 { color: #e8ecf5; font-size: 14px; margin: 14px 0 6px; }
.legalBody p { margin: 0 0 10px; }
.legalBody a { color: #7ab8ff; }
.cookieBar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
  background: rgba(16, 20, 32, .96); border: 1px solid #2a3048;
  border-radius: 10px; padding: 12px 14px;
  display: flex; gap: 16px; align-items: center; justify-content: space-between;
  font-size: 12px; color: #c8d0e2; line-height: 1.45;
}
.cookieBar p { flex: 1; margin: 0; }
.cookieBar a, .cookieBar .legalLink { color: #c8d0e2; }
.cookieBtns { display: flex; gap: 8px; flex-shrink: 0; }
#hudWatch { color: #ffd054; }
.mini.on { background: #3a2f14; border-color: #ffd054; color: #ffd054; }

#spec.watchOn #feed { display: none !important; }
#spec.watchOn #hint { opacity: 0.25; }
.news {
  position: absolute; left: 48px; right: 340px; bottom: 44px;
  max-width: 720px; z-index: 8; pointer-events: none;
  color: #f2f4fa; font-family: inherit;
  filter: drop-shadow(0 10px 24px #000a);
  animation: newsIn .35s ease-out;
}
@keyframes newsIn {
  from { transform: translateY(18px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.newsBar {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(90deg, #c81e1e 0%, #7a1010 40%, #1a1420 100%);
  padding: 4px 12px 4px 8px; border-radius: 4px 4px 0 0;
  letter-spacing: 2px; font-size: 11px; font-weight: bold;
}
.newsLive {
  display: flex; align-items: center; gap: 6px;
  background: #fff; color: #b01010; padding: 2px 8px; border-radius: 2px;
}
.newsDot {
  width: 7px; height: 7px; border-radius: 50%; background: #e02020;
  animation: livePulse 1s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; } 50% { opacity: 0.25; }
}
.newsDesk { color: #ffd0d0; }
.newsRow {
  display: flex; align-items: stretch; gap: 0;
  background: linear-gradient(180deg, rgba(12,16,28,.94), rgba(8,10,18,.92));
  border: 1px solid #2a3048; border-top: none;
  border-radius: 0 0 8px 8px; overflow: hidden; min-height: 88px;
}
.newsViz {
  width: 92px; flex-shrink: 0; display: flex; align-items: center;
  justify-content: center; background: #0b0e18; position: relative;
  overflow: hidden;
}
.newsCopy { flex: 1; padding: 10px 14px 12px; min-width: 0; }
.newsKicker {
  font-size: 10px; letter-spacing: 2px; color: #ffd054; margin-bottom: 4px;
}
.newsHead { font-size: 18px; font-weight: bold; line-height: 1.15; }
.newsSub {
  margin-top: 6px; font-size: 12px; color: #c8d0e2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.newsSide {
  width: 132px; flex-shrink: 0; padding: 10px 12px;
  background: #10131f; border-left: 1px solid #2a3048;
  display: flex; flex-direction: column; justify-content: center;
}
.wxNow { font-size: 34px; font-weight: bold; color: #fff; line-height: 1; }
.wxMeta { font-size: 11px; color: #8a94ac; margin-top: 4px; }

.news--weather .newsBar { background: linear-gradient(90deg, #1a5a9a, #102038); }
.news--weather .newsLive { color: #1a5a9a; }
.news--crime .newsBar, .news--war .newsBar {
  background: linear-gradient(90deg, #8a1010, #2a1018);
}
.news--fire .newsBar {
  background: linear-gradient(90deg, #c44a10, #3a1808);
}
.news--accident .newsBar {
  background: linear-gradient(90deg, #b8860b, #2a2410);
}
.news--meteor .newsBar, .news--quake .newsBar {
  background: linear-gradient(90deg, #6a20a0, #180828);
}
.news--power .newsBar {
  background: linear-gradient(90deg, #c8a020, #201808);
}
.news--money .newsBar {
  background: linear-gradient(90deg, #2a6a28, #102010);
}
.news--found .newsBar, .news--mile .newsBar, .news--civic .newsBar {
  background: linear-gradient(90deg, #1a6a8a, #102028);
}
.news--pop .newsBar, .news--approval .newsBar {
  background: linear-gradient(90deg, #2a5a38, #102018);
}
.news--tax .newsBar {
  background: linear-gradient(90deg, #8a6a10, #201808);
}
.news--ad .newsBar {
  background: linear-gradient(90deg, #1db954, #102018);
}
.news--ad .newsLive { color: #1db954; }
.news--ad .newsViz { width: 128px; padding: 0; background: #000; }
.gAd { width: 100%; height: 100%; object-fit: cover; display: block; }
.gPop {
  width: 0; height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
}
.gPop.up { border-bottom: 28px solid #6edc82; }
.gPop.down { border-top: 28px solid #ff5c50; border-bottom: 0; }
.gPop.flat {
  width: 32px; height: 6px; border: none; background: #ffd054; border-radius: 3px;
}
.gTax { font-size: 28px; font-weight: bold; color: #ffd054; }
.gApp { font-size: 34px; line-height: 1; }
.gCivic { font-size: 32px; }

.gSun b {
  display: block; width: 36px; height: 36px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff4c8, #ffd054 45%, #ff8a20);
  box-shadow: 0 0 18px #ffd054, 0 0 40px #ff8a2055;
  animation: sunPulse 2.4s ease-in-out infinite;
}
@keyframes sunPulse {
  0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); }
}
.gFair b {
  display: block; width: 28px; height: 28px; border-radius: 50%;
  background: #ffd054; box-shadow: 0 0 12px #ffd05488;
}
.gFair i, .gClouds i {
  position: absolute; width: 38px; height: 16px; border-radius: 16px;
  background: #d8deea; box-shadow: 10px 0 0 #c8d0e2;
}
.gFair i { bottom: 22px; right: 10px; opacity: 0.85; }
.gClouds i { animation: cloudDrift 4s linear infinite; }
.gClouds i:nth-child(2) { top: 36px; opacity: 0.55; animation-duration: 6s; }
@keyframes cloudDrift {
  from { transform: translateX(-8px); } to { transform: translateX(10px); }
}
.gRain, .gStorm { width: 100%; height: 100%; position: relative; background: #152038; }
.gRain i, .gStorm i {
  position: absolute; width: 2px; height: 14px; background: #9ec8ff;
  animation: rainFall .7s linear infinite;
}
.gRain i:nth-child(1) { left: 18px; animation-delay: 0s; }
.gRain i:nth-child(2) { left: 32px; animation-delay: .15s; }
.gRain i:nth-child(3) { left: 46px; animation-delay: .3s; }
.gRain i:nth-child(4) { left: 60px; animation-delay: .08s; }
.gRain i:nth-child(5) { left: 74px; animation-delay: .4s; }
@keyframes rainFall {
  from { top: -10px; opacity: 1; } to { top: 90px; opacity: 0; }
}
.gStorm b {
  position: absolute; left: 38px; top: 18px; width: 4px; height: 40px;
  background: #fff; clip-path: polygon(40% 0, 100% 40%, 55% 40%, 80% 100%, 0 50%, 40% 50%);
  box-shadow: 0 0 12px #fff; animation: bolt 1.1s steps(2) infinite;
}
@keyframes bolt { 0%, 70% { opacity: 0; } 71%, 100% { opacity: 1; } }
.gFire { width: 40px; height: 44px; position: relative; }
.gFire i {
  position: absolute; bottom: 0; width: 14px; height: 28px; border-radius: 50% 50% 20% 20%;
  background: linear-gradient(#ffd054, #ff5c20); animation: flame .5s ease-in-out infinite alternate;
}
.gFire i:nth-child(1) { left: 0; animation-delay: 0s; }
.gFire i:nth-child(2) { left: 12px; height: 36px; animation-delay: .12s; }
.gFire i:nth-child(3) { left: 24px; animation-delay: .24s; }
@keyframes flame { from { transform: scaleY(1); } to { transform: scaleY(1.18) rotate(4deg); } }
.gCrime {
  width: 48px; height: 28px; background: #f2f2f6; border-radius: 4px; position: relative;
}
.gCrime span {
  position: absolute; top: -6px; width: 10px; height: 10px; border-radius: 50%;
  animation: siren .4s linear infinite;
}
.gCrime span:first-child { left: 8px; background: #ff3b3b; }
.gCrime span:last-child { right: 8px; background: #3b6cff; animation-delay: .2s; }
@keyframes siren { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
.gCrash {
  font-size: 32px; color: #ffd054; text-shadow: 0 0 10px #ff5c50;
}
.gMeteor {
  width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #ff9a40 40%, #802000);
  box-shadow: -16px 10px 0 -6px #ffd05488, -28px 18px 18px #ff6a2055;
  animation: mete 1.2s linear infinite;
}
@keyframes mete {
  from { transform: translate(16px, -16px) scale(.6); }
  to { transform: translate(-8px, 14px) scale(1); }
}
.gQuake { font-size: 36px; color: #c8a070; animation: shake .2s infinite; }
@keyframes shake {
  0% { transform: translateX(-2px); } 50% { transform: translateX(2px); }
  100% { transform: translateX(-2px); }
}
.gBolt { font-size: 36px; color: #e8f4ff; text-shadow: 0 0 12px #7ab8ff;
         animation: bolt 1s steps(2) infinite; }
.gPower, .gCash, .gStar, .gFlag, .gWar, .gGhost, .gNote, .gAlert {
  font-size: 32px; line-height: 1;
}
.gCash { color: #6edc82; }
.gStar { color: #ffd054; animation: sunPulse 1.6s ease-in-out infinite; }
.gAlert {
  width: 36px; height: 36px; border-radius: 50%; background: #c81e1e;
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: bold; font-size: 22px;
}
.gWhirl {
  width: 40px; height: 40px; border-radius: 50%;
  border: 3px solid #c8d0e2; border-top-color: transparent;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.gFlood { width: 70px; height: 40px; position: relative; overflow: hidden; }
.gFlood i {
  position: absolute; bottom: 0; left: -20%; width: 140%; height: 14px;
  background: #3a7ec8; border-radius: 40%; opacity: 0.7;
  animation: wave 2s linear infinite;
}
.gFlood i:nth-child(2) { bottom: 8px; opacity: 0.4; animation-duration: 2.6s; }
.gFlood i:nth-child(3) { bottom: 16px; opacity: 0.25; animation-duration: 3.2s; }
@keyframes wave { from { transform: translateX(0); } to { transform: translateX(18px); } }

@media (max-width: 900px) {
  .news { left: 16px; right: 16px; bottom: 36px; }
  .newsSide { display: none; }
}
