body.page-template-default .kbfe-studio{max-width:none!important}.kbfe-studio{--red:#ff222d;--bg:#0b0f15;--panel:#111821;--panel2:#151e29;--line:#263342;--text:#f7f9fc;--muted:#8d9aae;color:var(--text);background:linear-gradient(180deg,#0a0e14,#0d1219);border-radius:24px;padding:28px;box-shadow:0 24px 70px rgba(0,0,0,.15);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.kbfe-studio *{box-sizing:border-box}.kbfe-studio a{text-decoration:none}.kbfe-top{display:flex;align-items:center;justify-content:space-between;padding-bottom:20px;border-bottom:1px solid rgba(255,255,255,.07)}.kbfe-logo{font-size:22px;font-weight:950;letter-spacing:-.04em;color:var(--red)}.kbfe-logo b{color:#fff}.kbfe-logo small{font-size:10px;color:#fff}.kbfe-logo span{display:block;color:#6d7b90;font-size:9px;letter-spacing:.17em;margin-top:2px}.kbfe-user{display:flex;align-items:center;gap:12px;color:#cbd4df;font-size:12px}.kbfe-user a{color:#fff;border:1px solid #2d3949;border-radius:9px;padding:8px 11px}.kbfe-head{display:flex;align-items:end;justify-content:space-between;gap:20px;padding:34px 0 24px}.kbfe-head h2{color:#fff!important;font-size:32px!important;line-height:1.05!important;margin:6px 0!important}.kbfe-head p{color:var(--muted);margin:0}.kbfe-kicker{font-size:10px;color:var(--red);letter-spacing:.15em;font-weight:900}.kbfe-btn{border:0;border-radius:12px;padding:12px 16px;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:900;cursor:pointer;white-space:nowrap}.kbfe-btn.primary{background:var(--red);color:#fff!important}.kbfe-btn.ghost{background:#151d27;border:1px solid #2d3949;color:#dce4ef!important}.kbfe-btn.full{width:100%;margin-top:10px}.kbfe-notice{padding:13px 15px;border-radius:12px;margin-bottom:18px;font-size:13px;font-weight:750}.kbfe-notice.ok{background:rgba(39,198,112,.12);border:1px solid rgba(39,198,112,.3);color:#7ae6aa}.kbfe-notice.err{background:rgba(255,34,45,.1);border:1px solid rgba(255,34,45,.3);color:#ff9096}
.kbfe-create-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:18px}.kbfe-create{min-height:170px;padding:17px;border:1px solid #293647;border-radius:15px;background:linear-gradient(180deg,#151e29,#121923);display:flex;flex-direction:column;color:#fff!important;transition:.2s ease}.kbfe-create:hover{transform:translateY(-2px);border-color:#485a70}.kbfe-create>span{font-size:24px;margin-bottom:18px}.kbfe-create strong{font-size:15px;margin-bottom:5px}.kbfe-create small{font-size:11px;color:#8796aa;flex:1}.kbfe-create b{font-size:10px;margin-top:12px}.kbfe-panel{background:linear-gradient(145deg,#111821,#0f151d);border:1px solid #222e3d;border-radius:16px;padding:20px;box-shadow:0 20px 60px rgba(0,0,0,.16)}.kbfe-panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.kbfe-panel h3{color:#fff!important;margin:4px 0 0!important;font-size:18px!important}.kbfe-list{border:1px solid #263342;border-radius:12px;overflow:hidden}.kbfe-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 14px;border-top:1px solid #202a36}.kbfe-row:first-child{border-top:0}.kbfe-row-main{display:flex;align-items:center;gap:12px;min-width:0}.kbfe-row-main>div{min-width:0}.kbfe-thumb{width:48px!important;height:48px!important;object-fit:cover;border-radius:9px;background:#1b2430;flex:0 0 auto}.kbfe-row-main small{display:block;color:#728198;font-size:9px;text-transform:uppercase}.kbfe-row-main strong{display:block;color:#fff;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:700px}.kbfe-row-main span{display:block;color:#66758a;font-size:10px;margin-top:2px}.kbfe-row-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}.kbfe-row-actions>a{color:#fff;font-size:11px;font-weight:800}.kbfe-status{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:9px;font-weight:900}.kbfe-status.pending{background:rgba(255,171,62,.12);color:#ffc16f}.kbfe-status.draft{background:#1b2430;color:#9da9ba}.kbfe-status.published{background:rgba(41,200,117,.12);color:#6be4a1}.kbfe-empty{padding:36px;text-align:center;color:#758399}
.kbfe-editor-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.kbfe-editor-top a{color:#a8b4c4;font-size:11px;font-weight:800}.kbfe-editor-top>span{color:#fff;font-size:12px}.kbfe-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start}.kbfe-side{display:grid;gap:16px;position:sticky;top:110px}.kbfe-field{display:block;margin-bottom:17px}.kbfe-field>span{display:block;color:#9aa8bb;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.05em;margin-bottom:7px}.kbfe-field input,.kbfe-field textarea{width:100%!important;background:#0c1118!important;border:1px solid #2b394a!important;color:#fff!important;border-radius:10px!important;padding:12px!important;box-shadow:none!important}.kbfe-field input:focus,.kbfe-field textarea:focus{border-color:#5a6d85!important;outline:none!important}.kbfe-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.kbfe-segment{display:flex;gap:8px}.kbfe-segment input{display:none}.kbfe-segment b{display:block;border:1px solid #293647;background:#111922;border-radius:10px;padding:10px 13px;color:#8998ac;font-size:12px}.kbfe-segment input:checked+b{border-color:var(--red);background:rgba(255,34,45,.09);color:#fff}.kbfe-studio .wp-editor-wrap{background:#fff;border-radius:10px;overflow:hidden}.kbfe-studio .wp-editor-container{border:0!important}.kbfe-preview{width:100%!important;height:auto!important;aspect-ratio:4/3;object-fit:contain;background:#0b1016;border-radius:12px;margin:12px 0}.kbfe-upload{display:block;border:1px dashed #3a4a5d;border-radius:12px;padding:18px;text-align:center;cursor:pointer;margin-top:12px}.kbfe-upload input{display:none}.kbfe-upload b{display:block;color:#fff;font-size:12px}.kbfe-upload small{display:block;color:#758499;margin-top:4px}.kbfe-review-note{color:#8d9aae;font-size:12px;line-height:1.55;margin:12px 0}.kbfe-login-shell{min-height:520px;display:grid;place-items:center;padding:30px}.kbfe-login-brand{text-align:center;font-size:30px;font-weight:950;color:var(--red);letter-spacing:-.04em}.kbfe-login-brand b{color:#fff}.kbfe-login-brand small{font-size:12px;color:#fff}.kbfe-login-brand span{display:block;color:#718096;font-size:9px;letter-spacing:.18em;margin:3px 0 18px}.kbfe-login-card{width:min(100%,430px);background:linear-gradient(145deg,#121923,#0f151d);border:1px solid #263342;border-radius:18px;padding:26px;box-shadow:0 25px 80px rgba(0,0,0,.24)}.kbfe-login-card h2{color:#fff!important;font-size:24px!important;margin:7px 0!important}.kbfe-login-card p{color:#8d9aae;line-height:1.5;font-size:12px}.kbfe-login-card label{display:block;color:#a6b1c0;font-size:11px;font-weight:800;margin:14px 0}.kbfe-login-card input{display:block;width:100%;margin-top:7px;background:#0b1016;border:1px solid #2c394a;color:#fff;border-radius:10px;padding:12px}.kbfe-login-card .kbfe-btn{width:100%;margin-top:8px}.kbfe-login-error{background:rgba(255,34,45,.1);border:1px solid rgba(255,34,45,.3);color:#ff979d;border-radius:10px;padding:10px 12px;font-size:11px;margin-top:12px}
@media(max-width:1100px){.kbfe-create-grid{grid-template-columns:repeat(3,1fr)}.kbfe-editor-grid{grid-template-columns:1fr}.kbfe-side{position:static;grid-template-columns:1fr 1fr}}@media(max-width:760px){.kbfe-studio{border-radius:18px;padding:16px}.kbfe-top,.kbfe-head,.kbfe-row{align-items:flex-start}.kbfe-head{flex-direction:column}.kbfe-head h2{font-size:27px!important}.kbfe-create-grid{grid-template-columns:repeat(2,1fr)}.kbfe-row{flex-direction:column}.kbfe-row-actions{width:100%;justify-content:space-between}.kbfe-side{grid-template-columns:1fr}.kbfe-two{grid-template-columns:1fr}.kbfe-user span{display:none}.kbfe-login-shell{padding:8px;min-height:460px}.kbfe-login-card{padding:20px}}@media(max-width:480px){.kbfe-create-grid{grid-template-columns:1fr}.kbfe-create{min-height:135px}.kbfe-segment{flex-direction:column}.kbfe-top{gap:10px}.kbfe-logo{font-size:18px}.kbfe-head .kbfe-btn{width:100%}}
body.page-id-40534 .page-hero{display:none!important}body.page-id-40534 .section{padding-top:32px!important}body.page-id-40534 .article-wrap{max-width:1240px!important}body.page-id-40534 .content-updated{display:none!important}body.page-id-40534 .prose{max-width:none!important}body.page-id-40534 .prose>.kbfe-studio{margin:0!important}
/* V1.0.1 — reliable, obvious segmented radio controls */
.kbfe-segment label{position:relative;display:block;cursor:pointer!important;margin:0!important;user-select:none;-webkit-tap-highlight-color:transparent}
.kbfe-segment input[type="radio"]{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;margin:0!important;padding:0!important;pointer-events:none!important}
.kbfe-segment b{position:relative;min-width:150px;cursor:pointer!important;padding:12px 42px 12px 14px!important;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease,color .15s ease}
.kbfe-segment b::after{content:"";position:absolute;right:13px;top:50%;width:18px;height:18px;transform:translateY(-50%);border:2px solid #536174;border-radius:50%;box-sizing:border-box;background:#0c1118}
.kbfe-segment input[type="radio"]:checked+b{border-color:#e11d2e!important;background:#e11d2e!important;color:#fff!important;box-shadow:0 6px 18px rgba(225,29,46,.24)!important}
.kbfe-segment input[type="radio"]:checked+b::after{content:"✓";display:grid;place-items:center;border-color:#fff;background:#fff;color:#e11d2e;font-size:12px;font-weight:950;line-height:1}
.kbfe-segment label:focus-within b{outline:2px solid rgba(225,29,46,.35);outline-offset:2px}
/* Club relation */
.kbfe-field select{width:100%!important;background:#0c1118!important;border:1px solid #2b394a!important;color:#fff!important;border-radius:10px!important;padding:12px!important;box-shadow:none!important}
.kbfe-field select:focus{border-color:#5a6d85!important;outline:none!important}.kbfe-help{display:block;color:#78879a;font-size:10px;line-height:1.4;margin-top:6px}

/* V1.1.1 — current Content Studio login page: remove duplicate theme hero and keep the entry compact. */
body.page-id-40545 .page-hero{display:none!important}
body.page-id-40545 .section{padding-top:24px!important;padding-bottom:34px!important}
body.page-id-40545 .article-wrap{max-width:1240px!important}
body.page-id-40545 .content-updated{display:none!important}
body.page-id-40545 .prose{max-width:none!important}
body.page-id-40545 .prose>.kbfe-studio{margin:0!important}
body.page-id-40545 .kbfe-login-shell{min-height:430px!important;padding:18px!important}

/* V1.1.4 — phone-perfect club login/registration: no horizontal overflow. */
@media(max-width:760px){
  body.page-id-40545{overflow-x:hidden!important}
  body.page-id-40545 .page-hero{display:none!important}
  body.page-id-40545 .section{padding:10px 0 26px!important;overflow:hidden!important}
  body.page-id-40545 .section>.kbg-container.article-wrap{width:calc(100% - 16px)!important;max-width:none!important;margin:0 auto!important;padding:0!important}
  body.page-id-40545 .article-wrap>.prose{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;overflow:visible!important}
  body.page-id-40545 .kbfe-studio{width:100%!important;max-width:100%!important;margin:0!important;padding:10px!important;border-radius:15px!important;overflow:hidden!important}
  body.page-id-40545 .kbfe-login-shell{width:100%!important;max-width:430px!important;min-height:0!important;margin:0 auto!important;padding:0!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important}
  body.page-id-40545 .kbfe-login-brand{font-size:24px!important;line-height:1!important;margin:2px 0 0!important}
  body.page-id-40545 .kbfe-login-brand span{margin:5px 0 2px!important;font-size:8px!important}
  body.page-id-40545 .kbfe-login-card{width:100%!important;max-width:100%!important;margin:0!important;padding:16px!important;border-radius:14px!important;overflow:hidden!important}
  body.page-id-40545 .kbfe-login-card h2{font-size:21px!important;line-height:1.08!important;margin:6px 0 8px!important;color:#fff!important}
  body.page-id-40545 .kbfe-login-card p{font-size:12px!important;line-height:1.5!important;margin:0 0 12px!important;color:#aeb8c4!important}
  body.page-id-40545 .kbfe-login-card label{font-size:12px!important;margin:12px 0!important;color:#d4dbe4!important}
  body.page-id-40545 .kbfe-login-card input{min-height:46px!important;margin-top:6px!important;padding:10px 12px!important;font-size:16px!important}
  body.page-id-40545 .kbfe-login-card form{width:100%!important;max-width:100%!important;overflow:hidden!important}
  body.page-id-40545 .kbfe-login-card .g-recaptcha{transform:scale(.88)!important;transform-origin:left top!important;margin:4px 0 -5px!important}
  body.page-id-40545 .kbfe-login-card .kbfe-btn{min-height:48px!important;margin-top:8px!important;font-size:12px!important}
  body.page-id-40545 .kbfe-register-card{margin-top:0!important}
}
@media(max-width:340px){
  body.page-id-40545 .section>.kbg-container.article-wrap{width:calc(100% - 10px)!important}
  body.page-id-40545 .kbfe-studio{padding:7px!important}
  body.page-id-40545 .kbfe-login-card{padding:13px!important}
  body.page-id-40545 .kbfe-login-card .g-recaptcha{transform:scale(.78)!important;margin-bottom:-13px!important}
}


/* V1.1.6 — complete light/dark contrast + responsive polish for Frontend Studio */
.kbfe-studio{
  --kbfe-surface:#0d1219;--kbfe-panel:#111821;--kbfe-panel-soft:#151e29;--kbfe-line:#2a3747;
  --kbfe-text:#f7f9fc;--kbfe-text-2:#cdd6e1;--kbfe-muted:#8d9aae;--kbfe-input:#0c1118;
  --kbfe-shadow:0 24px 70px rgba(0,0,0,.18);color:var(--kbfe-text)!important;
  background:linear-gradient(180deg,#0a0e14,#0d1219)!important;border:1px solid rgba(255,255,255,.035)!important;box-shadow:var(--kbfe-shadow)!important
}
.kbfe-studio .kbfe-panel,.kbfe-studio .kbfe-login-card{background:linear-gradient(145deg,var(--kbfe-panel),#0f151d)!important;border-color:var(--kbfe-line)!important}
.kbfe-studio .kbfe-editor-top>a{color:var(--kbfe-text-2)!important}.kbfe-studio .kbfe-editor-top>span,.kbfe-studio .kbfe-panel h3,.kbfe-studio .kbfe-fixed-club strong{color:var(--kbfe-text)!important}
.kbfe-studio .kbfe-field>span,.kbfe-studio .kbfe-help,.kbfe-studio .kbfe-review-note{color:var(--kbfe-muted)!important}
.kbfe-studio .kbfe-field input,.kbfe-studio .kbfe-field textarea,.kbfe-studio .kbfe-field select{background:var(--kbfe-input)!important;color:var(--kbfe-text)!important;border-color:var(--kbfe-line)!important;-webkit-text-fill-color:var(--kbfe-text)!important}
.kbfe-studio .kbfe-field input::placeholder,.kbfe-studio .kbfe-field textarea::placeholder{color:#718096!important;opacity:1!important;-webkit-text-fill-color:#718096!important}
.kbfe-studio .kbfe-field input:focus,.kbfe-studio .kbfe-field textarea:focus,.kbfe-studio .kbfe-field select:focus{border-color:#ff3038!important;box-shadow:0 0 0 3px rgba(255,32,39,.13)!important;outline:0!important}
.kbfe-studio .kbfe-upload{background:rgba(255,255,255,.018)!important;border-color:#46566b!important}.kbfe-studio .kbfe-upload:hover{border-color:#ff3038!important;background:rgba(255,32,39,.045)!important}
.kbfe-studio .kbfe-upload b{color:var(--kbfe-text)!important}.kbfe-studio .kbfe-upload small{color:var(--kbfe-muted)!important}
.kbfe-studio .kbfe-segment b{background:var(--kbfe-input)!important;border-color:var(--kbfe-line)!important;color:var(--kbfe-text-2)!important}.kbfe-studio .kbfe-segment b::after{background:var(--kbfe-input)!important}
.kbfe-studio .kbfe-segment input[type="radio"]:checked+b{background:#e11d2e!important;border-color:#e11d2e!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
.kbfe-studio .kbfe-btn.primary{background:#e9212d!important;color:#fff!important;-webkit-text-fill-color:#fff!important}.kbfe-studio .kbfe-btn.ghost{background:var(--kbfe-panel-soft)!important;border:1px solid var(--kbfe-line)!important;color:var(--kbfe-text-2)!important;-webkit-text-fill-color:var(--kbfe-text-2)!important}
.kbfe-studio .wp-editor-wrap{width:100%!important;max-width:100%!important;background:#fff!important;border:1px solid var(--kbfe-line)!important;border-radius:11px!important;overflow:hidden!important}.kbfe-studio .wp-editor-container,.kbfe-studio .wp-editor-container iframe{background:#fff!important;color:#111820!important}.kbfe-studio .quicktags-toolbar,.kbfe-studio .mce-toolbar-grp{background:#f1f4f7!important;border-color:#d1d9e2!important}

html[data-kbg-theme="light"] .kbfe-studio{
  --kbfe-surface:#f5f7fa;--kbfe-panel:#ffffff;--kbfe-panel-soft:#f3f6f9;--kbfe-line:#d5dde6;
  --kbfe-text:#111820;--kbfe-text-2:#303c49;--kbfe-muted:#607080;--kbfe-input:#ffffff;
  --kbfe-shadow:0 18px 55px rgba(20,35,50,.09);background:linear-gradient(180deg,#f7f9fb,#f1f4f7)!important;border-color:#dce3ea!important
}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-panel,html[data-kbg-theme="light"] .kbfe-studio .kbfe-login-card{background:#fff!important;border-color:#d5dde6!important;box-shadow:0 10px 34px rgba(20,35,50,.07)!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-editor-top>a{color:#425466!important;-webkit-text-fill-color:#425466!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-editor-top>span,html[data-kbg-theme="light"] .kbfe-studio .kbfe-panel h3,html[data-kbg-theme="light"] .kbfe-studio .kbfe-fixed-club strong{color:#111820!important;-webkit-text-fill-color:#111820!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-field>span,html[data-kbg-theme="light"] .kbfe-studio .kbfe-help,html[data-kbg-theme="light"] .kbfe-studio .kbfe-review-note{color:#536474!important;-webkit-text-fill-color:#536474!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-field input,html[data-kbg-theme="light"] .kbfe-studio .kbfe-field textarea,html[data-kbg-theme="light"] .kbfe-studio .kbfe-field select{background:#fff!important;color:#111820!important;-webkit-text-fill-color:#111820!important;border-color:#c9d3de!important;box-shadow:0 1px 2px rgba(20,35,50,.03)!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-field input::placeholder,html[data-kbg-theme="light"] .kbfe-studio .kbfe-field textarea::placeholder{color:#687889!important;-webkit-text-fill-color:#687889!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-upload{background:#f7f9fb!important;border-color:#b9c5d1!important}html[data-kbg-theme="light"] .kbfe-studio .kbfe-upload b{color:#17212b!important;-webkit-text-fill-color:#17212b!important}html[data-kbg-theme="light"] .kbfe-studio .kbfe-upload small{color:#5b6c7d!important;-webkit-text-fill-color:#5b6c7d!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-segment b{background:#f7f9fb!important;border-color:#c7d1dc!important;color:#344454!important;-webkit-text-fill-color:#344454!important}html[data-kbg-theme="light"] .kbfe-studio .kbfe-segment b::after{background:#fff!important;border-color:#7b8997!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-btn.ghost{background:#eef2f6!important;border-color:#c8d2dc!important;color:#17212b!important;-webkit-text-fill-color:#17212b!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-kicker{color:#d91826!important;-webkit-text-fill-color:#d91826!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-notice.ok{color:#17683c!important;background:#e9f8ef!important;border-color:#b7e5c8!important}html[data-kbg-theme="light"] .kbfe-studio .kbfe-notice.err{color:#a41520!important;background:#fff0f1!important;border-color:#f1c0c5!important}

@media(max-width:1100px){.kbfe-studio .kbfe-editor-grid{gap:14px!important}.kbfe-studio .kbfe-side{position:static!important}}
@media(max-width:760px){
  body.page-id-40545 .kbfe-studio{padding:12px!important;border-radius:16px!important}.kbfe-studio .kbfe-editor-top{align-items:flex-start!important;gap:10px!important;flex-wrap:wrap!important}.kbfe-studio .kbfe-editor-top>a,.kbfe-studio .kbfe-editor-top>span{font-size:11px!important;line-height:1.35!important}
  .kbfe-studio .kbfe-editor-grid{grid-template-columns:1fr!important;gap:12px!important}.kbfe-studio .kbfe-panel{padding:16px!important;border-radius:14px!important}.kbfe-studio .kbfe-side{grid-template-columns:1fr!important;gap:12px!important}
  .kbfe-studio .kbfe-field{margin-bottom:15px!important}.kbfe-studio .kbfe-field>span{font-size:10px!important;line-height:1.25!important}.kbfe-studio .kbfe-field input,.kbfe-studio .kbfe-field textarea,.kbfe-studio .kbfe-field select{min-height:48px!important;font-size:16px!important;padding:11px 12px!important}
  .kbfe-studio .kbfe-segment{display:grid!important;grid-template-columns:1fr!important;width:100%!important}.kbfe-studio .kbfe-segment label,.kbfe-studio .kbfe-segment b{width:100%!important;min-width:0!important}.kbfe-studio .kbfe-upload{padding:16px 12px!important;margin-top:9px!important}
  .kbfe-studio .kbfe-btn{min-height:48px!important;width:100%!important;font-size:11px!important}.kbfe-studio .wp-editor-wrap{max-width:100%!important;overflow:hidden!important}.kbfe-studio .wp-editor-tools{max-width:100%!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important}.kbfe-studio .quicktags-toolbar,.kbfe-studio .mce-toolbar-grp{max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch}
}


/* V1.1.6b — finish every Studio surface in light theme */
html[data-kbg-theme="light"] .kbfe-studio .kbfe-top{border-color:#d9e1e9!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-logo b,html[data-kbg-theme="light"] .kbfe-studio .kbfe-logo small{color:#111820!important;-webkit-text-fill-color:#111820!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-logo span{color:#637384!important;-webkit-text-fill-color:#637384!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-user{color:#344454!important;-webkit-text-fill-color:#344454!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-user a{color:#17212b!important;-webkit-text-fill-color:#17212b!important;border-color:#c8d2dc!important;background:#fff!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-head h2{color:#111820!important;-webkit-text-fill-color:#111820!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-head p{color:#5b6c7d!important;-webkit-text-fill-color:#5b6c7d!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-create{background:#fff!important;border-color:#d3dce5!important;color:#17212b!important;-webkit-text-fill-color:#17212b!important;box-shadow:0 8px 24px rgba(20,35,50,.05)!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-create strong,html[data-kbg-theme="light"] .kbfe-studio .kbfe-create b{color:#17212b!important;-webkit-text-fill-color:#17212b!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-create small{color:#607080!important;-webkit-text-fill-color:#607080!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-list{border-color:#d7dfe7!important;background:#fff!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-row{border-color:#e1e7ed!important;background:#fff!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-row-main small,html[data-kbg-theme="light"] .kbfe-studio .kbfe-row-main span{color:#637384!important;-webkit-text-fill-color:#637384!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-row-main strong,html[data-kbg-theme="light"] .kbfe-studio .kbfe-row-actions>a{color:#17212b!important;-webkit-text-fill-color:#17212b!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-empty{color:#607080!important;-webkit-text-fill-color:#607080!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-status.pending{background:#fff4df!important;color:#8a5700!important;-webkit-text-fill-color:#8a5700!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-status.draft{background:#edf1f5!important;color:#4d5c6b!important;-webkit-text-fill-color:#4d5c6b!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-status.published{background:#e9f8ef!important;color:#17683c!important;-webkit-text-fill-color:#17683c!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-login-brand b,html[data-kbg-theme="light"] .kbfe-studio .kbfe-login-brand small{color:#111820!important;-webkit-text-fill-color:#111820!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-login-brand span{color:#637384!important;-webkit-text-fill-color:#637384!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-login-card h2,html[data-kbg-theme="light"] .kbfe-studio .kbfe-login h2{color:#111820!important;-webkit-text-fill-color:#111820!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-login-card p,html[data-kbg-theme="light"] .kbfe-studio .kbfe-login p{color:#5b6c7d!important;-webkit-text-fill-color:#5b6c7d!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-login-card label{color:#344454!important;-webkit-text-fill-color:#344454!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-login-card input{background:#fff!important;color:#111820!important;-webkit-text-fill-color:#111820!important;border-color:#c9d3de!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-login-card>small{color:#607080!important;-webkit-text-fill-color:#607080!important}
html[data-kbg-theme="light"] .kbfe-studio option{background:#fff!important;color:#111820!important}

@media(max-width:760px){
  .kbfe-studio .kbfe-top{gap:12px!important;flex-wrap:wrap!important}.kbfe-studio .kbfe-user{margin-left:auto!important}.kbfe-studio .kbfe-user a{min-height:42px!important;display:inline-flex!important;align-items:center!important}
  .kbfe-studio .kbfe-head{padding:24px 0 18px!important}.kbfe-studio .kbfe-head h2{font-size:26px!important;word-break:normal!important;overflow-wrap:anywhere!important}.kbfe-studio .kbfe-head p{font-size:13px!important;line-height:1.5!important}
  .kbfe-studio .kbfe-fixed-club{padding:12px!important;border-radius:11px!important;background:rgba(127,140,155,.07)!important;border:1px solid var(--kbfe-line)!important}.kbfe-studio .kbfe-fixed-club strong{display:block!important;font-size:14px!important;line-height:1.35!important}
}


/* V1.1.6c — overflow and media safety */
.kbfe-studio .kbfe-form,.kbfe-studio .kbfe-editor-grid,.kbfe-studio .kbfe-panel,.kbfe-studio .kbfe-side{width:100%!important;max-width:100%!important;min-width:0!important}
.kbfe-studio .kbfe-preview{max-width:100%!important;object-fit:contain!important}
html[data-kbg-theme="light"] .kbfe-studio .kbfe-preview{background:#f2f5f8!important;border:1px solid #d9e1e9!important}
.kbfe-studio textarea{resize:vertical!important}
@media(max-width:760px){.kbfe-studio{overflow:hidden!important}.kbfe-studio .kbfe-two{grid-template-columns:minmax(0,1fr)!important}.kbfe-studio .kbfe-panel,.kbfe-studio .kbfe-field,.kbfe-studio .kbfe-upload{min-width:0!important;max-width:100%!important}}

/* V1.1.8 — editor follows site theme, including toolbar/quicktags surfaces. */
.kbfe-studio .wp-editor-wrap,.kbfe-studio .wp-editor-container{background:var(--kbfe-input)!important;color:var(--kbfe-text)!important}
.kbfe-studio .quicktags-toolbar,.kbfe-studio .mce-toolbar-grp{background:#151e29!important;border-color:#2a3747!important}
.kbfe-studio .wp-switch-editor{background:#151e29!important;color:#cdd6e1!important;border-color:#2a3747!important}
.kbfe-studio textarea#kbfe_content{background:#0c1118!important;color:#f7f9fc!important;-webkit-text-fill-color:#f7f9fc!important;border-color:#2a3747!important}
html[data-kbg-theme="light"] .kbfe-studio .wp-editor-wrap,html[data-kbg-theme="light"] .kbfe-studio .wp-editor-container{background:#fff!important;color:#111820!important}
html[data-kbg-theme="light"] .kbfe-studio .quicktags-toolbar,html[data-kbg-theme="light"] .kbfe-studio .mce-toolbar-grp{background:#f1f4f7!important;border-color:#d1d9e2!important}
html[data-kbg-theme="light"] .kbfe-studio .wp-switch-editor{background:#eef2f6!important;color:#303c49!important;border-color:#c9d3de!important}
html[data-kbg-theme="light"] .kbfe-studio textarea#kbfe_content{background:#fff!important;color:#111820!important;-webkit-text-fill-color:#111820!important;border-color:#c9d3de!important}
.kbfe-fixed-club{padding:13px 14px!important;border:1px solid var(--kbfe-line)!important;border-radius:12px!important;background:var(--kbfe-panel-soft)!important}.kbfe-fixed-club strong{display:block!important;font-size:15px!important;line-height:1.3!important}.kbfe-fixed-club .kbfe-help{margin-top:5px!important}
html[data-kbg-theme="light"] .kbfe-fixed-club{background:#f5f8fa!important;border-color:#d2dbe4!important}

/* V1.1.9 — compact image preview + editor surface truly follows light/dark theme. */
.kbfe-studio .kbfe-preview{
  display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:190px!important;
  aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;margin:12px auto!important;
}
.kbfe-studio .wp-editor-container iframe{background:#0c1118!important;color:#f7f9fc!important}
html[data-kbg-theme="light"] .kbfe-studio .wp-editor-container iframe{background:#fff!important;color:#111820!important}
.kbfe-studio .kbfe-fixed-club{padding:13px 14px!important;border:1px solid #2b394a!important;border-radius:11px!important;background:#0c1118!important}
.kbfe-studio .kbfe-fixed-club strong{display:block!important;color:#fff!important;font-size:14px!important;line-height:1.3!important}
@media(max-width:760px){.kbfe-studio .kbfe-preview{max-height:160px!important}.kbfe-studio .wp-editor-container iframe{min-height:260px!important}}

/* KBG visible date picker */
.kbfe-field input[type=date],.kbfe-field input[type=datetime-local]{color-scheme:dark!important;color:#fff!important;background:#0d131b!important}
.kbfe-field input[type=date]::-webkit-calendar-picker-indicator,.kbfe-field input[type=datetime-local]::-webkit-calendar-picker-indicator{filter:invert(1) brightness(2)!important;opacity:1!important;cursor:pointer!important}


/* V1.2.1 selected image controls */
.kbfe-selected-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px}
.kbfe-selected-featured{margin-top:10px}
.kbfe-selected-image{position:relative;border:1px solid #2d3947;border-radius:12px;overflow:hidden;background:#0d131b}
.kbfe-selected-image img{display:block;width:100%;height:110px;object-fit:cover}
.kbfe-selected-image.is-featured img{height:180px;object-fit:contain}
.kbfe-selected-remove{width:100%;border:0;border-top:1px solid #2d3947;background:#151d26;color:#ff696f;padding:9px 10px;font-size:11px;font-weight:900;cursor:pointer}
.kbfe-remove-current{display:flex;gap:8px;align-items:center;margin:9px 0 12px;color:#ff696f;font-size:12px;font-weight:800}
html[data-kbg-theme="light"] .kbfe-selected-image{background:#f5f7f9;border-color:#d4dce5}
html[data-kbg-theme="light"] .kbfe-selected-remove{background:#fff;border-color:#d4dce5}
@media(max-width:700px){.kbfe-selected-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* Admin-only club registration view */
.kbfe-admin-register-only .kbfe-login-brand,
.kbfe-admin-register-only .kbfe-login-card:not(.kbfe-register-card){display:none!important}
.kbfe-admin-register-only .kbfe-login-shell{display:block!important;width:100%!important;max-width:760px!important;margin:0 auto!important;padding:18px 0!important}
.kbfe-admin-register-only .kbfe-register-card{width:100%!important;max-width:760px!important;margin:0 auto!important}
