#fs-geoguessr { margin: 0 0 28px; }
.fs-geo { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid rgba(0,117,255,.2); background: linear-gradient(180deg,#0f1419,#151b24); box-shadow: 0 12px 40px rgba(0,0,0,.18); color: #e8eef5; }
.fs-geo__toolbar { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; padding: 14px 16px; background: rgba(255,255,255,.03); border-bottom: 1px solid rgba(255,255,255,.06); }
.fs-geo__group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fs-geo__group--modes { flex: 1 1 100%; }
.fs-geo__label { font-size: .78rem; font-weight: 700; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .04em; margin-right: 2px; }
.fs-geo__chip { display: inline-flex; align-items: center; gap: 5px; padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: #e8eef5; font-size: .84rem; cursor: pointer; user-select: none; }
.fs-geo__chip input { accent-color: #0075ff; }
.fs-geo__chip:has(input:checked) { border-color: rgba(0,117,255,.55); background: rgba(0,117,255,.14); }
.fs-geo__maps { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; border-bottom: 1px solid rgba(255,255,255,.06); }
.fs-geo__intro { margin: 12px 16px; padding: 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); }
.fs-geo__intro h3 { margin: 0 0 8px; font-size: 1.1rem; }
.fs-geo__intro p { margin: 0 0 12px; color: rgba(255,255,255,.72); line-height: 1.45; }
.fs-geo__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.fs-geo__btn { padding: 10px 18px; border: none; border-radius: 10px; color: #fff; font-size: .88rem; font-weight: 700; cursor: pointer; transition: transform .15s,opacity .15s; }
.fs-geo__btn--primary { background: linear-gradient(135deg,#0075ff,#005fcc); }
.fs-geo__btn--ghost { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); }
.fs-geo__btn--share { background: rgba(0,200,83,.18); border: 1px solid rgba(0,200,83,.32); }
.fs-geo__btn--reset { background: rgba(255,77,77,.16); border: 1px solid rgba(255,77,77,.28); }
.fs-geo__btn:hover:not(:disabled) { transform: translateY(-1px); }
.fs-geo__btn:disabled { opacity: .45; cursor: not-allowed; }
.fs-geo__stats { display: grid; grid-template-columns: repeat(auto-fit,minmax(110px,1fr)); gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.06); }
.fs-geo__stats > div { padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.04); }
.fs-geo__stats span { display: block; font-size: .72rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .04em; }
.fs-geo__stats strong { display: block; margin-top: 4px; font-size: 1.1rem; }
.fs-geo__board { position: relative; min-height: 420px; background: #0a0d12; }
.fs-geo__scene { position: relative; width: 100%; min-height: 420px; aspect-ratio: 16 / 9; background: #11161d; overflow: hidden; }
.fs-geo__scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.35)); pointer-events: none; }
.fs-geo__scene img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fs-geo__scene--blur img { filter: blur(var(--fs-blur,18px)) saturate(.7); transform: scale(1.08); }
.fs-geo__hint { position: absolute; left: 16px; bottom: 16px; z-index: 2; max-width: min(420px,calc(100% - 32px)); padding: 10px 14px; border-radius: 10px; background: rgba(0,0,0,.62); border: 1px solid rgba(255,255,255,.1); font-size: .9rem; }
.fs-geo__radar-wrap { position: absolute; top: 14px; right: 14px; z-index: 3; width: min(240px,42vw); border-radius: 12px; overflow: hidden; border: 2px solid rgba(255,255,255,.22); box-shadow: 0 8px 28px rgba(0,0,0,.45); background: #1a222d; }
.fs-geo__radar-head { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; font-size: .78rem; font-weight: 700; background: rgba(0,0,0,.55); }
.fs-geo__radar { position: relative; cursor: crosshair; touch-action: none; }
.fs-geo__radar img { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.fs-geo__pin { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 2px rgba(0,0,0,.35); pointer-events: none; }
.fs-geo__pin--guess { background: #ff5252; }
.fs-geo__pin--correct { background: #00c853; }
.fs-geo__choices { position: absolute; inset: 0; z-index: 4; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 24px; align-content: center; background: rgba(0,0,0,.35); }
.fs-geo__choice { padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); background: rgba(15,20,28,.88); color: #fff; font-size: .95rem; font-weight: 700; cursor: pointer; }
.fs-geo__choice:hover { border-color: rgba(0,117,255,.55); background: rgba(0,117,255,.18); }
.fs-geo__choice--right { border-color: rgba(0,200,83,.7); background: rgba(0,200,83,.2); }
.fs-geo__choice--wrong { border-color: rgba(255,82,82,.7); background: rgba(255,82,82,.18); }
.fs-geo__overlay { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(8,11,16,.72); backdrop-filter: blur(4px); }
.fs-geo__overlay[hidden] { display: none; }
.fs-geo__card { width: min(460px,100%); padding: 24px; border-radius: 16px; background: #151b24; border: 1px solid rgba(255,255,255,.08); text-align: center; }
.fs-geo__card h3 { margin: 0 0 8px; font-size: 1.35rem; }
.fs-geo__card p { margin: 0 0 16px; color: rgba(255,255,255,.72); line-height: 1.5; }
.fs-geo__result { padding: 12px 16px; border-top: 1px solid rgba(255,255,255,.06); display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.fs-geo__result strong { font-size: 1.2rem; color: #7ecbff; }
.fs-geo__history { border-top: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.02); padding-bottom: 4px; }
.fs-geo__history-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 12px 16px 8px; }
.fs-geo__history-head h3 { margin: 0; font-size: 1rem; color: #fff; }
.fs-geo__history-head span { color: rgba(255,255,255,.72); font-size: .82rem; }
.fs-geo__history-body { padding: 0 16px 14px; overflow: auto; }
.fs-geo__history-body table { width: 100%; border-collapse: collapse; min-width: 500px; font-size: .86rem; }
.fs-geo__history-body th, .fs-geo__history-body td { text-align: left; padding: 9px 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
.fs-geo__history-body th { color: rgba(255,255,255,.65); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .74rem; }
.fs-geo__history-body td { color: #e8eef5; }
.fs-geo__history-empty { margin: 0; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,.04); color: rgba(255,255,255,.78); font-size: .86rem; }

/* Theme isolation: body{color:#000} hides text on dark widget */
.entry-content #fs-geoguessr,
.entry-content #fs-geoguessr .fs-geo {
  color: #e8eef5;
}

.entry-content #fs-geoguessr .fs-geo__history-head h3 {
  color: #fff !important;
}

.entry-content #fs-geoguessr .fs-geo__history-head span,
.entry-content #fs-geoguessr .fs-geo__history-empty {
  color: rgba(255, 255, 255, 0.78) !important;
}

.entry-content #fs-geoguessr .fs-geo__history-body table,
.entry-content #fs-geoguessr .fs-geo__history-body th,
.entry-content #fs-geoguessr .fs-geo__history-body td {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.entry-content #fs-geoguessr .fs-geo__history-body th {
  color: rgba(255, 255, 255, 0.65) !important;
}

.entry-content #fs-geoguessr .fs-geo__history-body td {
  color: #e8eef5 !important;
}
.fs-geo__toast { margin: 0; padding: 10px 16px 14px; font-size: .82rem; color: rgba(255,255,255,.55); text-align: center; }
.fs-geo__toast[hidden] { display: none; }

@media (max-width: 720px) {
  .fs-geo__radar-wrap { position: static; width: 100%; border-radius: 0; border-left: none; border-right: none; }
  .fs-geo__scene { min-height: 240px; aspect-ratio: auto; }
  .fs-geo__choices { grid-template-columns: 1fr; padding: 16px; }
  .fs-geo__history-body table { min-width: 100%; }
}
