
.fbrs-shell *{box-sizing:border-box}
.fbrs-shell{--fbrs-green:#159947;--fbrs-green-dark:#117c3c;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#111827}
.fbrs-card{max-width:1120px;margin:22px auto;background:linear-gradient(180deg,#f7faf7 0%,#eef4ef 100%);border:1px solid #e1e8df;border-radius:26px;padding:34px 28px 26px;box-shadow:0 18px 50px rgba(15,23,42,.055)}
.fbrs-hero{text-align:center}
.fbrs-eyebrow{margin:16px 0 11px;font-size:13px;letter-spacing:.18em;font-weight:800;color:var(--fbrs-green)}
.fbrs-title{margin:0!important;font-size:clamp(46px,6vw,76px)!important;line-height:.96!important;letter-spacing:-.045em!important;color:#0a1320!important;font-weight:850!important}
.fbrs-subtitle{margin:12px 0 22px;font-size:20px;color:#3f5674;font-weight:700}
.fbrs-badges{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-bottom:24px}
.fbrs-badges span{padding:9px 14px;border:1px solid #d7dfd5;background:rgba(255,255,255,.82);border-radius:999px;color:#5a6775;font-size:13px;font-weight:700}
.fbrs-dropzone{width:min(640px,100%);min-height:205px;margin:0 auto;border:1.5px dashed #c7d6c5;border-radius:24px;background:rgba(255,255,255,.48);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;cursor:pointer;transition:.18s ease}
.fbrs-dropzone.drag{background:#fff;border-color:#8fbe9a;transform:translateY(-1px)}
.fbrs-upload-btn{display:flex;align-items:center;justify-content:center;min-width:180px;height:60px;border-radius:16px;background:var(--fbrs-green);color:#fff;font-size:18px;font-weight:850;box-shadow:0 12px 24px rgba(21,153,71,.18)}
.fbrs-types{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.fbrs-types span{padding:5px 9px;border:1px solid #d3dbd1;border-radius:9px;background:#fff;font-size:12px;font-weight:700;color:#647183}
.fbrs-dropcopy,.fbrs-note{margin:0;color:#687689;font-weight:700}
.fbrs-note{margin-top:14px;font-size:13px}
.fbrs-status{max-width:640px;margin:12px auto 0;border-radius:13px;font-size:13px;font-weight:750}
.fbrs-status.error{padding:13px 15px;background:#fff1f2;border:1px solid #ffcbd1;color:#b42333}
.fbrs-status.info{padding:6px;color:#51667f}
.fbrs-status.success{padding:6px;color:#117a3b}
.hidden{display:none!important}

/* Stable compact result layout — only CSS changed from the working 1.3 engine. */
.fbrs-editor{width:100%}
.fbrs-toolbar-top{display:flex;align-items:center;justify-content:space-between;gap:12px;width:min(900px,100%);margin:0 auto 24px;background:#fff;border:1px solid #e4e8eb;border-radius:999px;padding:6px;box-shadow:0 14px 34px rgba(15,23,42,.07)}
.fbrs-mode-pills,.fbrs-actions-top{display:flex;align-items:center;gap:4px;flex-wrap:nowrap}
.fbrs-pill,.fbrs-light-btn{border:0;background:transparent;color:#596673;height:42px;padding:0 14px;border-radius:999px;font-weight:700;cursor:pointer;white-space:nowrap}
.fbrs-pill.active{background:#eef2f4;color:#354454;box-shadow:inset 0 0 0 1px #dde3e7}
.fbrs-light-btn{background:#f5f6f7}
.fbrs-download-wrap{display:flex;align-items:center;overflow:hidden;border-radius:999px;background:#1478e8}
.fbrs-download-btn{height:44px;border:0;background:#1478e8;color:#fff;padding:0 18px;font-size:15px;font-weight:800;cursor:pointer}
.fbrs-download-select{height:44px;width:58px;border:0;border-left:1px solid rgba(255,255,255,.2);background:#1478e8;color:#fff;font-weight:700;padding:0 5px}

.fbrs-editor-grid{display:grid;grid-template-columns:minmax(0,520px) 300px;gap:22px;align-items:start;justify-content:center}
.fbrs-canvas-wrap{position:relative;background:#fff;border:1px solid #e6e9ec;border-radius:22px;padding:0;min-height:0;overflow:hidden;box-shadow:0 18px 42px rgba(15,23,42,.08)}
#fbrs-canvas{display:block;width:100%;height:auto;max-height:590px;background:conic-gradient(#efefef 25%,#fff 0 50%,#efefef 0 75%,#fff 0) 50%/22px 22px}
.fbrs-label{position:absolute;top:14px;left:14px;background:#eef8f0;color:#169343;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:850}
.fbrs-compare{position:absolute;top:12px;right:12px;border:0;background:rgba(255,255,255,.96);color:#53606c;height:38px;padding:0 13px;border-radius:999px;font-size:12px;font-weight:750;box-shadow:0 5px 16px rgba(15,23,42,.08);cursor:pointer}
.fbrs-loading-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;background:rgba(18,23,29,.52);backdrop-filter:blur(1.5px);color:#fff;font-weight:800}
.fbrs-spinner{width:44px;height:44px;border:4px solid rgba(255,255,255,.24);border-top-color:#fff;border-radius:50%;animation:fbrsSpin .8s linear infinite}
@keyframes fbrsSpin{to{transform:rotate(360deg)}}

.fbrs-side-panel{background:#fff;border:1px solid #e6e9ec;border-radius:22px;overflow:hidden;box-shadow:0 16px 38px rgba(15,23,42,.065)}
.fbrs-panel-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:10px;border-bottom:1px solid #edf0f2}
.fbrs-panel-tabs button,.fbrs-mobile-nav button,.fbrs-subtabs button{border:0;background:#f3f5f6;color:#5e6b78;border-radius:11px;min-height:40px;padding:0 8px;font-weight:750;cursor:pointer}
.fbrs-panel-tabs button.active,.fbrs-mobile-nav button.active,.fbrs-subtabs button.active{background:#eef5ff;color:#176cc8;box-shadow:inset 0 0 0 1.5px #2a80ed}
.fbrs-panel-body{display:none;padding:15px}
.fbrs-panel-body.active{display:block}
.fbrs-subtabs{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:14px}
.fbrs-subtabs button{min-height:36px}
.fbrs-field-label{display:block;margin:12px 0 6px;font-size:13px;font-weight:750;color:#55626e}
.fbrs-helper{margin:0;color:#687582;font-size:13px;font-weight:650}
.fbrs-side-panel input[type=color],.fbrs-side-panel select{width:100%;min-height:42px;border:1px solid #dde3e6;border-radius:11px;background:#fff;padding:0 10px}
.fbrs-side-panel input[type=range]{width:100%;appearance:none;height:5px;border-radius:999px;background:#dce2e6;outline:none;accent-color:#1678e8}
.fbrs-side-panel input[type=range]::-webkit-slider-thumb{appearance:none;width:21px;height:21px;border-radius:50%;background:#1678e8;border:3px solid #fff;box-shadow:0 2px 8px rgba(15,23,42,.18);cursor:pointer}
.fbrs-photo-upload{display:flex;align-items:center;justify-content:center;min-height:44px;border:1px dashed #ccd6db;border-radius:11px;font-weight:750;color:#506474;cursor:pointer}
.fbrs-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:42px;font-size:13px;font-weight:750;color:#4c5b68}
.fbrs-toggle-row input{width:18px;height:18px;accent-color:#1678e8}
.fbrs-mobile-nav{display:none}

@media(max-width:900px){
  .fbrs-card{padding:16px 10px 78px;border-radius:18px}
  .fbrs-toolbar-top{display:none}
  .fbrs-editor-grid{display:flex;flex-direction:column;max-width:520px;margin:0 auto;gap:12px}
  .fbrs-canvas-wrap{width:100%;border-radius:18px}
  #fbrs-canvas{max-height:none}
  .fbrs-side-panel{width:100%;border-radius:18px;box-shadow:none}
  .fbrs-panel-tabs{display:none}
  .fbrs-mobile-nav{position:fixed;z-index:50;left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;background:rgba(255,255,255,.97);backdrop-filter:blur(15px);padding:7px;border:1px solid #e5e8eb;border-radius:17px;box-shadow:0 12px 34px rgba(15,23,42,.12)}
  .fbrs-mobile-nav button{min-width:0;height:48px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 5px}
}
@media(max-width:640px){
  .fbrs-card{margin:8px auto;padding:24px 12px 78px}
  .fbrs-title{font-size:47px!important}
  .fbrs-subtitle{font-size:16px}
  .fbrs-dropzone{min-height:190px;padding:22px 14px}
  .fbrs-upload-btn{height:56px}
  .fbrs-editor-grid{width:100%}
  .fbrs-canvas-wrap{border-radius:15px}
  .fbrs-label{top:9px;left:9px}
  .fbrs-compare{top:8px;right:8px}
}

/* 1.6 Premium Turkish UI — scoped to shortcode to protect WordPress theme */
.fbrs-shell{--fbrs-ink:#182230;--fbrs-muted:#64748b;--fbrs-line:#e8edf3;--fbrs-red:var(--fbrs-green);color:var(--fbrs-ink);width:100%;max-width:100%;isolation:isolate}
.fbrs-shell .fbrs-card{max-width:1180px;margin:20px auto 36px;padding:48px clamp(16px,4vw,56px) 46px;background:linear-gradient(150deg,#fff 12%,#fff9fa 100%);border:1px solid #f0e8ea;border-radius:22px;box-shadow:0 18px 64px rgba(20,30,50,.055)}
.fbrs-shell .fbrs-eyebrow{margin:2px 0 16px;letter-spacing:.16em;color:#d82841;font-size:11px;font-weight:850}
.fbrs-shell .fbrs-title{max-width:940px;margin:0 auto!important;font-size:clamp(29px,4.15vw,53px)!important;line-height:1.14!important;letter-spacing:-.037em!important;font-weight:800!important;color:#172235!important;overflow-wrap:break-word}
.fbrs-shell .fbrs-subtitle{max-width:770px;margin:19px auto 21px;font-size:clamp(15px,1.6vw,18px);line-height:1.75;font-weight:450;color:#586678}
.fbrs-shell .fbrs-badges{gap:10px;margin-bottom:30px}.fbrs-shell .fbrs-badges span{background:#fff;border-color:#e9edf2;color:#526073;padding:7px 13px;font-size:12px;font-weight:650}
.fbrs-shell .fbrs-tool-caption{color:#8893a4;font-size:11px;letter-spacing:.12em;font-weight:850;margin:0 auto 12px}.fbrs-shell .fbrs-tool-caption span{padding:0 5px;color:#e33245}
.fbrs-shell .fbrs-dropzone{max-width:680px;min-height:270px;gap:13px;background:#fff;border:2px dashed #e4cbd0;border-radius:19px;padding:30px 15px;box-shadow:0 10px 30px rgba(44,43,55,.035)}
.fbrs-shell .fbrs-dropzone:hover,.fbrs-shell .fbrs-dropzone.drag{border-color:#e33245;background:#fff9fa;transform:none}
.fbrs-shell .fbrs-upload-icon{display:grid;place-items:center;height:48px;width:48px;color:#e33245;border-radius:15px;background:#fff0f2;font-size:27px;font-weight:650;line-height:1}
.fbrs-shell .fbrs-upload-btn{height:56px;min-width:230px;gap:16px;padding:0 20px;background:var(--fbrs-red);border-radius:11px;color:white;font-size:16px;font-weight:760;box-shadow:0 10px 25px rgba(227,50,69,.19)}
.fbrs-shell .fbrs-upload-btn span{font-size:22px;font-weight:450}.fbrs-shell .fbrs-types span{font-size:10px;border-color:#e9edf2;color:#69778a;padding:5px 8px;border-radius:6px}
.fbrs-shell .fbrs-dropcopy{font-size:13px;font-weight:550;color:#7a8797}.fbrs-shell .fbrs-note{margin-top:18px;font-size:12px;color:#748295;font-weight:500;line-height:1.6}
.fbrs-shell .fbrs-editor{min-width:0}.fbrs-shell .fbrs-toolbar-top{width:100%;max-width:100%;border-radius:15px;box-shadow:0 7px 28px rgba(22,34,52,.05);flex-wrap:wrap;justify-content:center;margin-bottom:22px;padding:9px}
.fbrs-shell .fbrs-download-wrap,.fbrs-shell .fbrs-download-btn,.fbrs-shell .fbrs-download-select{background:var(--fbrs-red)}.fbrs-shell .fbrs-download-wrap{border-radius:10px}.fbrs-shell .fbrs-pill,.fbrs-shell .fbrs-light-btn{font-size:12px;padding:0 12px}
.fbrs-shell .fbrs-editor-grid{grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:20px;max-width:1060px;margin:0 auto;align-items:start}
.fbrs-shell .fbrs-canvas-wrap,.fbrs-shell .fbrs-side-panel{min-width:0;border-radius:17px;box-shadow:0 12px 34px rgba(22,34,52,.055)}
.fbrs-shell .fbrs-panel-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.fbrs-shell .fbrs-panel-tabs button{min-width:0;white-space:normal;font-size:12px}
.fbrs-shell .fbrs-panel-tabs button.active,.fbrs-shell .fbrs-mobile-nav button.active,.fbrs-shell .fbrs-subtabs button.active{background:#fff0f2;color:#c91e38;box-shadow:inset 0 0 0 1px #ec9ca7}
.fbrs-shell .fbrs-subtabs button{font-size:12px;min-height:37px}.fbrs-shell .fbrs-side-panel input[type=range]{accent-color:var(--fbrs-red)}.fbrs-shell .fbrs-side-panel input[type=range]::-webkit-slider-thumb{background:var(--fbrs-red)}
.fbrs-shell .fbrs-label{background:#fff1f3;color:#bb2740}.fbrs-shell .fbrs-side-panel .fbrs-panel-body{min-width:0}.fbrs-shell button:focus-visible,.fbrs-shell label:focus-within{outline:3px solid #f29aaa;outline-offset:2px}
@media(max-width:900px){.fbrs-shell .fbrs-card{margin:12px auto;padding:32px 18px 90px}.fbrs-shell .fbrs-editor-grid{display:flex;flex-direction:column;max-width:650px}.fbrs-shell .fbrs-canvas-wrap,.fbrs-shell .fbrs-side-panel{width:100%}.fbrs-shell .fbrs-mobile-nav{z-index:100}.fbrs-shell .fbrs-toolbar-top{display:flex;gap:8px;justify-content:center}.fbrs-shell .fbrs-mode-pills,.fbrs-shell .fbrs-actions-top{flex-wrap:wrap;justify-content:center}.fbrs-shell .fbrs-panel-tabs{display:none}}
@media(max-width:640px){.fbrs-shell .fbrs-card{padding:27px 12px 95px;border-radius:15px}.fbrs-shell .fbrs-title{font-size:clamp(27px,7vw,36px)!important;line-height:1.18!important}.fbrs-shell .fbrs-subtitle{font-size:14px;line-height:1.7;margin:16px auto 20px}.fbrs-shell .fbrs-dropzone{min-height:236px;padding:25px 12px}.fbrs-shell .fbrs-upload-btn{font-size:14px;min-width:0;height:52px}.fbrs-shell .fbrs-badges{gap:6px;margin-bottom:22px}.fbrs-shell .fbrs-badges span{font-size:10px;padding:6px 9px}.fbrs-shell .fbrs-tool-caption{font-size:9px}.fbrs-shell .fbrs-toolbar-top{padding:8px 3px}.fbrs-shell .fbrs-pill,.fbrs-shell .fbrs-light-btn{height:35px;font-size:11px;padding:0 8px}.fbrs-shell .fbrs-download-btn{font-size:12px;padding:0 11px}.fbrs-shell .fbrs-mobile-nav{left:5px;right:5px;gap:3px}.fbrs-shell .fbrs-mobile-nav button{font-size:10px;white-space:normal;line-height:1.2}.fbrs-shell .fbrs-compare{top:48px;right:9px}}
