#main .image-wrapper { text-align: center; }
#basearea { position: relative; display: inline-block; max-width: 100%; overflow: hidden; border: 0 !important; padding: 0 !important; margin: 0 !important; text-align: left; }
@media (min-width: 992px) {
  #basearea:not(.bk-canvas-ready) { visibility: hidden; }
}
#baseimage { display: block; max-width: 100%; height: auto; margin: 0 !important; user-select: none; -webkit-user-drag: none; }
.bk-canvas-ready #baseimage { display: none; }
.bk-lines-base-canvas, .bk-lines-effect-canvas { display: block; width: auto; max-width: 100%; height: auto; margin: 0; border: 0; user-select: none; }
.bk-lines-base-canvas { pointer-events: none; }
.bk-lines-effect-canvas { position: absolute; top: 0; left: 0; pointer-events: auto; touch-action: none; cursor: crosshair; }
.bk-lines-center-guide, .bk-lines-complete { margin-top: 5px; padding: 10px 12px; border-left: 4px solid #337ab7; background: #d9edf7; color: #245580; line-height: 1.5; text-align: left; }
.bk-lines-controls .form-group { margin: 0 0 8px; }
.bk-lines-controls button, .bk-lines-controls .help-block { width: 100%; }
.bk-range-stepper { display: flex; align-items: stretch; flex: 0 0 auto; }
.bk-range-stepper .bk-range-value { min-width: 64px; border-left: 1px solid #ccc; }
.bk-range-step-button { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; width: auto !important; padding: 0 10px; border: 0; border-left: 1px solid #ccc; background: #fff; color: #333; font-size: 18px; cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.bk-range-step-button:hover:not(:disabled), .bk-range-step-button:focus { background: #e6e6e6; }
.bk-range-step-button:disabled { color: #aaa; cursor: not-allowed; }
.bk-color-history-row { display: flex; align-items: stretch; margin-top: 6px; border: 1px solid #ccc; border-radius: 4px; background: #eee; }
.bk-color-history-label { display: flex; flex: 0 0 auto; align-items: center; padding: 6px 10px; border-right: 1px solid #ccc; color: #555; font-weight: 400; }
.bk-color-history { display: flex; flex: 1 1 auto; flex-wrap: wrap; gap: 8px; min-width: 0; padding: 6px 8px; }
.bk-lines-controls .bk-color-history-item { width: 34px; height: 34px; padding: 0; border: 2px solid #fff; border-radius: 4px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); cursor: pointer; }
.bk-lines-controls .bk-color-history-item.is-current { box-shadow: 0 0 0 2px #337ab7; }
.bk-lines-view-setting { padding: 0; margin-bottom: 0; border: 0; border-radius: 0; background: transparent; }
.bk-lines-view-setting .bk-output-format { margin-bottom: 10px; }
@media (max-width: 991px) {
  .bk-lines-other-settings-title, .bk-lines-view-setting { display: none; }
}
@media (max-width: 480px) {
  .bk-range-row { grid-template-columns: auto minmax(0, 1fr) auto; }
  .bk-range-label { padding-right: 6px; padding-left: 6px; }
  .bk-range-input { min-width: 0; }
  .bk-range-step-button { padding: 0 8px; }
  .bk-range-stepper .bk-range-value { min-width: 48px; padding-right: 5px; padding-left: 5px; }
}
