/* Battlefield Pics NOVA Studio 2.1.5
   Clean-slate stylesheet. Loaded exclusively INSIDE Shadow DOM roots,
   never into the WordPress document. NOVA's signature lime is the only accent. */
:host { --nv-lime:#a6ff13; --nv-lime-bright:#caff76; --nv-lime-soft:rgba(166,255,19,.10); --nv-line:rgba(166,255,19,.22); --nv-text:#f5faef; --nv-muted:#aab9af; --nv-panel:#10191d; --nv-field:#182327; color-scheme:dark; font:400 13px/1.45 system-ui,-apple-system,"Segoe UI",Arial,sans-serif; }
*,*::before,*::after { box-sizing:border-box; }
button,input,select { font:inherit; }
button { -webkit-tap-highlight-color:transparent; }
button,select,label { cursor:pointer; }
button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible { outline:2px solid var(--nv-lime);outline-offset:3px; }
[hidden] { display:none!important; }

/* Entry button follows the NOVA "Gefällt mir" action, not the site's download CTA. */
.bfats-launch { display:block; width:max-content;max-width:100%;margin:12px 0 22px; }
.bfats-launch__btn { display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;max-width:100%;padding:10px 18px;border-radius:11px;border:1px solid rgba(166,255,19,.62);background:linear-gradient(115deg,#263b33 0%,#18282b 75%);color:#f5fff0;box-shadow:0 0 0 1px rgba(166,255,19,.12),0 0 18px rgba(166,255,19,.10),inset 0 1px rgba(255,255,255,.055);font-weight:780;font-size:13px;line-height:1.25;letter-spacing:.01em;transition:background .16s,box-shadow .16s,border-color .16s; }
.bfats-launch__btn:hover { border-color:var(--nv-lime);background:linear-gradient(115deg,#2e4a35,#1a302a 78%);box-shadow:0 0 0 1px rgba(166,255,19,.16),0 0 23px rgba(166,255,19,.20); }

/* Battlefield V1 skin: only the standalone launcher adapts to the orange
   Obsidian theme. The internal editor and NOVA installations stay lime green. */
:host([data-bfats-skin="battlefield-v1"]) .bfats-launch__btn {
  border-color:rgba(255,145,49,.72);
  background:linear-gradient(115deg,#241c19 0%,#17191f 100%);
  color:#fff2e7;
  box-shadow:0 0 0 1px rgba(255,130,31,.11),0 0 18px rgba(255,115,23,.12),inset 0 1px 0 rgba(255,255,255,.07);
}
:host([data-bfats-skin="battlefield-v1"]) .bfats-launch__btn svg {stroke:#ff972e;}
:host([data-bfats-skin="battlefield-v1"]) .bfats-launch__btn:hover {
  border-color:#ff9d3d;
  background:linear-gradient(115deg,#34221a,#211c1e 100%);
  color:#fff;
  box-shadow:0 0 0 1px rgba(255,144,43,.16),0 0 22px rgba(255,116,19,.22);
}
:host([data-bfats-skin="battlefield-v1"]) .bfats-launch__btn:focus-visible {
  outline:2px solid #ffae5d;
  outline-offset:3px;
}
.bfats-launch__btn svg {width:18px;height:18px;flex:none;fill:none;stroke:var(--nv-lime);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}

/* Fullscreen modal is mounted in an independent shadow tree attached to body. */
.bfats-modal {position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:14px;isolation:isolate;color:var(--nv-text);}
.bfats-modal__backdrop {position:absolute;inset:0;background:rgba(2,7,9,.89);backdrop-filter:blur(7px);}
.bfats-studio {position:relative;z-index:1;display:flex;flex-direction:column;min-width:0;width:min(1090px,100%);max-height:min(92dvh,800px);overflow:hidden;border:1px solid rgba(166,255,19,.26);border-radius:15px;background:#101619;box-shadow:0 34px 100px rgba(0,0,0,.74),0 0 0 1px rgba(166,255,19,.035);}
.bfats-studio__head {display:flex;justify-content:space-between;align-items:center;gap:14px;flex:none;padding:12px 18px 11px;border-bottom:1px solid rgba(166,255,19,.17);background:radial-gradient(ellipse at 23% -30%,rgba(166,255,19,.09),transparent 58%),#121b1d;}
.bfats-eyebrow {font-size:9px;line-height:1.4;font-weight:900;letter-spacing:.12em;color:var(--nv-lime-bright);text-transform:uppercase;}
.bfats-studio__head h2 {margin:2px 0 2px;color:#f5faef;font-size:clamp(22px,2.4vw,28px);font-weight:900;line-height:1.12;letter-spacing:-.035em;}
.bfats-studio__head h2 em {color:var(--nv-lime);font-style:normal;}
.bfats-studio__head p {margin:0;color:var(--nv-muted);font-size:11px;line-height:1.45;}
.bfats-icon-btn {width:33px;height:33px;flex:none;display:grid;place-items:center;padding:0;background:#1b2829;color:#d3e4d4;border:1px solid #395142;border-radius:9px;font-size:18px;line-height:1;}
.bfats-icon-btn:hover {border-color:var(--nv-lime);color:white;}
.bfats-studio__body {display:grid;grid-template-columns:minmax(300px,.78fr) minmax(0,1.55fr);gap:18px;flex:1;min-height:0;overflow:hidden;padding:14px 17px 17px;}
.bfats-editor,.bfats-results {min-width:0;}
.bfats-results {min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#405b35 transparent;scrollbar-width:thin;}
.bfats-editor {display:flex;flex-direction:column;gap:9px;min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#607e50 transparent;scrollbar-width:thin;scroll-padding-bottom:24px;padding:0 7px 0 1px;}
/* A flex child with overflow:hidden used to shrink the entire expanded panel:
   its internal controls existed but were CLIPPED (incl. the intensity slider).
   The editor must scroll; the panel itself must never shrink. */
.bfats-editor > .bfats-eyebrow,.bfats-editor > .bfats-field,.bfats-editor > .bfats-advanced,.bfats-editor > .bfats-editor__actions {flex:0 0 auto;}
.bfats-field {display:flex;flex-direction:column;gap:4px;min-width:0;}
.bfats-field label,.bfats-field__label {font-size:10px;font-weight:750;color:#e3eee4;}
.bfats-field__label {display:flex;justify-content:space-between;align-items:center;gap:7px;flex-wrap:wrap;}
.bfats-field__label label {font:inherit;color:inherit;}
.bfats-field input:not([type=range]),.bfats-field select {width:100%;min-width:0;min-height:36px;padding:6px 10px;border:1px solid #364b44;border-radius:8px;background:var(--nv-field);color:#f4fff1;font-size:11px;outline:0;box-shadow:none;}
.bfats-field input::placeholder {color:#819386;}
.bfats-field input:focus,.bfats-field select:focus {border-color:var(--nv-lime);box-shadow:0 0 0 3px rgba(166,255,19,.13);}
.bfats-field input[type=range],.bfats-options input[type=checkbox] {accent-color:var(--nv-lime);}
.bfats-field input[type=range] {width:100%;margin:2px 0;}
.bfats-options {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 9px;grid-column:1/-1;}
.bfats-options label {display:flex;align-items:center;gap:6px;color:#dce9d8;font-size:10px;line-height:1.35;}
.bfats-options input {width:15px;height:15px;flex:none;margin:0;}
.bfats-link {background:transparent;border:0;padding:0;color:var(--nv-lime-bright);font-size:10px;font-weight:770;white-space:nowrap;}
.bfats-link:hover {text-decoration:underline;}
.bfats-advanced {flex:0 0 auto;border:1px solid rgba(166,255,19,.19);border-radius:9px;overflow:visible;background:#162124;}
.bfats-advanced summary {padding:8px 11px;list-style:none;display:flex;justify-content:space-between;align-items:center;color:#edf8ea;font-size:11px;font-weight:780;user-select:none;}
.bfats-advanced summary::-webkit-details-marker {display:none;}
.bfats-advanced summary::after {content:'+';color:var(--nv-lime);font-size:20px;font-weight:400;line-height:1;}
.bfats-advanced[open] summary {border-bottom:1px solid rgba(166,255,19,.18);}
.bfats-advanced[open] summary::after {content:'−';}
.bfats-advanced__inner {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:11px;align-items:start;min-width:0;}
.bfats-advanced__inner > .bfats-field:last-of-type {grid-column:1/-1;}
/* Optional typography controls remain accessible without making the main panel taller. */
.bfats-type-panel {grid-column:1/-1;min-width:0;border:1px solid rgba(166,255,19,.17);border-radius:8px;background:#121c1e;}
.bfats-type-panel__head {display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 11px;list-style:none;font-size:10px;font-weight:800;letter-spacing:.04em;color:var(--nv-lime-bright);cursor:pointer;}
.bfats-type-panel__head::-webkit-details-marker {display:none;}
.bfats-type-panel__head::after {content:'+';font-size:17px;line-height:1;font-weight:400;}
.bfats-type-panel[open] > .bfats-type-panel__head {border-bottom:1px solid rgba(166,255,19,.16);}
.bfats-type-panel[open] > .bfats-type-panel__head::after {content:'−';}
.bfats-type-panel__body {display:grid;gap:8px;padding:10px;}
.bfats-colors {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;}
.bfats-color {min-width:0;display:flex;flex-direction:column;gap:3px;align-items:flex-start;}
.bfats-color label {font-size:9px;line-height:1.25;font-weight:750;color:#dfeadc;}
.bfats-color input[type=color] {width:100%;max-width:74px;height:29px;min-height:29px;padding:2px;border-radius:7px;border:1px solid #4a6150;background:#182529;color:inherit;cursor:pointer;}
.bfats-color__value {font-size:9px;letter-spacing:0;color:#a7bba8;font-variant-numeric:tabular-nums;}
.bfats-minor {justify-self:start;padding:2px 0;background:transparent;border:0;color:var(--nv-lime-bright);font-size:10px;font-weight:700;}
.bfats-minor:hover {text-decoration:underline;}
.bfats-feedback {display:block;margin-top:1px;font-size:10px;line-height:1.35;color:#c6f891;}
.bfats-tags {display:flex;flex-wrap:wrap;gap:5px;}
.bfats-tags:empty {display:none;}
.bfats-tags span {display:inline-block;padding:3px 7px;border-radius:999px;border:1px solid #486b36;background:#203126;color:#d9ffb4;font-size:9px;}
.bfats-primary,.bfats-secondary {display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;border-radius:8px;padding:7px 10px;font-size:11px;font-weight:850;line-height:1.25;transition:background .16s,border-color .16s,box-shadow .16s;}
.bfats-primary {border:1px solid #a6ff13;background:linear-gradient(115deg,#c8ff75,#a6ff13);color:#152408;box-shadow:0 6px 22px rgba(166,255,19,.12);}
.bfats-primary:hover {background:linear-gradient(115deg,#deffa6,#b9ff49);box-shadow:0 7px 25px rgba(166,255,19,.24);}
.bfats-secondary {border:1px solid rgba(166,255,19,.4);background:#203029;color:#effee8;}
.bfats-secondary:hover {border-color:var(--nv-lime);background:#2b4433;}
.bfats-primary:disabled,.bfats-secondary:disabled {opacity:.4;cursor:not-allowed;box-shadow:none;}
.bfats-editor__actions {position:sticky;bottom:0;z-index:3;display:flex;flex-direction:column;gap:7px;min-width:0;margin-top:auto;padding:13px 0 5px;background:linear-gradient(to bottom,rgba(16,22,25,0),#101619 12px,#101619 100%);}
.bfats-editor__actions > .bfats-primary {width:100%;flex:none;}
.bfats-note {grid-column:1/-1;margin:0;color:#94a69b;font-size:10px;line-height:1.4;}
.bfats-results__header {display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 7px;}
.bfats-pill {padding:3px 7px;border:1px solid #476637;border-radius:999px;color:#dfffba;font-size:9px;font-weight:650;letter-spacing:.06em;white-space:nowrap;}
.bfats-preview {position:relative;overflow:hidden;aspect-ratio:16/9;border:1px solid rgba(166,255,19,.27);border-radius:9px;background:#0d1619;}
.bfats-preview canvas {display:block;width:100%;height:100%;}
.bfats-preview__loading {position:absolute;inset:0;display:grid;place-items:center;padding:16px;color:#e4f6df;text-align:center;background:rgba(9,17,18,.80);font-size:12px;}
.bfats-variants {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:8px 0 6px;}
.bfats-variant {min-width:0;display:flex;flex-direction:column;gap:4px;align-items:stretch;padding:4px 4px 6px;border:1px solid #385048;border-radius:8px;background:#182225;color:#abb8b1;font-size:9px;font-weight:800;letter-spacing:.05em;text-align:center;}
.bfats-variant canvas {display:block;width:100%;height:auto;aspect-ratio:16/9;border-radius:4px;background:#101c1d;}
.bfats-variant.is-selected {border-color:var(--nv-lime);color:#deffbb;background:#1e3024;box-shadow:0 0 0 1px rgba(166,255,19,.15);}
.bfats-variant:hover {border-color:rgba(166,255,19,.75);}
.bfats-status {min-height:14px;margin:0 0 6px;color:#d0ffa0;font-size:10px;line-height:1.3;}
.bfats-downloads {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;}
.bfats-downloads button {min-width:0;}
@media(max-width:960px) { .bfats-studio__body {display:block;overflow-y:auto;} .bfats-results {margin-top:17px;} .bfats-editor {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;overflow:visible;padding:0;} .bfats-results {overflow:visible;} .bfats-editor>.bfats-eyebrow,.bfats-editor>.bfats-advanced,.bfats-editor>.bfats-editor__actions {grid-column:1/-1;} .bfats-editor__actions {position:static;margin-top:0;padding:0;background:none;} .bfats-note {grid-column:1/-1;} }
@media(max-width:620px) { .bfats-modal {padding:0;align-items:stretch;} .bfats-studio {width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0;} .bfats-studio__head {padding:12px 14px 10px;} .bfats-studio__head h2 {font-size:23px;} .bfats-studio__head p {font-size:10px;} .bfats-studio__body {padding:12px 13px 25px;} .bfats-results {margin-top:15px;} .bfats-editor {display:flex;flex-direction:column;align-items:stretch;gap:9px;} .bfats-results__header {margin-bottom:7px;} .bfats-variants {gap:5px;} .bfats-variant {font-size:9px;letter-spacing:0;padding:3px 3px 6px;} .bfats-primary,.bfats-secondary {min-height:42px;} .bfats-launch {width:100%;} .bfats-launch__btn {width:100%;} }
@media(max-width:360px) { .bfats-studio__head h2 {font-size:21px;} .bfats-options {grid-template-columns:1fr 1fr;} .bfats-downloads {grid-template-columns:1fr;} .bfats-pill {font-size:9px;} .bfats-colors {gap:4px;} .bfats-color__value {font-size:8px;} }
@media(prefers-reduced-motion:reduce) {*,*::before,*::after {transition:none!important;animation:none!important;scroll-behavior:auto!important;} }
