html[data-app-access="locked"] body > :not(#app-access-gate):not(script):not(noscript) { visibility: hidden !important; pointer-events: none !important; }
#app-access-gate { display: none; }
html[data-app-access="locked"] #app-access-gate { position: fixed; inset: 0; display: grid; place-content: center; padding: 24px; background: #f7f5fb; color: #1e293b; z-index: 100000; font: 16px/1.6 system-ui,sans-serif; text-align: center; }
#app-access-gate h1 { font-size: 30px; margin-bottom: 12px; }
#app-access-gate button, #app-access-gate a { display: inline-block; margin: 6px; padding: 12px 18px; border-radius: 12px; border: 1px solid #6832c8; background: white; color: #5625ad; font-weight: 700; }
.challenge-editor-status { padding: 12px 16px; margin: 12px 0; border-radius: 12px; background: #f1edff; font: 600 14px/1.6 system-ui,sans-serif; }
.challenge-editor-status[data-error="true"] { color: #9f1239; background: #fff1f2; }
.challenge-editor-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 12px; margin-top: 18px; }
.challenge-editor-item { padding: 16px; border: 1px solid #ddd5ef; border-radius: 16px; background: white; }
.challenge-editor-item strong { display: block; margin-bottom: 5px; }
.challenge-editor-item p { font-size: 13px; line-height: 1.5; }
.challenge-editor-item button { padding: 8px 12px; border-radius: 8px; border: 1px solid #d7c7f4; margin: 8px 6px 0 0; font-weight: 700; }
.challenge-editor-marker { display: grid; place-content: center; min-width: 44px; height: 44px; padding: 0 7px; background: #7135ce; color: white; border: 3px solid white; border-radius: 50% 50% 50% 4px; box-shadow: 0 3px 9px #0005; font: 800 13px system-ui,sans-serif; }
.challenge-editor-marker[data-active="false"] { background: #6b7280; }
.challenge-editor-marker[data-type="poi"] { background: #0f766e; }
#map-modal { z-index: 1200; }
#map-modal-content { max-height: 90dvh; overflow-y: auto; }
#map-modal-content label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 4px; }
#point-editor-note { font-size: 12px; line-height: 1.6; color: #64748b; }
#point-description-label { margin-top: 8px; }
.proof-choice-row { display: flex; gap: 10px; margin: 12px 0; flex-wrap: wrap; }
.proof-choice-row button { flex: 1; min-width: 120px; border: 1px solid #d8c3f8; padding: 12px; border-radius: 12px; font-weight: 700; background: #f6f0ff; }
.proof-social-consent { display: flex; align-items: flex-start; gap: 9px; padding: 12px 0; font-size: 13px; line-height: 1.5; }
.proof-social-consent input { margin-top: 4px; width: 20px; height: 20px; flex: 0 0 20px; }
.challenge-completed-label { display: inline-block; padding: 5px 10px; margin: 4px 18px 8px; border-radius: 999px; background: #e4f4d2; color: #254b16; font-size: 12px; font-weight: 800; }
#admin-map { min-height: 440px; }
#formGpxPreview { height: 260px; border-radius: 14px; overflow: hidden; }
@media (max-width: 600px) { #admin-map { min-height: 400px; height: 55dvh; } #map-modal { padding: 10px; } }
