.kbg-pub-wrap{width:min(920px,calc(100% - 32px));margin:48px auto 80px}.kbg-pub-head{text-align:center;margin-bottom:28px}.kbg-pub-head>span,.kbg-pub-kicker{color:#ff2027;font-size:10px;font-weight:900;letter-spacing:.12em}.kbg-pub-head h1{margin:8px 0 10px;font-size:clamp(34px,6vw,58px);line-height:1}.kbg-pub-head p{max-width:680px;margin:0 auto;color:#9aa4b1}.kbg-pub-gate,.kbg-pub-form,.kbg-pub-success{max-width:760px;margin:0 auto;padding:28px;border:1px solid #29323c;border-radius:22px;background:#11161b}.kbg-pub-gate{text-align:center;max-width:520px}.kbg-pub-shield{width:58px;height:58px;margin:0 auto 14px;border-radius:50%;display:grid;place-items:center;background:#17251d;border:1px solid #2c6c41;color:#55d782;font-size:28px}.kbg-pub-gate h2{margin:7px 0 8px}.kbg-pub-gate p{color:#9aa4b1}.kbg-pub-gate form{margin-top:20px}.kbg-pub-gate label{display:block;text-align:left;font-weight:800}.kbg-pub-gate input,.kbg-pub-form input,.kbg-pub-form textarea{width:100%;margin-top:8px;border:1px solid #343e49;border-radius:11px;background:#090d11;color:#fff;padding:12px 13px;font:inherit}.kbg-pub-gate button,.kbg-pub-submit{width:100%;min-height:48px;margin-top:14px;border:0;border-radius:11px;background:#ff2027;color:#fff;font-weight:950;cursor:pointer}.kbg-pub-error{margin:14px 0;padding:10px;border-radius:9px;background:#341216;color:#ffabb0}.kbg-pub-types{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:0 auto 18px}.kbg-pub-types a{padding:9px 13px;border:1px solid #303a45;border-radius:999px;font-size:11px;font-weight:800}.kbg-pub-types a.active{background:#ff2027;border-color:#ff2027;color:#fff}.kbg-pub-form label{display:block;margin-bottom:16px}.kbg-pub-form label>span{display:block;font-size:11px;font-weight:900;letter-spacing:.04em}.kbg-pub-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.kbg-pub-kind{display:flex;gap:10px;margin:0 0 16px}.kbg-pub-kind label{display:flex;align-items:center;gap:7px;margin:0;padding:10px 12px;border:1px solid #303a45;border-radius:10px}.kbg-pub-kind input{width:auto;margin:0}.kbg-pub-file small{display:block;margin-top:6px;color:#8f99a5}.kbg-pub-note{padding:12px 14px;border-radius:10px;background:#0b1116;color:#aeb7c1;font-size:13px}.kbg-pub-success{text-align:center;border-color:#2d6f43}.kbg-pub-success strong{font-size:24px;color:#65da89}.kbg-pub-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}.kbg-pub-submit{font-size:12px;letter-spacing:.05em}html[data-kbg-theme="light"] .kbg-pub-gate,html[data-kbg-theme="light"] .kbg-pub-form,html[data-kbg-theme="light"] .kbg-pub-success{background:#fff;border-color:#dce2e8}html[data-kbg-theme="light"] .kbg-pub-gate input,html[data-kbg-theme="light"] .kbg-pub-form input,html[data-kbg-theme="light"] .kbg-pub-form textarea{background:#f7f8fa;border-color:#d8dee5;color:#151515}html[data-kbg-theme="light"] .kbg-pub-head p{color:#65707c}@media(max-width:680px){.kbg-pub-wrap{width:calc(100% - 18px);margin-top:26px}.kbg-pub-gate,.kbg-pub-form,.kbg-pub-success{padding:18px 14px;border-radius:16px}.kbg-pub-grid{grid-template-columns:1fr}.kbg-pub-types{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:5px}.kbg-pub-types a{white-space:nowrap}.kbg-pub-kind{flex-direction:column}}/* V1.0.1 — reliable, obvious Event / Competition radio controls */
.kbg-pub-kind label{position:relative;cursor:pointer!important;user-select:none;-webkit-tap-highlight-color:transparent;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease,color .15s ease}
.kbg-pub-kind input[type="radio"]{appearance:none!important;-webkit-appearance:none!important;display:inline-grid!important;place-content:center!important;width:19px!important;height:19px!important;min-width:19px!important;margin:0!important;padding:0!important;border:2px solid #657286!important;border-radius:50%!important;background:#090d11!important;box-shadow:none!important;cursor:pointer!important}
.kbg-pub-kind input[type="radio"]::before{content:"";width:9px;height:9px;border-radius:50%;transform:scale(0);transition:transform .12s ease;background:#fff}
.kbg-pub-kind input[type="radio"]:checked{border-color:#e11d2e!important;background:#e11d2e!important}
.kbg-pub-kind input[type="radio"]:checked::before{transform:scale(1)}
.kbg-pub-kind label:has(input[type="radio"]:checked){border-color:#e11d2e!important;background:rgba(225,29,46,.13)!important;color:#fff!important;box-shadow:0 5px 16px rgba(225,29,46,.12)}
.kbg-pub-kind label:focus-within{outline:2px solid rgba(225,29,46,.35);outline-offset:2px}
html[data-kbg-theme="light"] .kbg-pub-kind input[type="radio"]{background:#fff!important}
html[data-kbg-theme="light"] .kbg-pub-kind input[type="radio"]:checked{background:#e11d2e!important}
html[data-kbg-theme="light"] .kbg-pub-kind label:has(input[type="radio"]:checked){color:#111!important;background:#fff1f2!important}
/* V1.1 — club relation selector */
.kbg-pub-form select{width:100%;margin-top:8px;border:1px solid #343e49;border-radius:11px;background:#090d11;color:#fff;padding:12px 13px;font:inherit}
.kbg-pub-club small{display:block;margin-top:7px;color:#8f99a5;font-size:12px;line-height:1.35}
html[data-kbg-theme="light"] .kbg-pub-form select{background:#f7f8fa;border-color:#d8dee5;color:#151515}

/* KBG visible date picker */
.kbg-pub-form input[type=date]{color-scheme:dark!important;color:#fff!important}
.kbg-pub-form input[type=date]::-webkit-calendar-picker-indicator{filter:invert(1) brightness(2)!important;opacity:1!important;cursor:pointer!important}

/* Mobile date field: always-visible calendar icon. */
.kbg-pub-form input[type=date]{
  padding-right:48px!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:right 14px center!important;
  background-size:20px 20px!important;
}
.kbg-pub-form input[type=date]::-webkit-calendar-picker-indicator{opacity:0!important;cursor:pointer!important}
html[data-kbg-theme="light"] .kbg-pub-form input[type=date]{
  color-scheme:light!important;
  color:#151515!important;
  -webkit-text-fill-color:#151515!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23151515' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E")!important;
}

/* Light theme readability + Bulgarian file controls on the public submission form only. */
.kbg-pub-native-file{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;margin:-1px!important;padding:0!important;border:0!important}
.kbg-pub-file-ui{display:flex;align-items:center;gap:10px;width:100%;margin-top:8px;padding:9px 10px;border:1px solid #343e49;border-radius:11px;background:#090d11;color:#fff;min-height:46px}
.kbg-pub-file-button{flex:0 0 auto;border:1px solid #66717d;border-radius:7px;background:#f1f3f5;color:#151515;padding:7px 10px;font:inherit;font-size:13px;line-height:1;cursor:pointer}
.kbg-pub-file-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#d7dde5;font-size:13px}
html[data-kbg-theme="light"] .kbg-pub-form label>span,html[data-kbg-theme="light"] .kbg-pub-form .kbg-pub-file>span{color:#1c232b!important}
html[data-kbg-theme="light"] .kbg-pub-file small,html[data-kbg-theme="light"] .kbg-pub-club small{color:#667281!important}
html[data-kbg-theme="light"] .kbg-pub-form input::placeholder,html[data-kbg-theme="light"] .kbg-pub-form textarea::placeholder{color:#7a8591!important;opacity:1!important}
html[data-kbg-theme="light"] .kbg-pub-file-ui{background:#f7f8fa;border-color:#d8dee5;color:#151515}
html[data-kbg-theme="light"] .kbg-pub-file-name{color:#4d5865}
@media(max-width:680px){
  html[data-kbg-theme="light"] .kbg-pub-file small,html[data-kbg-theme="light"] .kbg-pub-club small{color:#596675!important}
}
